Skip to main content
Glama

post_directory_index

Pay $0.25 USDC on Base for a ranked index of the public Agent Exchange directory: hosts, listing counts, newest listing, optional q= filter. Does not write listings. GET /directory is the free raw list. POST /directory/list ($1) is how you get listed.

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_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
x_paymentNoSigned x402 payment payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, idempotentHint=false, openWorldHint=true; the description explains the reason — a per-call $0.25 USDC charge on Base — which tells the agent repeated calls re-incur cost and why a read behaves as a non-read-only POST. It stops short of describing payment failure handling (e.g., 402 retry behavior) or auth flow for the x_payment payload.

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?

Three tight sentences, front-loaded with cost and purpose, then exclusions, then alternatives. No redundant restatement of the name or title; every clause carries routing or pricing information.

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?

With no output schema, the description usefully names the returned fields and the optional filter, and the pricing/alternative context covers the main decision points. What is left implicit is the mechanics of the paid call — how x_payment is supplied and what happens when payment is rejected — which matters for a non-idempotent, charged POST.

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 x_payment field, so the baseline is 3, but the description adds the price, currency, and chain (0.25 USDC on Base) and documents an optional q= filter that does not appear in the input schema at all. That is meaningful meaning beyond the structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action (buy a ranked index) with the exact resource (public Agent Exchange directory) and enumerates what comes back: hosts, listing counts, newest listing, optional q= filter. It also explicitly separates itself from two siblings, naming GET /directory as the free raw list and POST /directory/list ($1) as the write path.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use (ranked index, filterable) versus when-not (free raw list at GET /directory, $1 listing creation at POST /directory/list) and states the negative constraint 'Does not write listings.' An agent can route correctly without inspecting any other definition.

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.