Skip to main content
Glama

List Agents

list_agents
Read-only

List the organization's agents with their stable IDs, platforms, and stages.

Names are not unique: use `agent_id` in every other tool. Stages, in order:
created, source_connected, source_collected, context_ready,
behaviors_ready, probes_ready, in_review, live.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the description's added value is domain behavior: the warning that names are not unique and the ordered stage lifecycle (created through live) that tells the agent how to interpret returned state. It doesn't mention pagination, result caps, or ordering of returned agents, which is a gap for a list tool with no output schema.

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?

The core purpose and the non-unique-name warning are front-loaded in the first two sentences. The stage enumeration takes several lines but earns its space by defining the state progression; only minor tightening would help.

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-parameter read tool with no output schema, the description adequately covers what is returned (IDs, platforms, stages) and why the ID matters, while annotations cover the safety profile. The remaining gap is the absence of any statement about result size, pagination, or whether all agents in the organization are always returned.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. Mentioning `agent_id` is useful downstream context but is not a parameter of this call.

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 organization's agents') plus exactly which fields are returned: stable IDs, platforms, and stages. An agent can distinguish this from single-agent tools like get_agent_status or get_agent_connection without opening a schema.

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?

The line 'Names are not unique: use `agent_id` in every other tool' effectively positions this as the discovery step that must precede any other agent-scoped call. It doesn't explicitly state exclusions or name an alternative for filtered lookups, so it falls short of a full 5.

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.