Skip to main content
Glama

post_directory_list

Pay $1 USDC on Base to list your x402 endpoint in the public Agent Exchange directory. GET /directory is free. Body: { url, name?, description?, payTo? }. No account. Listing is live immediately and expires in 30 days unless renewed; pay again for the same URL to renew.

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

Input Schema

NameRequiredDescriptionDefault
x_paymentNoSigned x402 payment payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only state this is a non-read-only, open-world, non-idempotent write with destructiveHint=false. The description adds the facts an agent actually needs before calling: the exact price and chain, that GET /directory is free, that no account or auth is required, that the listing goes live immediately, and that it expires in 30 days unless renewed. The renewal-by-reposting note also explains why idempotentHint=false without contradicting it.

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?

Roughly four short sentences, each carrying distinct information: cost and action, the free alternative, the body shape, and the lifecycle/renewal rule. The price and action are front-loaded, and there is no filler.

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 paid write tool with no output schema, the definition covers cost, auth, body shape, liveness and expiry. The remaining gaps are minor: it does not say what the response contains (listing ID/URL), and the x_payment parameter itself is left entirely to the 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 x_payment is already documented as a signed x402 payment payload, and baseline would be 3. The description goes further by listing the logical request body (url, name?, description?, payTo?) that is absent from the input schema, which is genuinely additive. It names those fields but does not explain their semantics (e.g., what payTo controls), so a 4 rather than a 5.

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 names a concrete verb (list), resource (x402 endpoint in the public Agent Exchange directory), price and chain ($1 USDC on Base). It also contrasts with the free GET /directory read path, so the read/write split is clear without opening the schema. It does not name a sibling tool explicitly, which keeps it just 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is explicit: you use it to publish/register an endpoint, it costs $1 USDC on Base, needs no account, and must be renewed every 30 days by paying again. It gives no 'when not to use' guidance and does not point at post_directory_index or other listing alternatives, so an agent must infer those.

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.