Skip to content
Documentation menu

MCP tool reference

Gated

The read-only metadata and documentation tools of the platform MCP server: inputs, outputs, paging, REST equivalents, and how refusals and errors are returned.

Status: Gated. Shipped, but closed until a switch described on this page is turned on.

The platform MCP server registers five workspace metadata tools and one fixed documentation reader. Every metadata read stays in the key’s workspace. The optional reader returns only the reviewed product-help or metadata-schema resource; no private content, model call or domain mutation. Names retain their version suffix, _v1.

Metadata and documentation tools

ToolReturnsREST equivalent
coa_agents_list_v1A page of agents, most recently changed first.GET /api/agents
coa_agents_get_v1One agent by id.GET /api/agents/{id}
coa_dashboard_summary_v1Agent counts by status and run totals.GET /api/dashboard
coa_receipts_list_v1A page of run receipts, newest first, with optional filters.GET /api/receipts
coa_receipts_get_v1One run receipt by id.GET /api/receipts/{id}
coa_docs_read_v1One fixed product-help or metadata-schema resource; requires fresh help consent.No dedicated REST twin; product documentation is at /docs.

The five workspace metadata tools read the same records as their REST equivalents but return narrower, fixed fields. The REST responses carry more; see agents, receipts and, for the dashboard, monitoring.

Input fields

coa_docs_read_v1 takes exactly { uri }, with uri equal to coa://docs/product-help/v1 or coa://schemas/metadata/v1. It returns the same contents array as resources/read. Unknown fields, private/foreign URIs and unsupported versions are refused.

Arguments go in params.arguments as a JSON object. Unknown fields are refused. Where no field is required, send {} or leave arguments out.

ToolFieldTypeDescription
coa_agents_list_v1limitinteger, 1 to 50Page size. Default 25.
coa_agents_list_v1cursorstringThe nextCursor of the previous page.
coa_agents_get_v1agentIdstring, required, at most 64 charactersThe agent id.
coa_dashboard_summary_v1nonen/aTakes no arguments.
coa_receipts_list_v1limit, cursoras abovePage size and position.
coa_receipts_list_v1agentIduuidOnly receipts of this agent.
coa_receipts_list_v1decisionallow or denyOnly receipts with this policy decision.
coa_receipts_list_v1placementstringOnly receipts that record this placement: local, cloud_model, cloud_connector, cloud_connector_write, local_sandbox, cloud_sandbox, local_capture or external_mcp_host.
coa_receipts_list_v1dataClassstringOnly receipts with a step of this data class: public, internal, confidential, restricted or secrets.
coa_receipts_list_v1obligationstringOnly receipts that carry this obligation: pending_approval, redaction or logging.
coa_receipts_get_v1receiptIdstring, required, at most 64 charactersThe receipt id.

GET /api/receipts has four more filters that are not offered over MCP: q (free-text search), user, reasonCode and connector.

Output fields

The result is in structuredContent. The same JSON is repeated as a string in content[0].text for clients that read only text.

ToolstructuredContent
coa_agents_list_v1items (agents), nextCursor (string or null), truncated (boolean).
coa_agents_get_v1agent (an agent, or null).
coa_dashboard_summary_v1agents.total, agents.byStatus (a count per status), runs.total, runs.last7d, runs.avgLatencyMs (number or null), runs.guardrailPassRate (0 to 1, or null when there are no runs).
coa_receipts_list_v1items (receipts), nextCursor, truncated.
coa_receipts_get_v1receipt (a receipt, or null).

Agent fields

FieldTypeMeaning
iduuidAgent id.
namestringDisplay name, clipped to 200 characters.
statusstringLifecycle status, for example draft or published.
authoritystringThe agent's authority level, for example recommend.
runtimeModestringcloud_only, local_preferred, local_only or hybrid.
modelstring or nullThe pinned model id, if any.
modelCompatibilitystringlive_chat, batch_only or unpinned.
grantLifecyclestringmanaged when the agent runs only from a reviewed, activated version, otherwise legacy_unadopted.
activeGrantStatestring or nullFor an agent under managed activation: available, paused, revoked, or not_active when it has no active version. Otherwise null.
versionstringThe agent's version label.
updatedAtstringTime of the last change.

Receipt fields

FieldTypeMeaning
iduuidReceipt id.
agentId, agentNamestring or nullThe agent that ran.
createdAtstringWhen the run was recorded.
model, runtimeModestring or nullThe model and runtime mode used.
decisionallow or denyThe policy decision for the run.
reasonCodestring or nullThe decision's reason code, or the first failed policy check.
placementsstring[]The placements recorded for the run.
guardrailsPassedboolean or nullWhether the run passed its guardrails.
latencyMsnumber or nullRun duration in milliseconds.
rawUploadedbooleanWhether the receipt records a raw document upload.

Paging and cursors

  • List tools return at most 50 items a page, 25 by default, ordered by time and then id, newest first.
  • When more items exist, truncated is true and nextCursor is set. Send it back as cursor, with the same filters, to get the next page. On the last page nextCursor is null.
  • A cursor is opaque and signed. It is bound to the workspace, the API key, the tool and the filter values it was issued for. With another key, another tool, a changed filter or an edited value, the call fails with JSON-RPC error -32602.
  • A cursor is a position, not a permission. Every page re-checks the key's grant.

What is never returned

The output field lists are closed. Whatever the key's scope, no tool returns:

  • prompts or model outputs;
  • agent descriptions, instructions or other free text beyond the name;
  • tool call logs, run steps or detailed policy results;
  • costs or token counts;
  • user ids or connection ids;
  • credentials of any kind.

An unknown id, an id from another workspace and a malformed id all get the same answer: agent or receipt is null. Only an id longer than 64 characters differs: it fails the input schema with -32602.

Example: tools/call

Request
curl -sS https://centerofagentic.com/api/mcp \
  -H "Authorization: Bearer $COA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2026-07-28" \
  -H "Mcp-Method: tools/call" \
  -H "Mcp-Name: coa_agents_list_v1" \
  -d '{
    "jsonrpc": "2.0",
    "id": 2,
    "method": "tools/call",
    "params": {
      "name": "coa_agents_list_v1",
      "arguments": { "limit": 1 },
      "_meta": {
        "io.modelcontextprotocol/protocolVersion": "2026-07-28",
        "io.modelcontextprotocol/clientCapabilities": {}
      }
    }
  }'
Response
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"items\":[{\"id\":\"3f1c2a9e-0b7d-4e55-9a51-6f2f1c0e8d11\",\"name\":\"Renewal brief writer\",\"status\":\"published\",\"authority\":\"recommend\",\"runtimeMode\":\"hybrid\",\"model\":null,\"modelCompatibility\":\"unpinned\",\"grantLifecycle\":\"managed\",\"activeGrantState\":\"available\",\"version\":\"1.0.0\",\"updatedAt\":\"2026-11-20T10:00:00.000Z\"}],\"nextCursor\":\"m1.eyJleGFtcGxlIjoiY3Vyc29yIn0.c3ludGhldGljLXNpZ25hdHVyZQ\",\"truncated\":true}"
      }
    ],
    "structuredContent": {
      "items": [
        {
          "id": "3f1c2a9e-0b7d-4e55-9a51-6f2f1c0e8d11",
          "name": "Renewal brief writer",
          "status": "published",
          "authority": "recommend",
          "runtimeMode": "hybrid",
          "model": null,
          "modelCompatibility": "unpinned",
          "grantLifecycle": "managed",
          "activeGrantState": "available",
          "version": "1.0.0",
          "updatedAt": "2026-11-20T10:00:00.000Z"
        }
      ],
      "nextCursor": "m1.eyJleGFtcGxlIjoiY3Vyc29yIn0.c3ludGhldGljLXNpZ25hdHVyZQ",
      "truncated": true
    },
    "isError": false,
    "resultType": "complete",
    "_meta": {
      "io.modelcontextprotocol/serverInfo": {
        "name": "center-of-agentic",
        "title": "Center of Agentic",
        "version": "1.0.0"
      }
    }
  }
}

In tools/list, each tool is described like this:

One tool descriptor
{
  "name": "coa_agents_get_v1",
  "title": "Read one agent",
  "description": "Read one agent's metadata by id. Unknown, foreign and malformed ids all return { agent: null }. Read-only: no model, connector or paid call and no change to any record.",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": { "agentId": { "type": "string", "maxLength": 64 } },
    "required": ["agentId"],
    "additionalProperties": false
  },
  "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  }
}

Refusals and errors

A tools/call can fail in two different ways, and a client should handle both.

KindHow it is returnedCauses
Product refusalHTTP 200 with a normal result whose isError is true. structuredContent holds error, message and retryable.host_grant_required: MCP access is not open for this credential. forbidden: the credential may not perform this read. unavailable: the tool could not produce a valid result.
Protocol errorA JSON-RPC error with a numeric code and no result.-32602: unknown tool, arguments that fail the input schema, or an unusable cursor. -32000 with HTTP 429: rate limited. The overview lists the rest.
A refused call: the default while access is closed
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"error\":\"host_grant_required\",\"message\":\"This MCP client has no current grant for this operation. A tenant admin grants API keys under Settings → API access → MCP clients; platform access also needs the operator gate.\",\"retryable\":false}"
      }
    ],
    "structuredContent": {
      "error": "host_grant_required",
      "message": "This MCP client has no current grant for this operation. A tenant admin grants API keys under Settings → API access → MCP clients; platform access also needs the operator gate.",
      "retryable": false
    },
    "isError": true,
    "resultType": "complete",
    "_meta": {
      "io.modelcontextprotocol/serverInfo": {
        "name": "center-of-agentic",
        "title": "Center of Agentic",
        "version": "1.0.0"
      }
    }
  }
}

Branch on error, not on message. The message is written for people, can change, and uses internal names: tenant for workspace and operator gate for the platform-wide switch that Center of Agentic controls.

A protocol error: unknown tool
{
  "jsonrpc": "2.0",
  "id": 2,
  "error": {
    "code": -32602,
    "message": "Invalid params: unknown tool coa_example_v1"
  }
}

No tool asks follow-up questions. A call that carries inputResponses or requestState is refused with -32602; send a plain call instead.

Next steps

Something missing or unclear? Tell us and we will improve this page.