Skip to main content
Glama

mandate_reserve

Idempotent

Atomic spending reservation with cumulative cap and conflict-safe idempotency; 0.004 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
mandate_idYes
ttl_secondsNo
idempotency_keyYes
capability_tokenYes
cumulative_limitYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "amount": "4000",
      +    "capability_token": "replace-with-32-or-more-random-characters",
      +    "cumulative_limit": "100000",
      +    "idempotency_key": "job-7",
      +    "mandate_id": "budget-1"
      +  }
      +]
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so idempotency is partly structured data. The description adds genuine context by saying the idempotency is 'conflict-safe' and that the cap is cumulative, plus a price point (0.004 USDC). It omits what happens on failure, whether reserved funds must be released, TTL behavior, and the auth role of capability_token.

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?

A single front-loaded sentence with no filler, and the price is appended compactly. It is efficient, though the terseness partly reflects under-specification rather than disciplined brevity.

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

Completeness2/5

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

For a 6-parameter, 5-required mutating payment tool with no output schema and no parameter documentation anywhere, the description leaves critical gaps: token requirements, amount/cap units and relationship, TTL default, and failure/release semantics.

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

Parameters2/5

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

Schema description coverage is 0% for six parameters, so the description is the only source of meaning and it covers almost nothing. It gestures at cumulative_limit ('cumulative cap') and idempotency_key ('idempotency'), but says nothing about amount units, mandate_id, the required capability_token, or ttl_seconds.

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 names a specific resource and mechanism ('atomic spending reservation with cumulative cap and conflict-safe idempotency'), which is far more informative than the bare tool name mandate_reserve. It does not, however, distinguish this tool from dense siblings such as agent_budget_guard, delegated_spend_policy, or subscription_spend_guard, which occupy the same spending-control space.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite/ordering information, and no named alternative among the ~28 sibling payment tools. An agent cannot tell from the description when a reservation is the right call versus a preflight/guard check.

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