Unexpected 'tools' field in MCP sampling capabilities
Cluster 5468 · mcp. Data as of
3 open items. Fix merged in #131891 on 5 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 7 related items grouped here, 2 issues already closed.
- Fix event
- A fix was merged to main in PR #131891. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
partially resolved, deciding PR #131891. That is separate from the fix event. - Still open
- 1 issue and 2 PRs.
Next step: read #131891, then check whether your report is the one still open.
Read #131891Pick up a Lab taskMultiple reports and fixes relate to an unexpected 'tools' field being serialized into the MCP client handshake's sampling capabilities, causing strict servers to reject the connection. Proposed fixes involve making the field opt-in or removing it from the default serialization.
Open issues1
- Issue#47963Zoho Calendar MCP Connection Fails with "Unrecognized field 'tools'" During Initialization
Open PRs2
Fixes on record
-
#131891 fix(mcp): make sampling.tools capability opt-in via expose_client_tools [risk 0.30]
files:
cli-config.yaml.example,skills/autonomous-ai-agents/hermes-agent/references/native-mcp.md,tests/tools/test_mcp_tool.py,tools/mcp_tool_sampling.py
1 PR closed without merging
From the close comments: other 1
-
#55522 fix(mcp): remove empty SamplingToolsCapability from client handshake · other →
#18209,#5468
Closed issues · 2
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.24: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- mcp
- Merged PRs
- #131891
- Closed issues
- 2
- Attempts
- 1 PR closed without merging
- Fix link checked
- 5 Oct 2026