Skip to main content
Glama

list_agents

Read-onlyIdempotent

Retrieve and filter all agents in your organization by type or status, with pagination, to inspect AI, human, and resource agents.

Instructions

List all agents in your organization

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
typeNoFilter by agent type
limitNoMax results to return
offsetNoPagination offset, at most 10000
statusNoFilter by status

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • changedInput schema / properties / offset / description
      Previous value: -"Pagination offset"New value: +"Pagination offset, at most 10000"
  2. First observedv1.2.5

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered structurally. The description's only added behavioral fact is that results are scoped to "your organization," which is genuinely useful tenancy context but is the sole contribution; return fields and pagination behavior are left unstated.

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?

A single front-loaded sentence with zero filler and no redundancy. It is efficient, though its brevity borders on under-specification rather than deliberate concision.

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, fully annotated, schema-complete list operation with no output schema, the description is minimally sufficient to call it correctly. It still leaves an agent guessing about result shape and default paging behavior, which is a modest gap for a tool returning a collection.

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 100%, with type, status, limit and offset all documented including enums and bounds, so the schema carries the parameter burden. The description adds nothing about filtering or paging, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List all agents in your organization" names a verb (list) and resource (agents) plus a tenant scope, so the basic operation is legible. However, it never distinguishes itself from the closest sibling get_agent, and it doesn't clarify that "agents" spans ai/human/resource types, which is only discoverable from the schema enum.

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?

The description contains no when-to-use guidance, no conditions for choosing it over get_agent or the create/delete_agent siblings, and no exclusions. An agent must infer usage purely from the name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.