Skip to content

docs(agent-identity): say which gateway answers mean a call never ran - #2804

Merged
ChrisJBurns merged 2 commits into
mainfrom
docs/agent-identity-refused-before-running
Nov 16, 2026
Merged

ChrisJBurns merged 2 commits into
mainfrom
docs/agent-identity-refused-before-running

Conversation

@ChrisJBurns

@ChrisJBurns ChrisJBurns commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Clarifies step (9) for #2536 (the MCP client sends gateway calls), and for #2728/#2540 (external gateways).

The failure table already lists the answers that refuse a call before the vMCP runs it: 401 invalid_token (check 1), 404 for the session (check 2), and the URL-mode elicitation as the MCP error -32042 (check 6, no connection); an elicitation request during an open call does not count. It did not say that these are the only "not sent" answers, or that external gateways must use them too. This adds one paragraph:

  • those three answers, in reply to the call's own request, mean the call was not sent;
  • every gateway, embedded or external, answers these cases this way;
  • any other answer, or none, after the request was written leaves the outcome unknown (as "Pauses and restart" already says).

No change to any rule; it states, in one place, the contract the MCP client relies on.

API compatibility

Design documentation only.

Step (9)'s failure table already lists the 401, the session 404, and the
URL-mode elicitation; state that every gateway answers these cases this
way, so the MCP client treats the call as not sent, and that any other
answer after the request was written leaves the outcome unknown.

Co-authored-by: Mecatl <[email protected]>
…ever ran

An elicitation request during an open call can come from a tool that is
already running, so it does not make the call not sent.

Co-authored-by: Mecatl <[email protected]>
@ChrisJBurns
ChrisJBurns merged commit 3be09af into main Nov 16, 2026
37 checks passed
@ChrisJBurns
ChrisJBurns deleted the docs/agent-identity-refused-before-running branch November 16, 2026 17:26
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Nov 18, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants