Skip to main content
Glama

check_x402_payability

For x402 sellers: can a real buyer actually pay this endpoint? Sends one payment signed by a fresh unfunded key through the endpoint's server and facilitator. Payable endpoints fail only on balance; anything else is reported with the exact reason (schema, description over 500 chars, EIP-712 domain, price over the $1 default client cap, paywall not enforcing).

Input Schema

NameRequiredDescriptionDefault
urlYesFull https URL of the x402 endpoint, with any query params it needs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that a real payment is attempted, that the signing key is fresh and unfunded (so no funds are at risk), that the request traverses both the server and facilitator, and it enumerates the exact failure classes reported (schema, description length, EIP-712 domain, price cap, paywall enforcement). It does not state network side effects, rate limits, or whether the endpoint is mutated, which is the remaining gap.

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 sentences, front-loaded with the audience and the core question, followed by a dense but earned enumeration of failure reasons. No filler.

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?

Single required parameter, no output schema, so the description must convey what comes back – it does by listing the exact reasons reported on non-payable endpoints and stating that payable ones fail only on balance. Missing only the shape of the success response and whether the probe has side effects on the endpoint's state.

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 coverage is 100% for the single 'url' parameter, so the schema already documents format expectations. The description adds no syntax, encoding, or constraint detail beyond it, so the baseline of 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?

Names a specific action (send one signed payment from a fresh unfunded key through the endpoint's server and facilitator) against a specific resource (an x402 endpoint) and states the diagnostic question it answers. It is unmistakable against chain-data siblings like scan_contract or gas_now.

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?

The 'For x402 sellers' framing and the 'can a real buyer actually pay this endpoint?' question make the use context clear, and the failure enumeration implies it is a pre-publication validation step. No explicit exclusions or sibling alternatives are given, but the siblings are unrelated domains so none are needed.

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