Skip to main content
Glama

SpendPreflight

Historical x402 Quote Check

quote_check
Read-only

Compare a supplied x402 quote with the latest comparable cached public unpaid quote and disclosed retained history. Scout keeps only the latest probe; the separate public index can retain seven days. $0.001 USDC on Base for a usable comparison, no trial. Missing/stale/ambiguous evidence returns unknown without charge. Never fetches or pays the target. Informational historical comparison, not payment approval or loss prevention. Price: 0.001 USDC. Minimal input example: {"url":"https://api.example.com/data","amount":"10000","payTo":"0x1111111111111111111111111111111111111111","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","network":"eip155:8453"}. Illustrative output excerpt: {"status":"unknown","baseline":null,"multiple":null,"suggested_max_amount_per_payment":null,"not_charged":true}. Illustrative output excerpt, not a live result, signature, approval or guarantee. Freshness/data/availability checks still apply. How to pay (MCP): Unknown evidence returns without charge; a usable comparison requires payment. No shared trial. Use an x402-capable MCP client. A generic MCP connector without payment support cannot complete a paid continuation. On payment required, STOP. Inspect the exact accepts amount, asset, network and payTo; obtain explicit wallet/budget approval before continuing. Only after approval, let the configured x402 MCP client attach its signed payload in _meta["x402/payment"] and retry the same tools/call arguments. Never send a separate USDC transfer or paste keys into tool arguments. Never silently fall back from free access to payment. If a signed attempt has an unknown outcome, inspect that authorization/transaction; do not create another automatically.

Input Schema

NameRequiredDescriptionDefault
urlYes
assetYes
payToYes
amountYes
methodNo
networkYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior1/5

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

The description contains rich behavioral detail, but it contradicts the readOnlyHint=true annotation by repeatedly stating that a usable comparison costs $0.001 USDC, requires payment, and requires a signed x402 payment payload. A paid operation that settles or requires wallet approval is a side effect and cannot be treated as read-only, so the description contradicts the structured annotation.

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?

The purpose and price are front-loaded, but the description is long and repetitive: it repeats the price, payment warning, illustrative-output caveat, and x402 payment procedure multiple times. Much of the payment safety guidance is useful, but the text is not tightly edited.

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?

For a complex paid comparison tool with no output schema, the description supplies an illustrative output excerpt, explains unknown/no-charge behavior, and details the x402 payment flow. It still omits parameter semantics and explicit sibling routing, but otherwise gives an agent enough operational context to avoid unsafe payment handling.

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% and there are six parameters, so the description must carry the burden. It provides an example covering url, amount, payTo, asset, and network, but does not explain amount units, asset/network formats, payTo semantics, or the optional method parameter, leaving important parameter meaning implicit.

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 verb and resource: compare a supplied x402 quote against cached public unpaid quote data and retained history. It is clear enough to distinguish this as a historical quote comparison rather than a payment approval tool, though it does not explicitly differentiate itself from sibling tools such as preflight_payment or security_check.

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 gives clear usage context: this is informational historical comparison, not payment approval or loss prevention, and it explains that missing/stale/ambiguous evidence returns unknown without charge. It does not name specific sibling alternatives, but it does set useful boundaries around when this tool is and is not appropriate.

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