Skip to main content
Glama

List agents

list-agents
Read-onlyIdempotent

List counterparty agents with optional filters.

WHEN TO USE:

  • To find all customers or vendors

  • To search for agents from a specific source (quickbooks, xero, plaid)

  • To list inactive agents when reviewing counterparty records

PARAMETERS:

  • agent_type (optional): 'customer' | 'vendor' | 'employee' | 'owner' | 'supplier' | 'government' | 'lender' | 'self' | 'other'

  • source (optional): 'quickbooks' | 'xero' | 'plaid' | 'native'

  • is_active (optional, default true): pass false to include inactive agents

  • limit (optional, default 50, max 1000)

  • offset (optional, default 0)

RETURNS: List of AgentResponse objects ordered by name.

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
limitNo
offsetNo
sourceNo
is_activeNo
agent_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the read-only, idempotent, non-destructive annotations, the description discloses default filtering behavior, pagination defaults and limits, and name ordering. A useful remaining clarification would be whether is_active=false returns only inactive agents or both active and inactive agents.

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 purpose is front-loaded, and the usage, parameter, and return sections are compact and easy to scan. The bullets add invocation-relevant information without filler or unnecessary repetition.

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

Completeness4/5

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

The definition provides enough filter, default, bound, and ordering information for straightforward invocation of this moderately simple list tool. Because there is no output schema, naming only "AgentResponse" leaves result fields and pagination metadata unspecified, while the inactive-filter semantics could also be more precise.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage and no schema enums, the description compensates by documenting all five parameters, including allowed agent_type and source values, defaults, and the limit maximum. It also explains the practical effect of is_active=false; only offset's pagination role remains implicit.

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?

The opening line gives a specific verb and resource: "List counterparty agents with optional filters." Customer/vendor and source-based examples further clarify scope, but there is no explicit differentiation from related siblings such as agent-activity.

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?

The "WHEN TO USE" section supplies three concrete situations: finding customers or vendors, filtering by source, and reviewing inactive counterparty records. It does not provide when-not guidance or route users to an alternative for a different agent-related task.

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.