Skip to main content
Glama

Add your endpoint to the x402 Trust Index (free)

x402_trust_add
Idempotent

Free: add your own paid endpoint to the x402 Trust Index when no registry lists it yet (CDP Bazaar, Circle's Agent Marketplace, GoPlausible, XRPL AI Hub, nohumans.directory, PayAPI Market, HIVE402, MPP directory). x402 Doctor first checks that it answers 402 with a payment challenge (x402, MPP or L402); the next daily scan starts its record, which buyers' agents see before they pay. At most 25 endpoints per host. Limited to 10 calls per hour.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "x402_trust_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe x402 endpoint (public http(s) URL), e.g. https://api.example.com/paid

Output Schema

NameRequiredDescriptionDefault
okYestrue: added, already added, or already listed
urlNo
checkNoThe free web check for this URL
errorNoWhy it was not added
statusNoadded, submitted (already added) or listed (a registry lists it)
messageNo
verdictNoThe pre-payment verdict when it was added

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the free tier, the verification gate (endpoint must answer 402 with an x402/MPP/L402 challenge), the asynchronous timing (record starts at the next daily scan, not immediately), a per-host quota of 25 endpoints, and a 10-calls-per-hour rate limit. Those are exactly the operational facts an agent needs before invoking a mutating, idempotent 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 sentences, front-loaded with 'Free:' and the core action, followed by prerequisites and limits in descending order of importance. The registry enumeration is long but functional, since it defines the exact condition under which the tool is unnecessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, non-destructive write tool with annotations and an output schema, the description covers purpose, precondition, verification behavior, latency, and quotas. Nothing an agent needs to invoke it correctly is missing, and return values are handled by the output schema.

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%, so the baseline would be 3, but the description adds meaning the schema does not: the URL must be a paid endpoint that returns a 402 payment challenge, otherwise the submission is rejected. That constraint materially changes what value is valid for the single parameter.

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 gives a specific verb and resource ('add your own paid endpoint to the x402 Trust Index') plus a scope qualifier ('when no registry lists it yet'). It clearly differs from generic lookup/diagnose siblings, but it never distinguishes itself from the sibling x402_trust_record, which an agent could plausibly confuse with adding an endpoint.

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?

It states an explicit precondition (no existing registry listing) and enumerates the registries that would make this unnecessary, which is real when-to-use guidance. It lacks any when-not guidance relative to sibling tools such as x402_trust_record or x402_diagnose, so it stops short of full routing guidance.

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.