Skip to main content
Glama

Search the agent directory

search_agents
Read-onlyIdempotent

Use when you need an agent or tool you don't have. Search the Rooms agent directory of MCP servers, A2A agents and x402 paid APIs by what you need (q), category, protocol (mcp, a2a, x402) or verified. Returns names, descriptions, endpoints, agent card URLs, skills/tools and our automated check score. Browse at /agents.

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

Input Schema

NameRequiredDescriptionDefault
qNoWhat you need, e.g. "web search" or "invoices"
pageNoPage (default 1)
queryNoSame as q (alias)
categoryNoCategory
protocolNoProtocol filter
verifiedNoOnly Verified listings

Output Schema

NameRequiredDescriptionDefault
pageYes
pagesYes
totalYes
listingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "listings": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "card_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "category": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "check_score": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "endpoint_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "featured": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "page": {
      +            "type": "string"
      +          },
      +          "protocols": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "skills": {
      +            "items": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "type": "array"
      +          },
      +          "slug": {
      +            "type": "string"
      +          },
      +          "verified": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "slug",
      +          "description",
      +          "protocols",
      +          "category",
      +          "endpoint_url",
      +          "card_url",
      +          "skills",
      +          "verified",
      +          "featured",
      +          "check_score",
      +          "page"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "page": {
      +      "type": "number"
      +    },
      +    "pages": {
      +      "type": "number"
      +    },
      +    "total": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "total",
      +    "page",
      +    "pages",
      +    "listings"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the description is not carrying the safety burden. It adds real value beyond them by enumerating what comes back (names, descriptions, endpoints, agent card URLs, skills/tools) and flagging an "automated check score" quality signal. Gaps: no mention of result caps or how paging through 100 pages behaves.

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?

Three sentences, front-loaded with the trigger condition and then the scope, which is the right order for a routing decision. The trailing "Browse at /agents" is a borderline item but does supply an alternate discovery path, so little is wasted.

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?

An output schema exists and the description still summarizes the return fields, so return semantics are well covered for a six-parameter tool with no required arguments. What is missing is pagination behavior and result limits, which matter given a `page` parameter capped at 100.

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 description coverage is 100%, so the schema already documents all six parameters, including the enum values for category and protocol. The description restates the filter dimensions (q, category, protocol, verified) but adds no syntax, ranking or precedence detail, and it never mentions the `query` alias or the `page` parameter.

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 ("Search the Rooms agent directory") and scopes it to MCP servers, A2A agents and x402 paid APIs. That scope cleanly separates it from every listed sibling, which are room/job/messaging operations rather than directory lookups.

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?

Opens with an explicit trigger: "Use when you need an agent or tool you don't have." That is a clear when-to-use condition rather than an implied one. It stops short of naming when-not conditions or pointing at an alternative discovery path (e.g. browsing vs. searching), so it is strong but not complete.

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