Skip to content
Docs

MCP tools and schemas

The MCP server: protocol, methods, generated tools, input schemas and results.

01Server

PropertyValue
URLhttps://api.arcintell.org/mcp
TransportRemote HTTP (“streamable HTTP”). JSON-RPC 2.0 over POST. GET returns 405: there is no server-initiated stream.
SessionsNone. The server is stateless; every message carries the agent credential.
AuthenticationAuthorization: Bearer arc.<key_id>.<secret> on every request.
Protocol versions2025-06-18, 2025-03-26, 2024-11-05. Other requested versions are answered with 2025-06-18.
Methodsinitialize, ping, tools/list, tools/call. Notifications are accepted with 202.
Server infoarc-intelligence, title “Arc Intelligence”. Capabilities: tools, with no list-change notifications.

02Which tools an agent sees

tools/list returns one tool for every active action definition whose action is in a grant that is in effect for this agent right now, sorted by action key, plus arc_action_status. A disabled agent, or one with no grant in effect, sees only arc_action_status. The list is computed on every call, so a new grant or a revocation shows up on the next tools/list.

Tool names come from action keys:

  • Every character other than letters, digits, _ and - becomes _: refund:create → refund_create.
  • Names are cut to 56 characters.
  • If two keys would give the same name, or a name would be arc_action_status, Arc appends _ and six characters of a hash of the key.
  • Each tool’s title is the action key, and its description is the definition’s description.

03Tool input schema

  • on_behalf_of, resource_id and purpose are always required.
  • request_id is optional, but send it: it is what makes a retry safe. Without it Arc generates a new id on every call.
  • amount (a decimal string, up to 4 decimal places) and currency are required when the action carries an amount.
  • parameters follows the definition’s typed parameters, and is required if any parameter is.
  • No other arguments are accepted.
JSON
{  "name": "refund_create",  "title": "refund:create",  "description": "Refund part or all of a customer's payment.",  "inputSchema": {    "type": "object",    "additionalProperties": false,    "required": ["on_behalf_of", "resource_id", "purpose", "amount", "currency", "parameters"],    "properties": {      "on_behalf_of": {        "type": "object",        "properties": {          "kind": { "type": "string", "enum": ["organisation", "employee", "customer"] },          "id": { "type": "string" }        }      },      "resource_id": { "type": "string" },      "purpose": { "type": "string" },      "request_id": { "type": "string" },      "amount": { "type": "string", "pattern": "^\\d+(\\.\\d{1,4})?$" },      "currency": { "type": "string", "pattern": "^[A-Z]{3}$" },      "parameters": {        "type": "object",        "additionalProperties": false,        "required": ["reason"],        "properties": {          "reason": { "type": "string", "enum": ["duplicate", "requested_by_customer"] },          "note": { "type": "string", "maxLength": 500 }        }      }    }  }}

Example

04Calling a tool

{  "jsonrpc": "2.0",  "id": 7,  "method": "tools/call",  "params": {    "name": "refund_create",    "arguments": {      "request_id": "refund-ticket-77",      "on_behalf_of": { "kind": "customer", "id": "cus_8812" },      "resource_id": "pay_3141",      "purpose": "Refund a duplicate charge",      "amount": "42.50",      "currency": "USD",      "parameters": { "reason": "duplicate" }    }  }}

Example

  • content is a one-line summary for the model. structuredContent is the full action, the same object POST /v1/actions returns.
  • isError is true when the action is refused, failed, rejected or expired.
  • Invalid arguments and parameters come back as a tool result with isError: true and the reason, not as a protocol error, so the model can correct itself.

05arc_action_status

Takes { "action_id": "…" } and returns the agent’s own action, in the same shape. Use it to follow an action that is held for approval. An unknown id, or another agent’s action, returns a tool error: “No action with that id.”

06Protocol errors

CodeMeaning
-32700Parse error: the body is not JSON (HTTP 400).
-32600Invalid request: jsonrpc must be "2.0" and method a string (HTTP 400).
-32601Method not found.
-32602Unknown tool.
HTTP 401Missing or invalid credential.