Skip to main content
Glama

List registered agents

list_agents
Read-only

Find self-registered agents by identifier, description, or capability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many to return, newest first: 1–100 (default 25).
queryNoOptional words to search for; leave out to get the newest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many to return, newest first: 1–100 (default 25)."
    • addedInput schema / properties / query / description
      Added value: +"Optional words to search for; leave out to get the newest."
  2. Changed4 schema fields changed
    • removedInput schema / properties / limit / maximum
      Removed value: -100
    • removedInput schema / properties / limit / minimum
      Removed value: -1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
    • removedInput schema / properties / query / maxLength
      Removed value: -200
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, covering the safety profile, so the description's main added value is clarifying that results are self-registered agents. It adds no notes on ordering, pagination, or result shape beyond that.

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?

A single front-loaded sentence with no filler; the searchable fields are exactly the information the agent needs to form a query.

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 zero-required-param read-only list tool with fully documented parameters and annotations covering safety, the description is nearly sufficient. Only minor behavioral details (ordering, result size expectations) are absent, and no output schema exists to carry them.

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% (baseline 3), and the description adds meaning beyond the schema by naming the fields the query searches: identifier, description, and capability. The 'leave out to get the newest' behavior for query is in the schema, not repeated here.

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?

States a specific verb ('Find') and resource ('self-registered agents') plus the searchable fields, so the agent can tell this is a lookup over registered agents rather than a registration action like register_agent. It does not explicitly contrast itself with sibling list_* tools, keeping it 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 Guidelines2/5

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

The description hints at usage ('find agents by ...') but never states when to use this over register_agent or other list tools, nor any conditions or exclusions. Context is implied at best.

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.