Tool calls
A refused or failed tool call comes back as a normal MCP tool result markedisError: true, with the reason as its text — the form MCP uses for errors the
model should see. The code itself is not part of the result; the message says
which case it is:
Other requests
Any other request Steerholm refuses — for example listing tools for an agent that has no usable identity — returns a JSON-RPC error with the code, and the name indata.error_type:
Behavior
AUTHORIZATION_DENIED
Returned when:- The agent calls a tool not in its policy
- The agent calls a tool with arguments that violate an argument policy
- The agent calls a tool that no server it has access to provides
denied, with the
reason.
SERVER_UNAVAILABLE
Returned when the MCP server process is not running, has stopped answering, or cannot be reached — including when the tool is not found on the servers that did answer but a server the agent may use did not. The agent may retry — the daemon restarts failed servers, so the server may be back shortly. These are in the audit log aserror, not denied.