Skip to main content
Glama
Agent Tools (x402 + MCP + A2A directory)

Agent Tools (x402 + MCP + A2A directory)

Official

List x402 categories

list_categories
Read-onlyIdempotent

Lists category slugs for x402 paid APIs with service counts, helping you choose valid search or ask filters and browse available paid API types.

Instructions

List the category slugs used for x402 paid APIs, with how many services each has.

Use it to pick a valid category for search or ask, or to browse what kinds of paid APIs exist. Takes no arguments. Read-only.

Returns: {categories: [{category, count}, ...]}, largest first.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, and the description's 'Read-only' line merely restates them. The genuinely additive behavior is the ordering guarantee ('largest first'), which affects how an agent interprets the first entries. Return shape is also spelled out, but an output schema already exists, so that is duplication rather than new information.

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?

Short and front-loaded, with purpose first and usage second. Two of its four lines ('Takes no arguments. Read-only.' and the Returns block) restate information already carried by the schema, annotations, and output schema, so it is efficient but not waste-free.

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 zero-argument, read-only enumeration tool with a full annotation set and an output schema, the description covers everything an agent needs: what it enumerates, why to call it, and which siblings consume its output.

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?

Zero-parameter tool, so the baseline is high, but the description adds nothing beyond confirming 'Takes no arguments' — which the schema already makes obvious. It does not explain the meaning of the returned `category` slug format or its relationship to the `category` parameter on search/ask.

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 verb and resource (list the category slugs) plus the domain (x402 paid APIs) and the payload (how many services each has). An agent can immediately tell this apart from search/ask (which consume categories) and from stats tools (which report different aggregates).

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 two concrete uses: picking a valid `category` value for `search` or `ask`, and browsing the space of paid APIs. It names the sibling tools that consume the output, which is the key routing information for a discovery tool with no arguments.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.