Skip to main content
Glama

execute_quote

Execute a capability using an accepted quote. The quote must belong to the agent, be unexpired, and the input_data must match the quoted request. The quoted USD price is deducted from your prepaid balance on success and released on failure. Returns structured intelligence with provenance. If balance is insufficient, returns INSUFFICIENT_CREDIT (top up at https://carbonaa.org/aoi/console). Requires an API key. THIS IS THE ONLY OPERATION THAT CONSUMES PREPAID CREDITS.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quote_idYesThe quote_id returned by request_quote
input_dataYesThe same input_data that was quoted
execution_idempotency_keyNoOptional idempotency key for execution. Same key returns the same result without duplicate execution.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/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. It discloses the financial impact (deduction on success, release on failure), error handling (INSUFFICIENT_CREDIT with top-up link), authentication requirement, and the unique credit-consuming nature. It does not mention the behavior of the idempotency key, but that is defined in the schema. Given the lack of annotations, this is a strong disclosure of side effects and prerequisites.

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?

The description is a single well-structured paragraph that front-loads the core action, then conditions, financial behavior, output, error handling, and finally the unique credit consumption. Every sentence adds necessary information without redundancy. It could be slightly tightened, but the density is high and the logical flow is clear.

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

Completeness4/5

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

Given there is no output schema and no annotations, the description covers the essential call context: prerequisites, side effects, error handling, authentication, and the type of return ('structured intelligence with provenance'). It also explains the financial impact and the only operation that spends credits. While it could mention behavior of the idempotency key more explicitly, that is already captured in the schema. The description is sufficiently complete for an agent to invoke correctly.

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

Parameters4/5

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

Schema coverage is 100%, so each parameter is documented. The description adds critical semantic context: the quote must belong to the agent and be valid, and input_data must exactly match the quoted request. This clarifies the relationship between parameters beyond simple type descriptions. It also implies that execution_idempotency_key affects duplicate execution, though not explicitly in text. The added context justifies a score above the baseline.

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 states a specific verb and resource: 'Execute a capability using an accepted quote.' It clearly differentiates from siblings by emphasizing 'THIS IS THE ONLY OPERATION THAT CONSUMES PREPAID CREDITS,' which sets it apart from all the quote_* and get_* tools. An agent can immediately understand what this tool does and when it applies.

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?

The description gives explicit preconditions: the quote must belong to the agent, be unexpired, and input_data must match. It also states the consequence of insufficient balance and provides a top-up URL. It implies the usage sequence (get a quote first, then execute) though it doesn't explicitly name 'request_quote' as a prerequisite. This is clear and actionable, but stops short of an explicit 'use this instead of X' statement.

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.