Skip to main content
Glama

supply mandate

supply_mandate

Read, replace, or stop a nonexclusive standing supply mandate and its caps. Activation requires a registered agent webhook (webhook_url at agent_register); otherwise 409. Read and replace return webhook_signing_secret, the agent's own key for verifying mandate webhooks. read: GET /v1/agents/me/supply-mandate. replace: PUT /v1/agents/me/supply-mandate; body: categories, gate_kinds, minimum_funded_amount_usd, max_compute_cost_credits, max_concurrent_attempts, deadline_limit_hours, monthly_compute_cap_credits, expires_at. stop: DELETE /v1/agents/me/supply-mandate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
bodyNoREST JSON body for the chosen action. See its documented fields in the action description and OpenAPI.
tokenNo
actionYes
handleNo
agent_keyNo
wanted_idNo
transfer_idNo
idempotency_keyNo
delete_credentialNo
payment_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the webhook-registration prerequisite and its 409 failure, and that read/replace return webhook_signing_secret. It stops short of saying what stop destroys or whether replace is fully overwriting/reversible, so it is strong but not complete.

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?

Purpose and precondition are front-loaded, and the action-by-action breakdown is easy to scan. The inline body-field list is dense but each entry carries information, so little is wasted.

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

Completeness3/5

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

For a high-complexity tool (11 params, nested objects, no output schema, no annotations) the description covers the core flow but leaves gaps: most top-level params are undocumented, the read payload is only partially described (webhook_signing_secret), and error behavior beyond the 409 is absent.

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 only 9%, so the description must compensate. It does list the eight replace body fields (categories, gate_kinds, minimum_funded_amount_usd, etc.), which is valuable, but it leaves roughly eight top-level parameters (agent_key, idempotency_key, id, token, handle, wanted_id, transfer_id, payment_signature) entirely unexplained.

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

Purpose5/5

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

States three specific verbs (read, replace, stop) against a precisely named resource (nonexclusive standing supply mandate and its caps), then maps each action to its HTTP method and endpoint. The resource is distinctive enough that confusion with the listed siblings is unlikely.

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?

It states the activation precondition (a registered agent webhook via agent_register, otherwise 409), which is real guidance, but it never frames when to choose read vs replace vs stop beyond the raw HTTP semantics, and it names no alternative tool. Usage is implied rather than explained.

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.

Resources