x402-pilot
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| decode_402A | Parse and validate an x402 PaymentRequired (HTTP 402) response and explain every field. Flags missing economic fields (scheme/network/asset/payTo/amount), number-typed or human-decimal amounts (must be atomic-integer strings), and missing explicit decimals. Provide ONE of: |
| inspect_payment_responseA | Decode and validate an x402 PAYMENT-RESPONSE, surfacing success, settlement id, payer, network, and amount. Optionally recomputes the on-chain truth: pass |
| check_complianceA | Heuristically scan x402 code (a file or directory) for the high-severity classes: hardcoded chain id, hardcoded decimals, magic-number decimal scaling (10**N, 1eN, *1_000_000), human-decimal/float amounts, and literal asset/token addresses. Returns findings with file:line and severity. Heuristic — a documented default may be a false positive; every finding cites a location for human judgement. No network. |
| lint_scheme_specA | Lint a draft scheme spec (markdown) against the bundled scheme_template.md: reports missing/extra template sections and whether the draft pins down the load-bearing concepts a scheme must specify (value/recipient assertion, settlement identifier, replay protection, atomic+decimals amount encoding, verify/settle flow). Reads the bundled corpus; no network. |
| validate_extensionA | Structurally validate an x402 extension payload: checks the typed { info, schema } envelope and runs light known-extension field checks (offer-and-receipt, payment_identifier, gas-sponsoring, sign-in-with-x, builder_code). Pass |
| run_conformanceA | Drive the x402 conformance sequence against a facilitator. Holds NO keys: automates the 402 negotiation (with |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct artifact: 402 challenge decoding (decode_402), payment-receipt verification (inspect_payment_response), source-code scanning (check_compliance), scheme-spec markdown linting (lint_scheme_spec), extension-payload validation (validate_extension), and facilitator conformance driving (run_conformance). The three validation-flavoured tools are clearly partitioned by input type (code vs. spec doc vs. extension payload), and descriptions reinforce the boundaries. An agent should have no trouble picking the right one.
All six tools use a uniform snake_case verb_noun pattern (decode_, inspect_, check_, lint_, validate_, run_). The only mild irregularity is decode_402, where the noun is a status code, but it is still readable and follows the same verb-first shape.
Six tools is a tight, well-scoped set for a focused x402 pilot/diagnostic server, and each tool covers a separable stage of the protocol workflow rather than duplicating another. Nothing feels padded or missing at the count level.
The diagnostic/inspection half is thorough (decode, verify, lint, scan, conformance), but there is no way to construct a payment payload or payment requirements, which run_conformance explicitly requires as pre-signed inputs — a dead end for any end-to-end flow. There is also no read access to the bundled scheme template/corpus or a discovery call to enumerate supported schemes, so agents cannot generate the artifacts the validators consume.