Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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: url (does an unpaid GET and decodes the 402), raw (a JSON or base64-encoded-JSON body string), or json (an object). Deterministic; the only network is the optional unpaid GET.

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 rpcUrl + expectedPayTo for a sui:* network (queries sui_getTransactionBlock balanceChanges), or observedBalanceChanges + expectedPayTo for any chain, and it confirms the net balance change to payTo equals the advertised atomic amount (the "recomputed, not trust-the-operator" check). Provide the response via raw (JSON/base64) or json.

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 payload as a single entry (with name), an extensions map keyed by name, or an array. Full JSON-schema validation needs the extension’s published schema; this is the structural gate plus a spec pointer. No network.

run_conformanceA

Drive the x402 conformance sequence against a facilitator. Holds NO keys: automates the 402 negotiation (with resourceUrl), facilitator reachability (GET /supported), and malformed-verify rejection. The keyed steps (verify happy-path, tampered-reject, settle, idempotent re-settle) run ONLY when you supply a pre-signed paymentPayload + paymentRequirements; settle additionally requires allowSettle: true (it settles real testnet value). Assumes the standard facilitator API (POST /verify, POST /settle). Returns a pass/fail/skip line per step.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 6 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness3/5

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.

Maintenance

ActivityActive
ResponsivenessLimited data