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
retrieve_tools can return bare tool ids that describe_tool/call_tool_* cannot use #871
retrieve_tools can return a bare tool name, while describe_tool and call_tool_read/write/destructive require the <server>:<tool> format. That makes the documented progressive-disclosure flow break for index entries that have ToolMetadata.Name as the short tool name and ToolMetadata.ServerName set separately.
Why this matters
The tool descriptions for call_tool_* say to use the exact name returned by retrieve_tools. describe_tool also says its tool_ids must come from retrieve_tools in <server>:<tool> form.
When retrieve_tools returns create_issue instead of github:create_issue, the agent follows the instructions but the next step fails with an invalid/not-found tool id.
Thanks @neylwalecki — solid report, this checks out. Repro'd on latest main (0aa3de4) with a stock server-everything upstream: compact mode returns {"id":"echo",...} with no server field at all, and feeding that id back gives describe_tool → not_found (with a remediation telling you to use exactly what retrieve_tools returned 😅) and call_tool_read → "Invalid tool name format". everything:echo works fine, so it's purely the returned identity.
One heads-up for your patch: if you canonicalize at the index read seam, watch the annotation/call_with lookup — buildFullToolEntry and the annotation-filter loop only strip the server: prefix when ServerName == "", so a newly-canonical name gets passed prefixed into lookupToolAnnotations (which matches against bare StateView names) → annotations silently drop and call_with regresses to the old #306 behavior. Those two sites need unconditional normalization.
PR very welcome 🙏 We're also prepping a fix branch with tests on our side — happy to reconcile with yours.
Activity
Dumbris commentedon Jul 21, 2026
Thanks @neylwalecki — solid report, this checks out. Repro'd on latest main (0aa3de4) with a stock
server-everythingupstream: compact mode returns{"id":"echo",...}with no server field at all, and feeding that id back givesdescribe_tool→not_found(with a remediation telling you to use exactly what retrieve_tools returned 😅) andcall_tool_read→ "Invalid tool name format".everything:echoworks fine, so it's purely the returned identity.One heads-up for your patch: if you canonicalize at the index read seam, watch the annotation/
call_withlookup —buildFullToolEntryand the annotation-filter loop only strip theserver:prefix whenServerName == "", so a newly-canonical name gets passed prefixed intolookupToolAnnotations(which matches against bare StateView names) → annotations silently drop andcall_withregresses to the old #306 behavior. Those two sites need unconditional normalization.PR very welcome 🙏 We're also prepping a fix branch with tests on our side — happy to reconcile with yours.
fix(httpapi): keep bare tool name in REST index search response (#871)
fix(server): canonicalize retrieve_tools identity to server:tool (#874)
neylwalecki commentedon Jul 21, 2026
Thanks @Dumbris — appreciate the quick confirmation and fix. We'll test from our side once this lands in a stable release.