Skip to main content
Glama

x402-paid-api-builder

x402 paid API builder kit. The complete per-call selling methodology: intake, the two-route architecture, a token-fill Express server scaffold, testnet verification, the production switch, the pricing bands, and the discovery-writing rules, for turning any tool, dataset, or computation into a paid API that buyers and agents pay for per call in USDC. One call returns the full kit; the buyer's agent builds the endpoint itself. Price: $15.00 per call, paid in USDC on Base mainnet over x402; an unpaid call answers HTTP 402 with the exact machine-readable payment terms.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-paid-api-builder"
  }
}

Input Schema

NameRequiredDescriptionDefault
capabilityNoOptional description of the capability to monetize, e.g. a shipping-rate lookup; seeds the intake step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/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 so well: it discloses the exact price ($15.00 per call), the payment rail (USDC on Base mainnet over x402), and the unpaid-call behavior (HTTP 402 with machine-readable payment terms). It also clarifies the division of labor — the call returns the kit and the buyer's agent builds the endpoint itself — which is the key behavioral fact an agent needs before invoking.

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 paragraph that opens with identity, then scope, then price and payment mechanics — a sensible ordering with little waste. It is dense with comma-separated feature lists and a touch of promotional phrasing ('complete per-call selling methodology'), which slightly dilutes scanability.

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 one-parameter tool with no output schema, the description covers what the tool is, what comes back (the enumerated kit sections), and the commercial/payment mechanics. It would be stronger if it indicated the return format (e.g., markdown vs. structured JSON) so the agent knows how to consume the kit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single optional parameter, so the schema already defines it. The description adds meaning beyond the schema by explaining that the capability string 'seeds the intake step,' telling the agent the argument has downstream effects on the returned methodology rather than being a mere label.

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?

The description states a specific resource — a per-call paid-API methodology kit — and enumerates its contents (intake, two-route architecture, Express scaffold, testnet verification, production switch, pricing bands, discovery-writing rules). It is clear what one call returns. It stops short of distinguishing itself from the nearby x402-endpoint-check sibling, which an agent would need to disambiguate.

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?

Usage is implied by 'for turning any tool, dataset, or computation into a paid API' and by the optional capability parameter that 'seeds the intake step.' There is no explicit when-to-use/when-not guidance and no routing to or away from alternatives, so the agent must infer applicability.

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