Skip to main content
Glama

Confirm an in-flight legacy Model B cap (new reservations retired)

otto_delegation_cap
Idempotent

Legacy Model B cap confirmation. New { phase: "reserve" } requests are retired and refused before any claim or reservation is written. { phase: "confirm", accessToken, mintKey } remains available for a permission already minted against a prior reservation: the server re-reads CDP and confirms only the exact still-current claim and reserved expiry. A mismatch or Stop overlap remains unconfirmed; a fresh explicit Stop handles the current grant. Without a confirmed per-user cap, delegated sends refuse. This tool does not issue new permissions. Server-to-server only: the caller presents Otto's delegation secret in the x-otto-delegation-auth request header (never in arguments); a call without it is refused before anything is read. The listed input schema is intentionally permissive — the strict schema is validated after the caller is authenticated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
phaseYes
stateYes
user_idYes
recordedYes
expires_atYes
mint_expires_atNo
ruleset_versionYes
per_swap_cap_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A5/5.0
Behavior5/5

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

The description goes well beyond annotations, disclosing that new reservations are refused before any claim is written, that it re-reads CDP and confirms only the exact current claim and reserved expiry, and that it does not issue new permissions. It also explains the authentication requirement and the permissive input schema behavior, all without contradicting the annotations (readOnlyHint=false, idempotentHint=true).

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

Conciseness5/5

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

The description is dense but every sentence adds value, starting with the core purpose, then usage constraints, behavioral details, and authentication. It is structured logically—purpose, exclusions, confirmation logic, fallback behavior, and security—without padding or repetition. It is appropriately sized for the complexity of the tool.

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

Completeness5/5

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

Given the tool's complexity (legacy behavior, security, and branching logic) and the presence of an output schema, the description is remarkably complete. It covers what the tool does, when to use it, side effects, authentication, and validation nuances. The existence of an output schema means return values need not be described, and nothing critical is missing for correct invocation.

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

Parameters5/5

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

With zero parameters in the schema, the description adds critical meaning by explaining that the listed schema is intentionally permissive and that the strict schema is validated only after authentication. It also clarifies that authentication is via the request header, not arguments. This fully compensates for the empty schema and provides guidance an agent would otherwise lack.

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?

The description clearly states the tool confirms an in-flight legacy Model B cap, specifying it does not issue new permissions and that new reservation requests are retired. This distinguishes it from sibling tools that handle reservations or permissions. The verb 'confirm' plus the specific resource 'legacy Model B cap' makes the purpose unambiguous.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool—for confirming a permission minted against a prior reservation—and when not to, such as for new reservations or when a mismatch or Stop overlap occurs, directing the agent to use a fresh explicit Stop instead. It also details the server-to-server authentication requirement through the x-otto-delegation-auth header, providing comprehensive usage guidance.

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