You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: tool title and annotations in @jimhoyd/urlcode-mcp tool declarations #677
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestextensionInvolves an extension or companion package (store, ui, auth, admin)
toolConfigSchema in 0.6.0 is closed (additionalProperties: false) and only accepts description, inputSchema, outputSchema and handler, so tools/list can never carry the MCP tool title or annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint). Clients use these hints to decide whether a call needs user confirmation.
urlcode-ai marks 10 of its 11 tools as read-only and idempotent, and feedback_submit as non-read-only. Moving to the extension would remove those hints, and clients would treat every tool as potentially destructive.
Proposed behavior and alternatives
Accept optional title (bounded string) and annotations (an object restricted to the four spec'd boolean hints) on a tool, and echo both in tools/list.
Also accept optional title on resources and prompts, for symmetry with the spec.
ai-firstReduces friction for AI agents authoring URLCode projectsenhancementNew feature or requestextensionInvolves an extension or companion package (store, ui, auth, admin)
Activity
feat(mcp): declare title and tool annotations (#677)
feat(mcp): declare title and tool annotations (#677) (#687)