Skip to main content
Glama

Realask - verified answers from the physical world

Purchase any quote (answer or action)

purchase_quote

The single purchase path: pays for a quote from EITHER quote_real_world_answer or quote_real_world_action and starts the job. There is no separate action-purchase tool. Returns job_id and job_token (keep it; it is shown once), then poll get_verification_status and read get_verification_result. If this server has no payment capability, returns the x402 payment requirements (HTTP 402 body) so you can pay with your own payment tool and retry the POST /v1/jobs request with a PAYMENT-SIGNATURE header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quote_idYes
idempotency_keyNoClient-generated UUID; reuse it when retrying

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. It discloses key side effects: payment for a quote, starting a job, returning a job_token that is shown only once, and the possibility of a 402 response with payment requirements. This is transparent about the tool's behavior.

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 moderately long but efficiently packed with essential information: purpose, usage, return values, error handling, and follow-up steps. It is well-structured and not verbose, though slightly dense.

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?

There is no output schema, so the description must explain the return values. It does so explicitly, mentioning job_id and job_token, and also covers the 402 error case. It gives enough context for the agent to know what to expect and how to handle it.

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?

The schema covers only 50% of parameters (idempotency_key has a description, quote_id does not). The description adds some context by referencing 'quote' and the source tools, but it does not explicitly explain what quote_id is or how it relates to the quote tools. It adds minimal value beyond the schema.

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 purpose: it pays for a quote and starts a job. It explicitly distinguishes itself from sibling tools by calling itself 'the single purchase path' and noting there is no separate action-purchase tool.

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?

It tells when to use the tool (to purchase a quote from either quote_real_world_answer or quote_real_world_action) and provides post-purchase steps (poll get_verification_status, read get_verification_result). It also explains the alternative path when payment capability is absent (HTTP 402), guiding the agent on how to proceed.

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.