Skip to main content
Glama

Quote x402 Resource

veil_x402_quote

Probe an x402 resource to fetch its payment quote and requirements before authorizing payment from private Veil USDC.

Instructions

Probe an x402 resource without funding or paying from private Veil USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
bodyNo
methodNo
headersNo
maxPaymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries full burden. It usefully discloses the key safety trait: no USDC is spent and no funding is required to probe. But it says nothing about what the probe returns, whether it hits the network, rate limits, or error behavior for a 402 response.

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?

A single front-loaded sentence with no filler. It is efficient, though arguably too terse given the five-parameter surface it governs.

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 payments-adjacent tool with five undocumented parameters, no annotations, and no output schema, the definition omits essential details: what a quote response contains, whether maxPayment caps anything, and how it relates to the paying sibling. It is well short of complete.

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 coverage is 0% across 5 parameters, including the undocumented body, headers, method, and maxPayment. The description hints at payment concern ('without... paying') but does not explain maxPayment, what body/headers carry, or how the enum on method is used, so it fails to compensate for the coverage gap.

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 ('Probe') and resource ('x402 resource'), and the qualifier 'without funding or paying' implies the contrast with a paying sibling. However it never names veil_pay_x402 or veil_x402_receipts, so differentiation is left implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'without funding or paying' implies the use case (inspect an x402 resource before committing funds), but no explicit when-to-use rule or named alternative is given. An agent must infer that veil_pay_x402 is the paid counterpart.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.