Skip to main content
Glama

list_agents

Read-only

List a user's personal agents (assistants). Each agent has its own calendar (list_calendar_events with agent_id) and todo list (list_todos with agent_id). With user_id: that user's agents. Without: when you act as an agent, your team (all agents of your owner); otherwise your own agents, or — if you own none — all agents of the tenant. An empty result therefore really means there are none.

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
user_idNoID of the user

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_id / description
      Added value: +"ID of the user"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: identity-dependent result scope and the guarantee that an empty result genuinely means no agents exist, preventing false-negative interpretation.

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?

Purpose is front-loaded in the first sentence and every clause carries information. The parameterless branch is delivered as a dense em-dash chain of conditionals that takes a second read, which costs some clarity but not much length.

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

Completeness5/5

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

For a single optional parameter, read-only tool with no output schema, the description covers what is returned conceptually, how scope is resolved, and how to interpret an empty list. Nothing an agent needs to call it correctly is missing.

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%, so the baseline is 3, but the description adds meaning the schema's "ID of the user" does not convey: omitting the parameter triggers role-based resolution (acting agent's team, own agents, or all tenant agents). That lifts it above baseline.

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 a user's personal agents (assistants)") and immediately defines what an agent is by naming its calendar and todo list. An agent can distinguish this from data-listing siblings without opening the 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?

Gives explicit conditional resolution rules: with user_id return that user's agents; without it, behavior depends on whether you are acting as an agent, whether you own agents, and tenant fallback. It also points to list_calendar_events and list_todos with agent_id as the follow-up actions, though it does not exclude or compare against suggest_agents.

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.