Skip to main content
Glama

convert_file

Idempotent

Get a purchase quote for a supported file conversion. Inspect the returned flow: payment_first quotes run no conversion; execution follows confirmed payment, and failed conversions are refunded. Legacy purchases retain their original contract. Save a random purchase_id and recovery_key before calling; repeat the same identifiers after response loss. Simple conversion 0.01 USDC, DOCX/OCR 0.02 USDC up to three pages confirmed by the engine. Payment requires a separately authorized HTTP x402 client. A completed file remains available for 24 hours; recover it without paying again.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYes
optionsNo
purchase_idYes
recovery_keyYes
output_formatYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior5/5

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

With annotations already declaring idempotentHint=true, readOnlyHint=false, and destructiveHint=false, the description adds substantial context: payment flow, refunds for failed conversions, legacy contract handling, x402 payment authorization, pricing, and 24-hour file retention. This goes well beyond what the structured annotations provide without contradicting them.

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 dense single paragraph but front-loads the purpose and then layers necessary payment and retention details. Every sentence carries operational meaning, though the dense flow could be more structured for faster parsing.

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

Completeness3/5

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

For a complex paid conversion tool with nested parameters, no output schema, and 0% schema description coverage, the description covers payment lifecycle and file retention well but leaves parameter details and return format underexplained. It is adequate for the payment model but incomplete for correct invocation across all required inputs.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for parameter semantics. It explains purchase_id and recovery_key behavior but does not explain the required inputs array, data_base64 format, output_format enum, or the many options fields such as dpi, pages, ocr, sheet, and delimiter.

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 states a specific action and resource: obtaining a purchase quote for a supported file conversion. It gives pricing and payment context that distinguishes it from generic list/read tools, though it leaves some ambiguity about whether the tool also executes the conversion or only returns the quote/flow.

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?

It provides clear operational guidance: save a random purchase_id and recovery_key before calling, repeat the same identifiers after response loss, and recover without paying again within 24 hours. It also explains that payment_first quotes run no conversion and execution follows confirmed payment, though it does not name alternative tools or explicit when-not scenarios.

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