MCP
Actions (list_actions / call_action)
Let an agent change data safely through the REST pipeline.
The two action tools give an agent the reach of the REST API without a second set of rules.
list_actions
Lists every console action the credential may call. The compact list carries, per action, its name
(METHOD /route), a one-line summary, the capabilities that admit it, whether it has a body, and
moneyWrite (an idempotency key is mandatory):
{ "module": "inventory", "search": "transfer", "includeReads": false }
Pass action — exactly as listed — to get one action in full before calling it:
{ "action": "POST /api/v1/console/pos/orders" }
The detail adds the full description, the route and query parameters, and the body's fields. Each
field has a type, required, a description, a default when it has one, and its own fields when
it is an object or a list of objects (for a sale: lines[].productId, lines[].quantity, …). Fields
the device outbox uses internally are never listed.
All parameters are optional. Actions closed to machines — sign-in and auth flows, minting keys and OAuth clients, changing the team and its roles, the vendor platform — are never listed.
call_action
{
"method": "POST",
"path": "/api/v1/console/central-kitchen/transfers",
"body": { "sourceLocationId": "…", "destLocationId": "…", "lines": [] },
"idempotencyKey": "7f3c2a9e-1b4d-4c1e-9a53-0e2b6d1f8a44"
}
pathis a concrete console path, starting/api/v1/console/, with ids filled in and an optional?query.bodyis the JSON object for POST, PUT and PATCH.idempotencyKey— a fresh value for each write, required onmoneyWriteactions. Reuse it only to retry the identical request: the retry returns the first result without doing it again. The same key on a different request is refused (422,IDEMPOTENCY_KEY_REUSED); a retry while the first is still running is refused (409,IDEMPOTENCY_IN_FLIGHT— wait, then retry with the same key).
The result is { "status": 201, "ok": true, "response": { … } }, where response is the action's
normal { success, data, message, code, errors } envelope (see Responses & Errors). A
refusal comes back with ok: false and the tool marked as an error.
What still applies
call_action runs in-process through the application's own pipeline, as the calling credential,
with its real address:
- scope AND role capability, the plan's features, and
[SessionOnly]refusals; - the key's IP and origin allow-lists; the call counts once against the key's rate limit and quota;
- validation, separation of duties and period locks;
- idempotency and the audit chain — every write is audited and emits its webhook event like any other change.
The MCP request counts once against the key's rate limit and quota; the action it dispatches is not counted a second time.
What list_actions offers
- Only actions the credential's scopes and role allow.
- Only modules the organisation's plan includes, and not features the Panoptes team has switched off (for example the Meta channels): such an action would be refused 403, so it is not listed.
- No multipart uploads (inbox media, voice notes, images): they cannot travel in a JSON
body. Use the REST endpoint for those. A download comes back as text, so fetch files over REST as well.
Keeping an agent safe
- Give the key only the module presets it needs. A key reads payroll, the books, the audit log or the
inbox through MCP only when its own scopes name
cap:view_hr,cap:view_gl,cap:view_auditorcap:view_inbox. - The tool is annotated destructive, and the server tells the model to confirm money and stock
movements with the user before calling it. Keep your client's tool-approval prompt on for
call_action. - Review the agent's changes in the audit log like any other user's.