Skip to main content
Glama

List Customers

list_customers
Read-onlyIdempotent

Retrieve customers using optional filters for type, lifecycle phase, state, tags, and open follow-ups, with paginated results and summary info for CRM review.

Instructions

List customers with optional filters. Returns paginated results with summary info. Response includes a render field with tiered rendering guidance - check it before composing your reply.

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_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoConvenience filter for a single tag. Use `tags` for multiple.
tagsNoFilter to items carrying these tags. Combined per `tag_match` (default 'all': the item must carry every listed tag).
limitNoMax results
stateNoFilter by 2-letter state code
offsetNoOffset for pagination
tag_matchNoHow to combine `tags`: 'all' (item has every tag, default) or 'any' (item has at least one of them).
customer_typeNoFilter by customer type
customer_phaseNoFilter by lifecycle phase
has_open_follow_upsNoIf true, only return customers with open tasks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

B3.4/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 elsewhere. The description adds genuinely non-obvious behavior beyond that: results are paginated, responses carry summary info, and a 'render' field with tiered rendering guidance must be consulted before replying. It stops short of explaining pagination limits or how to detect the end of results, which is what would push this higher.

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?

Three short sentences, front-loaded with the operation and then the return shape, with no filler wording. The final sentence about the render field is the one piece of information an agent could not obtain from schema or annotations, so it earns its place.

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 nine-parameter read tool with no output schema, the description covers the essentials: what is returned (paginated, summary info) and the one non-standard response element (the render field) that requires action. Combined with 100% schema coverage and complete read-only annotations, an agent has enough to call it correctly.

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 all nine parameters documented including enum values, defaults, and the tag/tags/tag_match interaction, so the baseline of 3 applies. The description only says 'optional filters' generically and adds no filter-selection strategy or combination advice beyond what the schema already states.

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?

States a specific verb and resource ('List customers') plus the scope ('with optional filters'), so the agent knows exactly what entity is being read. It does not, however, distinguish itself from the sibling search_customers, leaving the agent to guess which list/query tool applies.

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?

There is no when-to-use or when-not-to-use guidance and no reference to alternatives such as search_customers or get_customer for single-record retrieval. The line about checking the render field is a response-handling instruction, not usage routing, so an agent gets no help choosing between this and its closest sibling.

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

Deploy Server

Other Tools