Skip to main content
Glama

VIA - Web/PDF extraction and API comparison

via_one_call_quote

Read-onlyIdempotent

Free quote for the VIA toll: VIA-owned delivery first, eligible paid supplier otherwise. Returns supplier cost, VIA margin and total. Use maxUsdc '0' to check the price with no approved spend. No wallet signature or payment. Continue only if ok and executionEnabled are true.

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": {
      "task": "<task>",
      "maxUsdc": "<maxUsdc>"
    },
    "name": "via_one_call_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYes
maxUsdcYesMaximum approved total in USDC, including supplier and VIA margin.
orderIdNoPrivate client-generated UUIDv4. Required for execution; preserve it and the exact body for payment retry and recovery.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds genuinely new context: no wallet signature or payment required, the supplier-selection order, and the two response flags that gate continuation. The gaps are what 'eligible' means, what happens when no supplier qualifies, and error behavior when maxUsdc is exceeded.

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

Conciseness5/5

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

Five short, front-loaded sentences with no filler: purpose, routing, return values, the zero-cost probe, and the safety gate. Each sentence contributes a distinct fact an agent needs before calling.

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

Completeness4/5

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

With no output schema, the description usefully enumerates the return values (supplier cost, VIA margin, total) and the gating flags ok and executionEnabled, which is the critical missing piece an agent would otherwise guess at. It stops short of explaining failure or ineligibility paths, which matter for an open-world quote tool.

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

Parameters4/5

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

Schema coverage is 67%, and the description adds real meaning to maxUsdc by defining the '0' sentinel for a no-spend price check, which the schema does not say. The task and orderId parameters are left to their schema descriptions, which is acceptable but leaves the description adding nothing for the remaining third.

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 ('Free quote for the VIA toll') and immediately describes the routing rule (VIA-owned delivery first, eligible paid supplier otherwise). It implicitly distinguishes itself from the execution sibling via the 'continue only if ok and executionEnabled' gate, but never names the execution tool, so sibling differentiation is inferred rather than stated.

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?

Gives a concrete usage pattern for maxUsdc '0' (price check without approved spend) and a clear precondition for proceeding (ok and executionEnabled true). What it lacks is an explicit pointer to the execution sibling for the next step, so the agent must infer that this quote is a precursor rather than the action itself.

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