Skip to main content
Glama

buy_analyze_document

Buy analyze_document, price 3 USDC — what you get: Send a document (text or file) and optionally a question. Sold by Sphere.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoMarketplace API key from marketplace_register (contract path)
agent_idNoMarketplace agent_id from marketplace_register (contract path)
x_paymentNoOptional base64 X-PAYMENT to pay per call with no registration
task_payloadNoInput for the service, e.g. {question}, {image_path} or {audio_file_path}
deadline_hoursNoOptional delivery deadline for a contract

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden. It reveals that this is a paid service ('price 3 USDC', 'Sold by Sphere'), which is useful, but it does not disclose that this appears to be a marketplace purchase requiring registration, payment keys, or asynchronous result retrieval. The phrase 'Send a document' misleadingly suggests direct execution rather than a marketplace transaction.

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 compact and front-loads the key facts: what the tool buys, the price, and the basic input. It has no filler, though some of the brevity sacrifices necessary operational detail.

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

Completeness2/5

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

Despite having 5 parameters, nested objects, no output schema, and no annotations, the description explains almost none of the workflow: how to pass api_key vs x_payment, what the document payload should look like, whether delivery is synchronous, or how to retrieve results. An agent would need external marketplace context to call this correctly.

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%, so the baseline is 3; each parameter already has a description. The description adds only a high-level notion of document + optional question, which loosely maps to task_payload, but it adds little concrete value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Buy') and resource ('analyze_document'), and clarifies what the service does: send a document (text or file) and optionally a question. This is clear enough to distinguish from sibling tools like buy_analyze_image or buy_transcribe_voice, though it does not explicitly name alternatives.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus related tools such as buy_summarize_text or buy_verify_claims_smart. The description implies usage by describing the document-analysis capability, but it gives no conditions, exclusions, or comparisons.

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