Skip to main content
Steerholm refuses or fails a request for one of two reasons:

Tool calls

A refused or failed tool call comes back as a normal MCP tool result marked isError: 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 in data.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
The agent must not retry the same operation — the denial is authoritative. Every denial is in the audit log as 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 as error, not denied.