Skip to main content
Glama

list_agents

Read-onlyIdempotent

Retrieve Zendesk agents with roles, groups, suspended status, and last login; filter by role or group, flag inactive users, and get totals by role for audits and planning.

Instructions

Agent roster for audits and planning: role, custom role, groups (default marked), suspended, last login — plus totals by role and custom role, and who hasn't logged in recently.

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
roleNoall
groupNoOnly agents in this group (name or id).
limitNo
inactive_daysNoFlag agents with no login in this many days.
include_suspendedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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=true, so the safety profile is covered by structured data. The description contributes the return shape (per-agent fields plus aggregate totals and inactivity flags), which is genuinely useful. It says nothing, however, about result size or truncation behavior, which matters given a default limit of 2000 and a maximum of 10000.

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 that opens with the purpose and then enumerates the returned fields, with no filler. The em-dash enumeration is dense but readable; nothing needs to be cut.

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?

With no output schema, the description carries the return-value burden and does describe fields and totals adequately. What is missing is scale and pagination context — an agent cannot tell from the definition whether a default-limited result set is complete or truncated, which is a meaningful gap for a roster tool that can return thousands of agents.

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 description coverage is only 40%, so the description has to compensate and largely does: it implies role filtering ('totals by role and custom role'), group filtering with defaults marked, suspension handling, and inactivity windows ('who hasn't logged in recently'), covering four of the five parameters. Only the limit parameter's paging meaning is left unaddressed.

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?

Names the resource (agent roster) and enumerates what it returns: role, custom role, group membership with defaults marked, suspension state, last login, plus role/custom-role totals and recent-inactivity flags. That is a clear verb-plus-resource picture an agent can match to an audit request. It stops short of explicitly contrasting with siblings such as provision_agents or get_user, so it lands at 4 rather than 5.

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

Usage Guidelines3/5

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

The phrase 'for audits and planning' implies a context but never states when this tool should be chosen over alternatives, nor any exclusions such as 'do not use for a single user lookup'. Usage is inferred rather than instructed.

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