Skip to main content
Glama

List customers in the books

list_customers
Read-onlyIdempotent

Customers in the books — the ids create_sales_order, quote_prices and invoice_billable_work take — with each one's price level and whether a tax exemption is on file. Reads the entity the person is working in unless entity_id names another.

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
qNoName or email.
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
entity_idNoAnother entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countYesHow many rows are in `results`.
resultsYesThe rows.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds behavior the annotations do not: that the call is entity-scoped and defaults to the entity the person is working in unless entity_id overrides it. It omits pagination behavior and total-count semantics, which keeps it from a 5.

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?

Two sentences, zero filler, with the resource and its consumers stated first and the entity-scoping rule second. Every clause carries information an agent would otherwise have to infer.

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?

With an output schema present, the description needn't enumerate return values, and annotations cover the safety profile. It still adds value by describing what each row includes (price level, tax exemption) and how entity scoping defaults, so the agent has enough to call it correctly. The only real gap is the absence of guidance on choosing between this and list_contacts.

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%, so the schema already documents q, limit, offset and entity_id. The description's note that entity_id names 'another entity in the same books' largely repeats the schema's own wording ('Leave out to use the entity the person is working in'). Baseline 3 is appropriate since the schema does the heavy lifting.

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 description names the specific resource (customers in the books) and the fields each row carries (price level, tax exemption on file), which is more than a restatement of the name. It also ties the output to the tools that consume these ids (create_sales_order, quote_prices, invoice_billable_work). It does not differentiate from list_contacts, which is a plausible near-neighbor sibling, so it stops short of a 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?

Usage context is implied rather than stated: the definition tells the agent that the ids feed order/quote/invoice workflows, which hints at when to call it. It never says when not to use it or how it differs from list_contacts, so the agent must infer the selection rule. No explicit alternative routing is provided.

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.

Resources