Skip to main content
Glama

List agents

list_agents
Read-only

List the tenant's agents (actor-agents that own brains/skills/goals/memory/calendar and are MCP-callable). Optional active filter.

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
activeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 safety profile is covered structurally. The description adds useful identity context (agents are MCP-callable and own brains/skills/goals/memory/calendar), which helps the agent reason about the results. It says nothing about pagination, ordering, or whether inactive agents are excluded by default when the filter is omitted.

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?

Two short sentences with the resource definition front-loaded and the parameter note at the end; nothing is redundant. It is arguably too terse for a list tool, but there is no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter read-only list tool with annotations covering safety, this is close to adequate. The remaining gap is the default state of the active filter and basic result expectations (count, ordering, pagination), which matter for a tenant-wide list.

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 load for the single 'active' boolean. 'Optional active filter' does confirm it is non-required and that it filters by active state, which is more than the bare schema offers. It does not state the default behavior when the flag is omitted, leaving the primary ambiguity unresolved.

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 and resource ('List the tenant's agents') and goes further by defining what an agent is: actor-agents that own brains/skills/goals/memory/calendar and are MCP-callable. That definition distinguishes it from sibling list tools like list_brains or list_goals. It stops short of naming which sibling to use instead, so it does not reach 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?

There is no when-to-use or when-not-to-use guidance. Among ~33 sibling list_* tools, the description never says to call this rather than list_brains/list_goals when you want the owning entity, nor does it mention scoping or prerequisites. Usage is only inferred from the verb 'List'.

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