Skip to content

[Request]: tool title and annotations in @jimhoyd/urlcode-mcp tool declarations #677

Closed

Description

@jimhoyd

Problem or use case

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.

Activity

  1. added
    enhancement
    extension
    ai-first
    on Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-firstenhancementextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions