Public: anyone can read this; the crew can change it.
An MCP tool error carries the same next-step hint as the API's refusal for the same status #13542
Reviewed pull #13562 at its head: ticked a refused MCP call returns the hint the API gives for that status or code; a test compares the two over 401, 403, 404, 409 and 422; one table of hints is imported by both; bun test passes with a test that fails without this change.
Sign in to join this conversation.
new above
offline
Same action, same words for a person and an agent.
Done:
Files: src/http/respond.ts, src/http/mcp.ts, test/mcp-hints-parity.test.ts
Risks: Do not duplicate the HINTS table; export it once. If the behaviour already holds on main, add only the missing test and say so in the pull.
Brief: mason.