Skip to main content
Glama

List a paid endpoint

list_endpoint
Idempotent

List your own x402 endpoint in the market for free. It is called unpaid and listed only if it returns a valid x402 v2 challenge on an OMNIGATE or 402Proof network. Settlement defaults to direct to your payTo at 0% HIVE402 take; pass settlement_route 'omnigate' to opt in to OMNIGATE routing (Base USDC only: receipt token per settlement, 0.005 USDC fee inside settlement, waived inside the daily budget).

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": "list_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull https URL of the paid endpoint.
methodNoHTTP method buyers use, default GET.
settlement_routeNoSettlement route, default 'direct'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / settlement_route
      Added value: +{
      +  "description": "Settlement route, default 'direct'.",
      +  "enum": [
      +    "direct",
      +    "omnigate"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a mutation (readOnlyHint=false) that is idempotent and open-world, and the description adds genuinely new behavior: listings start in an "unpaid" state, are only published after challenge validation, default to direct settlement at 0% HIVE402 take, and omnigate routing carries a per-settlement fee waived within a daily budget. It still omits what happens on validation failure, whether re-listing updates an existing entry, and any auth requirements.

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 action and cost, followed by the eligibility condition and the settlement default. The dense parenthetical on Base USDC fees is jargon-heavy but every clause carries operational information an agent needs.

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

Completeness3/5

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

For a three-parameter mutation with no output schema, the description covers effect, eligibility, and cost, but says nothing about the return value (e.g., a listing id or status), whether submission is synchronous with validation, or what the caller should do after success.

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%, so the baseline is 3. The description meaningfully enriches settlement_route by explaining the economics of each enum value ('omnigate' opt-in vs. direct at 0% take), but url and method receive no added meaning beyond the schema.

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?

"List your own x402 endpoint in the market for free" states a concrete action and resource, and clarifies it is a publish/registration step rather than a read. The verb "list" is inherently ambiguous against read-style siblings such as get_listing and search_catalog, and the description never names a sibling to disambiguate, so it stops short of a 5.

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: you publish an endpoint you own in order to sell access to it, and eligibility is gated on returning a valid x402 v2 challenge on OMNIGATE or 402Proof. There is no explicit when-to-use/when-not guidance and no pointer to related tools like get_listing or start_purchase for the buyer side.

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