Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

pubconvert_convert

Convert a Publisher file to PDF + verdict. $0.10 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/pubconvert/convert.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false, idempotentHint=false and destructiveHint=false, so the safety profile is covered; the description adds genuinely new context — a $0.10 per-call price, USDC-on-Solana payment, and the two-step x402 retry handshake. However, it omits how the source Publisher file is transmitted (the schema has zero parameters) and what 'verdict' contains, which are material behavioral facts for a paid conversion call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, which is good. The remainder is a dense run-on packing pricing, chain, currency, x402 handshake, a _meta key path, and an HTTP URL into one parenthetical — mostly necessary but poorly structured for scanning.

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?

For a non-idempotent, paid, destructive-capable conversion tool with no output schema and no parameters, the description should say how input is supplied, what is returned (PDF handle/link, verdict shape), and limits or failure modes. Instead it covers only payment mechanics, leaving the agent unable to predict inputs or outputs.

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?

With zero parameters the nominal baseline is 4, but the complete absence of parameters on a file-conversion tool is itself surprising: the description never explains where the Publisher file comes from (upload, URL, or out-of-band), so the schema/description pair leaves a real semantic hole. The HTTP endpoint reference is the only hint at input delivery.

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?

States a specific verb and resource ('Convert a Publisher file to PDF') plus a secondary artifact ('verdict'), which is enough for an agent to know what the tool does. It does not distinguish itself from the closely named siblings pubconvert_batch and pubconvert_verify, so the boundary is left to inference.

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?

The description explains HOW to pay (call, get PaymentRequired challenge, retry with _meta["x402/payment"]) but never says WHEN to pick this over pubconvert_batch or pubconvert_verify, nor what input conditions are required. Only invocation mechanics are covered, not tool selection.

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