Skip to main content
Glama

confirm

Execute a quoted action. Confirming executes this action exactly once. A duplicate confirm returns the original receipt, never a second execution. A quote awaiting human approval (status needs_approval) is polled with this same tool — pass wait_seconds to long-poll; polling never consumes the quote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentNoCompat alias for payment_credential: { rail, token }. Present one or the other, never both.
quote_idYesThe quote_id returned by quote.
agent_keyNoThe same agent key the quote was made with. Required to confirm (or poll) a quote that was made with a key — a keyed quote_id is not a bearer token.
wait_secondsNoFor quotes awaiting human approval or payment: how long to wait (0–25s) before answering awaiting_human / awaiting_payment. Ignored once the quote is ready.
payment_credentialNoPaid actions only: { type, token } — a rail from the quote's payment profile (e.g. type "stripe_spt" with an spt_… token) plus the opaque payment token for it. NEVER a card number. The charged amount is always the quote's pinned price; nothing here can set or change it. Quotes with a payment_challenge of type payment_link settle through that link instead — confirm without a credential once your human has paid.

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It fully covers idempotency (duplicate confirm returns original receipt), polling semantics (never consumes), the distinction between keyed quotes and bearer tokens (agent_key required for keyed quotes), payment behavior (always pinned price, never card numbers), and the special case of payment_link quotes. This is exemplary for a tool with no annotations.

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 compact and front-loaded with the core action. Each sentence serves a purpose: execution semantics, idempotency, polling usage, payment handling, and keyed quotes. No redundant words. The structure flows logically from primary action to edge cases.

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?

Despite no output schema, the description provides enough information for an agent to call the tool correctly. It covers execution, polling, payment nuances, and security considerations. The tool is complex (5 params, nested objects, payment flows), but the description addresses all critical behavioral aspects. No obvious gaps remain.

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 description coverage is 100%, so the schema already documents all parameters in detail. The description adds value by clarifying payment_credential vs payment alias, the 'never both' constraint, and the agent_key security note, but these largely reinforce what's in the schema. The description does not introduce entirely new parameter semantics beyond summarizing the schema, so a baseline 3 is appropriate.

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's primary function: 'Execute a quoted action. Confirming executes this action exactly once.' It specifies the resource (a quoted action) and the verb (execute/confirm). It also distinguishes itself from siblings like 'quote' by referencing the quote_id returned by quote and by covering polling for quotes awaiting approval, which is a distinct use case.

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 provides explicit guidance on when to use this tool: to execute a quoted action, to confirm a quote, and to poll quotes awaiting human approval. It also clarifies when not to use it or what to expect: duplicates return the original receipt, polling never consumes the quote, and payment_link quotes should be confirmed without a credential after human payment. It references the sibling 'quote' indirectly by noting the quote_id is returned by quote.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools are clearly distinct: list_actions, quote, and confirm map to discovery, planning, and execution respectively. However, 'about' and 'ask' both serve an informational purpose, which could lead to a brief moment of ambiguity before reading their descriptions closely.

Naming Consistency4/5

Five tools mostly follow a simple verb-based pattern (ask, confirm, quote) with one clear verb_noun (list_actions). 'about' stands out as a non-verb, creating a minor deviation from the otherwise consistent style.

Tool Count5/5

With only 5 tools, the server is tightly scoped to its purpose: orientation, knowledge lookup, action discovery, quoting, and confirmation. Each tool earns its place without superfluous additions.

Completeness4/5

The core workflow is complete: discover actions (list_actions), plan a call (quote), and execute (confirm), with about/ask for platform understanding. A minor gap is the lack of a way to list or cancel pending quotes, but the essential lifecycle is covered.

Resources