Skip to main content
Glama

List voice agents

list_agents
Read-onlyIdempotent

List voice agents

Returns the voice agents visible to the key, one page at a time, with a real total from a separate count query. An ordinary account key sees only its own agents; a reseller key sees every agent belonging to that reseller and can narrow the result to one customer with userId. Each item is the list form of an agent: no prompt, no model settings and no privacy settings, so fetch the individual agent when you need those. Note that the status query parameter is read but never applied, so passing it does not filter anything at present.

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
pageNoPage to return. Starts at 1; values below 1 are clamped to 1.
statusNoCurrently ignored. The handler parses this value but does not filter on it, so the response is the same whether or not it is sent.
userIdNoReseller keys only: restrict the result to a single customer account. The key must be a reseller key and the account must be one of that reseller customers, otherwise the request is rejected with 403. Ignored for ordinary account keys, which always see only their own records.
perPageNoItems per page. Clamped to the range 1 to 100; larger values are reduced to 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations by disclosing that pagination comes with a real total from a separate count query, that items are a reduced list form lacking prompt, model and privacy settings, and — most valuably — that the status parameter is parsed but never applied, so it silently does nothing. That no-op disclosure prevents a caller from believing a filter took effect, which no annotation or schema-level hint conveys on its own.

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?

Front-loads what the tool returns, then key-scope behavior, then item shape, then the status caveat, in that order of decision value. Every sentence carries information an agent would otherwise have to discover by trial; nothing is padding.

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?

No output schema exists, and the description compensates by describing the return shape (list-form items, missing detail fields), pagination semantics, and total count behavior. For a four-parameter read-only listing tool, an agent has everything it needs to call this correctly and interpret the result.

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% and the schema itself already explains page clamping, perPage limits, userId's reseller-only 403 behavior, and status being ignored. The description restates the userId scoping and the status no-op, adding mild reinforcement but no new syntax or format detail beyond the structured fields, so the baseline of 3 applies.

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 a specific verb and resource (list voice agents) and states the scope precisely: agents visible to the key, one page at a time. It does not explicitly differentiate itself from similarly named siblings such as list_assignable_agents or list_live_chat_agents, so an agent must infer the distinction from the 'voice agents' scope alone.

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 clear situational context: ordinary account keys see only their own agents, reseller keys see everything under the reseller and can narrow with userId. It also routes the caller away from this tool when full detail is needed ('fetch the individual agent when you need those'). It stops short of naming a specific alternative tool for that follow-up, but the direction is unambiguous.

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.