# MCP tool reference

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.

Availability

These tools are listed and callable only while MCP access is open for the calling API key. MCP access is closed today for every workspace. See [Availability today](https://centerofagentic.com/docs/mcp#availability) and [Controlling MCP access](https://centerofagentic.com/docs/mcp/client-grants).

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

| Tool | Returns | REST equivalent |
| --- | --- | --- |
| `coa_agents_list_v1` | A page of agents, most recently changed first. | `GET /api/agents` |
| `coa_agents_get_v1` | One agent by id. | `GET /api/agents/{id}` |
| `coa_dashboard_summary_v1` | Agent counts by status and run totals. | `GET /api/dashboard` |
| `coa_receipts_list_v1` | A page of run receipts, newest first, with optional filters. | `GET /api/receipts` |
| `coa_receipts_get_v1` | One run receipt by id. | `GET /api/receipts/{id}` |
| `coa_docs_read_v1` | One 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](https://centerofagentic.com/docs/api/agents), [receipts](https://centerofagentic.com/docs/api/receipts) and, for the dashboard, [monitoring](https://centerofagentic.com/docs/api/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.

| Tool | Field | Type | Description |
| --- | --- | --- | --- |
| `coa_agents_list_v1` | `limit` | integer, 1 to 50 | Page size. Default 25. |
| `coa_agents_list_v1` | `cursor` | string | The `nextCursor` of the previous page. |
| `coa_agents_get_v1` | `agentId` | string, required, at most 64 characters | The agent id. |
| `coa_dashboard_summary_v1` | none | n/a | Takes no arguments. |
| `coa_receipts_list_v1` | `limit`, `cursor` | as above | Page size and position. |
| `coa_receipts_list_v1` | `agentId` | uuid | Only receipts of this agent. |
| `coa_receipts_list_v1` | `decision` | `allow` or `deny` | Only receipts with this policy decision. |
| `coa_receipts_list_v1` | `placement` | string | Only 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_v1` | `dataClass` | string | Only receipts with a step of this data class: `public`, `internal`, `confidential`, `restricted` or `secrets`. |
| `coa_receipts_list_v1` | `obligation` | string | Only receipts that carry this obligation: `pending_approval`, `redaction` or `logging`. |
| `coa_receipts_get_v1` | `receiptId` | string, required, at most 64 characters | The 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.

| Tool | structuredContent |
| --- | --- |
| `coa_agents_list_v1` | `items` (agents), `nextCursor` (string or `null`), `truncated` (boolean). |
| `coa_agents_get_v1` | `agent` (an agent, or `null`). |
| `coa_dashboard_summary_v1` | `agents.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_v1` | `items` (receipts), `nextCursor`, `truncated`. |
| `coa_receipts_get_v1` | `receipt` (a receipt, or `null`). |

### Agent fields

| Field | Type | Meaning |
| --- | --- | --- |
| `id` | uuid | Agent id. |
| `name` | string | Display name, clipped to 200 characters. |
| `status` | string | Lifecycle status, for example `draft` or `published`. |
| `authority` | string | The agent's authority level, for example `recommend`. |
| `runtimeMode` | string | `cloud_only`, `local_preferred`, `local_only` or `hybrid`. |
| `model` | string or `null` | The pinned model id, if any. |
| `modelCompatibility` | string | `live_chat`, `batch_only` or `unpinned`. |
| `grantLifecycle` | string | `managed` when the agent runs only from a reviewed, activated version, otherwise `legacy_unadopted`. |
| `activeGrantState` | string or `null` | For an agent under managed activation: `available`, `paused`, `revoked`, or `not_active` when it has no active version. Otherwise `null`. |
| `version` | string | The agent's version label. |
| `updatedAt` | string | Time of the last change. |

### Receipt fields

| Field | Type | Meaning |
| --- | --- | --- |
| `id` | uuid | Receipt id. |
| `agentId`, `agentName` | string or `null` | The agent that ran. |
| `createdAt` | string | When the run was recorded. |
| `model`, `runtimeMode` | string or `null` | The model and runtime mode used. |
| `decision` | `allow` or `deny` | The policy decision for the run. |
| `reasonCode` | string or `null` | The decision's reason code, or the first failed policy check. |
| `placements` | string[] | The placements recorded for the run. |
| `guardrailsPassed` | boolean or `null` | Whether the run passed its guardrails. |
| `latencyMs` | number or `null` | Run duration in milliseconds. |
| `rawUploaded` | boolean | Whether 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

```bash
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": {}
      }
    }
  }'
```

```json
{
  "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:

```json
{
  "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.

| Kind | How it is returned | Causes |
| --- | --- | --- |
| Product refusal | HTTP `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 error | A 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](https://centerofagentic.com/docs/mcp) lists the rest. |

```json
{
  "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.

```json
{
  "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

- [**Controlling MCP access** The workspace switch and the per-key grants.](https://centerofagentic.com/docs/mcp/client-grants)

- [**Receipts over REST** The same data with an API key, available today.](https://centerofagentic.com/docs/api/receipts)

- [**Availability** What the REST API and the MCP server reach today.](https://centerofagentic.com/docs/surfaces)

Source: https://centerofagentic.com/docs/mcp/tools

## Related pages

- [Availability today](https://centerofagentic.com/docs/mcp#availability)
- [Controlling MCP access](https://centerofagentic.com/docs/mcp/client-grants)
- [agents](https://centerofagentic.com/docs/api/agents)
- [receipts](https://centerofagentic.com/docs/api/receipts)
- [monitoring](https://centerofagentic.com/docs/api/monitoring)
- [overview](https://centerofagentic.com/docs/mcp)
- [Controlling MCP access The workspace switch and the per-key grants.](https://centerofagentic.com/docs/mcp/client-grants)
- [Receipts over REST The same data with an API key, available today.](https://centerofagentic.com/docs/api/receipts)
- [Availability What the REST API and the MCP server reach today.](https://centerofagentic.com/docs/surfaces)
