mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-05 06:03:51 +01:00
A remote MCP server answers JSON-RPC -32602 when the arguments are invalid and also when the tool was removed. When screening withholds the provider's text, the agent got only "Remote MCP server returned an error" and could not tell a bad argument from a stale catalog entry. For -32602 on tools/call, the gateway now says what to check and asks for a catalog refresh by the connection manager. The provider text is still screened and still appended only when it passes screening. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>