Skip to main content
Glama

Quote x402 Resource

agent_x402_quote

Check whether an x402-protected HTTPS resource supports ERC-7710 delegated x402 payment for agent profiles without signing or submitting payment.

Instructions

Probe an x402-protected HTTPS resource without signing or submitting payment. Reports whether the endpoint offers ERC-7710 delegated x402 payment for agent profiles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesHTTPS x402-protected resource URL.
bodyNoOptional string or JSON body. Only allowed with POST.
chainNoEVM network for x402 payment. Defaults to Base.
methodNoHTTP method. Defaults to GET; body implies POST.
headersNoOptional string headers. Authorization, Cookie, Host, and payment headers are blocked.
walletIdNoAgent wallet ID. Alternative to profileId; resolves to the delegated agent:<walletId> profile.
profileIdNoAgent wallet profile ID. Defaults to agent:<walletId> delegated x402. Use agent-eoa:<walletId> only when the user explicitly wants raw local agent-wallet payment.
timeoutMsNoRequest timeout in milliseconds. Defaults to 30000.
tokenDecimalsNoDecimals for maxPayment. Defaults to 6 for USDC.
maxResponseBytesNoMaximum response body bytes returned by MCP. Defaults to 1000000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the critical trait: no signing and no payment submission, i.e. a safe read-only probe. It does not describe error behavior, network cost, or that wallet/profile resolution is required for the delegation answer, leaving some behavioral gaps for a 10-parameter tool.

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?

Two tight sentences with no filler; the core action is front-loaded and the outcome it reports follows immediately. Every clause earns its place.

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 10-parameter tool with no output schema, the description states the purpose, the safety behavior, and broadly what is returned. It stops short of describing the response shape or the meaning of the ERC-7710 delegation/fee result, but the fully documented schema covers the invocation side.

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 100%, so every parameter (url, body, chain, method, headers, walletId, profileId, timeoutMs, tokenDecimals, maxResponseBytes) is already documented with defaults and constraints. The description adds no additional syntax, format, or inter-parameter semantics beyond what the schema provides, so the baseline 3 applies.

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 ('Probe') applied to a specific resource ('x402-protected HTTPS resource') and specifies what is reported. The phrase 'without signing or submitting payment' cleanly separates it from the paying siblings (agent_x402_pay, veil_pay_x402) without needing to name them.

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 description implies the usage context (probe before committing to payment) but never states it explicitly or names alternatives such as agent_x402_pay. An agent can infer when to use it, but there is no explicit when/when-not guidance or sibling routing.

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