Skip to main content
Glama

VIA - Web/PDF extraction and API comparison

via_api_compare

Only compare APIs and software-service providers for a buyer task (e.g. OCR, extraction, translation, scraping). NOT for general research, travel planning, legal/ISO standards analysis or document analysis. For other intents, first use free via_list_services to find a suitable VIA service; do not pay for an unrelated comparison. Pay 0.01 USDC on Base with an authorized x402 wallet, or 0.01 USD of prepaid VIA credit if your MCP connection has an x-credit-token header. Prepaid calls require requestId: a fresh UUID per task, reused only to retry the same task without another debit. Returns a recommendation and alternatives. Supplier purchase is separate.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "intent": "<intent>"
    },
    "name": "via_api_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYes
countryNoUS
languageNoen
requestIdNoRequired for prepaid credit. New UUID per task; preserve it for retries of identical input.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing cost (0.01 USDC on Base via x402 wallet, or 0.01 USD prepaid VIA credit), the x-credit-token header condition, the requestId retry/no-double-debit rule, and that it returns a recommendation plus alternatives while supplier purchase is separate. The only minor friction is that idempotentHint=false sits alongside a requestId-based no-double-debit retry path, which the description does not fully reconcile.

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?

Front-loaded with purpose and exclusions, then payment mechanics, then output shape — a sensible progression with no filler. It is dense and reads as one long block, but every sentence (including 'Supplier purchase is separate.') carries operational meaning an agent needs.

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?

For a paid, open-world, non-idempotent tool with no output schema, the description covers the essentials: what qualifies as input, what it costs, how authorization works, retry semantics, and what comes back (recommendation plus alternatives). An agent has everything needed to decide to call it and to invoke it 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 description coverage is only 25%, so the description carries more burden here. It fully explains requestId semantics (fresh UUID per task, preserved for identical retries) and implicitly defines the intent payload through the comparison examples, but says nothing about country (default US, ^[A-Z]{2}$) or language (en|pt) — two of four parameters remain uninterpreted.

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?

States a specific verb and resource — 'compare APIs and software-service providers for a buyer task' — with concrete examples (OCR, extraction, translation, scraping). It explicitly carves out what it is not for, so an agent can distinguish it from the research/extraction siblings without opening a schema.

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?

Gives explicit exclusions (general research, travel planning, legal/ISO standards, document analysis) and names the correct fallback: 'first use free via_list_services to find a suitable VIA service; do not pay for an unrelated comparison.' That is a when-to-use, when-not-to-use, and alternative all in one.

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