Skip to main content
Glama

GENAS

Search A2A agents

search_agents
Read-onlyIdempotent

Use when the user needs an A2A agent for a task: finds listed agents by words in their name, provider, domain or skill IDs, optionally filtered by declared authentication or a signed card. Ordered by how many words match, then by domain (no paid placement). Then use check_agents on the ones you plan to call.

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
qNoWords, max 200 characters
authNoDeclared authentication scheme
limitNo
offsetNo
signedNoOnly agents whose card is signed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and non-open-world, so safety is covered. The description adds genuinely new behavior: result ordering is by number of matched words then domain, with an explicit 'no paid placement' assurance, which tells the agent how to interpret rank. It stops short of describing pagination or how many results a query typically yields.

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, zero filler. The usage trigger and matching semantics come first, and the follow-up routing to check_agents is placed last where it belongs as a next step.

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 should hint at the return shape; it conveys that results are ordered agent listings but not which fields come back per agent. Ranking and filtering semantics are otherwise complete for a five-parameter read-only search.

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 60% and the description compensates for the gaps by explaining what q actually matches (name, provider, domain, skill IDs) rather than just 'words', and by clarifying that auth and signed operate on the declared/signed agent card. The limit and offset parameters remain undocumented in both places, but their defaults and bounds in the schema make them largely self-explanatory.

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 (finds) and resource (listed A2A agents), then enumerates exactly which fields the query words match: name, provider, domain, skill IDs. The phrase 'A2A agent' plus the filtering options make it unmistakable versus check_agents and get_agent_changes.

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?

Opens with an explicit trigger ('Use when the user needs an A2A agent for a task') and closes with an explicit next step routing to check_agents for the agents you intend to call. That is both when-to-use and alternative-selection guidance.

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