Skip to main content
Glama

List Agents

agent_list
Read-onlyIdempotent

List agents in the current account context with cursor pagination. Returns a lightweight per-agent record (addresses are NOT included to avoid N+1 round-trips). Use agent_get for full single-agent detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of agents to return.
cursorNoPagination cursor from a previous list response.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
itemsNo
totalNo
cursorNo
has_moreNo
next_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds behavioral details about cursor pagination and the exclusion of addresses for performance, going beyond the annotations without contradicting them.

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?

The description is three sentences, direct and free of fluff. It efficiently states the action, the response characteristics, and the alternative tool, with no redundant information.

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 simple list tool with optional pagination, the description covers the core purpose, pagination behavior, response shape (lightweight, excluding addresses), and when to use a different tool. With an output schema present, the context is complete without over-explaining.

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?

Both parameters (limit and cursor) have clear descriptions in the schema, giving 100% coverage. The tool description does not add extra semantics beyond the schema, but it does reinforce the pagination concept, so the baseline of 3 is appropriate.

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?

The description clearly states the tool lists agents in the current account context with cursor pagination, and distinguishes itself from agent_get by noting it returns lightweight records without addresses. This gives a precise, unambiguous purpose.

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

Usage Guidelines5/5

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

Explicitly directs users to agent_get for full single-agent detail, indicating when not to use this tool. It also explains the lightweight response is intentional to avoid N+1 round-trips, providing context for when this listing is appropriate.

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.