Skip to content

Reconsider ambiguous implementation note regarding missing inputSchema in MCP headers #2974

Closed

Description

@pcarleton

What's broken?

The spec is ambiguous or self-contradictory

Where in the spec or docs?

https://modelcontextprotocol.io/specification/draft/basic/transports/streamable-http#custom-headers-from-tool-parameters

What should happen?

We should evaluate removing the current implementation note regarding the handling of mcp-param headers when the inputSchema is not available. (the one edited in #2972)

The current language suggests a scenario where a client might make a tool call without having retrieved the inputSchema, which is unclear and likely represents an invalid state that shouldn't be explicitly handled in this manner. It is generally expected that clients will have fetched the tools/list information prior to executing calls.

Proposed Action:

Delete the implementation note regarding the inputSchema condition entirely.

Although we need to make sure we do explain that if you get rejected, you should tools/list to get the schema for custom header info, and then retry.

What actually happens?

...

Anything else?

No response

Activity

  1. piyushbag commented on Jun 28, 2026

    @piyushbag

    Planning a small docs follow-up for this issue: remove the inputSchema availability implementation note from the custom-header client guidance (per the proposed action here) and keep only the reject → tools/list → retry guidance. Will open a PR stacked on #2972 shortly.

  2. added a commit that references this issue on Jul 13, 2026
    eb0c4e0
  3. added a commit that references this issue on Aug 7, 2026
    b1e2bcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions