Skip to main content
Glama

Watch a held token

create_mandate

For a token you hold: $0.05 per 7 days over x402 (pay via the REST API or the stdio MCP server). Re-checks a token against the policy about every 30 minutes. Changes (decision, owner, implementation, mint/pause/blacklist, supply) are recorded as events you poll with mandate_events; optionally also POSTed to an https webhook. Every event carries a signed signal: exit, watch or hold. Returns an id and a secret: keep the secret.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>"
    },
    "name": "create_mandate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes
policyNoA preset name ("actuary-default-v2", "actuary-judged-v2", "no-clones-v1"; v1 presets still work) or a policy object. Default: actuary-default-v2. See gate_facts.
exit_onNoWhen the signal says exit: on DENY (default) or on REVIEW too.
webhook_urlNoOptional public https URL. Leave out to poll events instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / policy / description
      Previous value: -"A preset name (\"actuary-default-v1\", \"no-clones-v1\") or a policy object. Default: actuary-default-v1. See gate_facts."New value: +"A preset name (\"actuary-default-v2\", \"actuary-judged-v2\", \"no-clones-v1\"; v1 presets still work) or a policy object. Default: actuary-default-v2. See gate_facts."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only flag a non-read-only, open-world operation, and the description adds substantial detail: recurring charge and billing period, ~30-minute re-check cadence, the exact categories of recorded changes, the exit/watch/hold signed signal, webhook delivery, and the returned secret that must be kept. It does not describe failure modes or what cancelling does, but the behavioral picture is well above the annotation baseline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences that front-load the cost and cadence before the event/webhook mechanics. Dense but nearly every clause carries operational information, with only the parenthetical payment-method detail being marginally expendable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, stateful creation tool with no output schema, the description covers cost, cadence, event flow, webhook option, and the returned id/secret. The main omission is any mention of cancel_mandate or mandate_status to round out the lifecycle.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, so most parameter meaning is already documented, including the policy preset names, unknown handling, and webhook_url. The description only reinforces policy ('re-checks against the policy') and webhook delivery; it never explains exit_on, so it adds little beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description concretely states what happens: it re-checks a held token against a policy every ~30 minutes, charges $0.05 per 7 days, and returns an id and secret. That is a specific verb+resource picture, though the word 'create mandate' itself is only implied by the name rather than spelled out.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'For a token you hold' establishes the correct context, and it points to mandate_events for polling plus an optional webhook alternative. There is no explicit guidance on when not to use it or how it relates to gate/gate_batch, so the routing advice is only partial.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.