Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Reserve an extension member on tools and results, like MCP's `_meta`

Đang mở
#354 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
api

Hướng nghiên cứu

Start by reading the ModelContextTool and RegisteredTool definitions in the WebMCP specification, then review the linked discussions #9, #41, #73, #255, #271, and #282 for related decisions. The issue proposes a new extension point but leaves its name, size limits, and filtering behavior open; done would require resolving those design questions and updating the spec.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

MCP lets tools, results and requests carry extra data in a _meta member. Specs and products built on MCP have used it to try ideas without waiting for the core spec: links from a tool to a UI resource, tool visibility, short status strings while a tool runs, vendor extensions. WebMCP's ModelContextTool and ToolAnnotations are fixed sets of members, so an experiment has nowhere to go except new annotations in the core spec.

WebMCP is young and still being shaped by implementers in the origin trial. Experiments that need a field (a display string for a running tool, a pointer to a longer description, a grouping hint such as #255 or #271) currently need a spec change first, or end up in the description text where agents may read them as instructions. #41 already mentions deferring annotations and _meta on image results, so the question has come up. When an experiment works it can be promoted to a real member with real semantics, which MCP has done repeatedly.

What I'd propose is a reserved, optional member (name up for discussion) on ModelContextTool and RegisteredTool, and on results if they become typed (#9, #41, #282). User agents ignore it. Keys should be prefixed (reverse-DNS or a short vendor name) to avoid collisions, as MCP recommends for _meta. The data comes from the page, so agents should treat it as untrusted and shouldn't show it to a model unless they choose to; it's not a place for instructions. And it's carried to extensions and agents like the rest of the descriptor. No new behaviour and no new capabilities, only a place for data that the platform doesn't interpret.

Two open questions: whether size limits should apply (see #73 on input lengths), and whether exposedTo filtering applies to the whole descriptor, which I'd assume.

Ngôn ngữ chính
Bikeshed
Star
4.7k
Fork
328
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
15

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của webmachinelearning/webmcp

Tất cả issue của webmachinelearning/webmcp

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.