Skip to main content
Glama

Confirm and spend credits

confirm_operation
DestructiveIdempotent

Step 2 of 2: holds the quoted credits and starts the work. Only call it after the user explicitly approved this exact quote and amount. Each video holds its own estimate; you pay only for what is produced and unused credits come back automatically (failures on our side are refunded). Idempotent: confirming the same quote twice starts nothing new.

Input Schema

NameRequiredDescriptionDefault
quote_idYesFrom create_project, get_estimate, request_variant or edit_video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: credits are held up front, billing is consumption-based, unused credits return automatically, and platform-side failures are refunded. The idempotency note overlaps idempotentHint=true but is framed usefully as 'confirming the same quote twice starts nothing new', clarifying the practical consequence rather than restating the flag.

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?

Four short sentences, none wasted, front-loaded with the step position and the action before the approval gate and billing details. Dense but readable.

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?

For a single-parameter commit tool with rich annotations and no output schema, everything an agent needs is present: gating condition, cost behavior, refund semantics, and duplicate-confirm behavior.

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 100% and the quote_id description already names the four producing tools, so the schema carries the parameter burden. The description only adds the notion of 'this exact quote and amount' and reuse of the same quote twice; baseline 3 applies when the schema does the heavy lifting.

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 a specific action chain – holds the quoted credits and starts the work – plus the 'Step 2 of 2' framing that separates it from the estimate/quote sibling. An agent can tell this is the commit step, not a read or a quote request, without opening the schema.

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

Usage Guidelines4/5

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

Gives a clear hard precondition: call only after the user explicitly approved this exact quote and amount. It does not name the companion tools (get_estimate, create_project) or say what to do instead when approval hasn't happened (e.g., cancel_job, get_estimate), so routing is strong but not fully enumerated.

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.