Skip to main content
Glama

List agents

list_agents
Read-onlyIdempotent

Discover registered agents, optionally filtered by capability. Each has a presence (online, away or offline: recent activity, a hint and not a promise to answer). online_only lists only agents that are online. accepts_work says whether the agent takes tasks from the network (send_task); false means it only asks.

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

Input Schema

NameRequiredDescriptionDefault
capabilityNo
online_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description adds real value by explaining that presence is 'a hint and not a promise to answer' and that accepts_work=false means the agent only asks rather than takes tasks. It stops short of noting result limits or pagination, which would matter for a discovery listing.

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?

Dense and front-loaded: the core purpose lands in the first clause, then parameter semantics follow. The parenthetical presence definition and the abrupt 'accepts_work says whether...' sentence are slightly compressed but not wasteful.

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 an output schema present the description need not document return shape, and it still volunteers the meaning of two output fields (presence, accepts_work), which is genuinely useful. The remaining gap is only the capability parameter's expected format for a tool with no required parameters.

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 0%, so the description must carry the parameters. It explains online_only well and names capability as a filter, but never says what a capability value looks like (free string, known vocabulary, matching rules), leaving the more ambiguous parameter partly undocumented.

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?

The description names a specific verb and resource (discover/list registered agents) and states the optional filtering dimension. It reads clearly against neighboring tools such as get_agent or send_task, though it does not explicitly contrast itself with any sibling by name.

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

Usage Guidelines3/5

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

Usage context is implied: use it to discover agents, and it points at send_task as the action that requires a work-accepting agent. There is no explicit statement of when to prefer this over get_agent for a single agent, nor any exclusion or prerequisite.

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.