Skip to main content
Glama

list_clients

Read-only

List or search a shop's clients by name, phone, or email, returning IDs, contact details, and last visit dates with cursor-based pagination.

Instructions

List or search your shop's clients. Returns clients with id, name, phone, email and last visit date, as Squire shows them. Phone and email are personal data: return them only when the user asks for them. Follow next_cursor until it is null.

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

Input Schema

NameRequiredDescriptionDefault
queryNoName, phone or email to search for.
cursorNonext_cursor from the previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this a safe, read-only, open-world operation, and the description adds real context beyond them: the exact return payload, a PII handling rule for phone and email, and an explicit pagination protocol ("Follow next_cursor until it is null"). It stops short of stating page size or behavior for an empty query, so it isn't fully exhaustive.

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?

Three short sentences, front-loaded with purpose then payload then operational rules. No filler or restated boilerplate; every sentence carries actionable information.

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 no output schema, the description steps up by naming the returned fields, and it covers the pagination loop and privacy constraint. Gaps remain around result ordering, page size, and the behavior of an empty query, but nothing critical to correct invocation is missing.

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 coverage is 100%, so both parameters are already documented, and the description adds little syntax detail beyond the schema's own descriptions. It does implicitly convey that omitting query yields a plain listing rather than a search, which is a modest addition.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List or search your shop's clients" gives a specific verb pair and resource, and scopes it to the shop's own clients. It also enumerates returned fields (id, name, phone, email, last visit), so an agent knows exactly what it gets without opening the schema.

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 description implies two modes (browse vs. search) but never states when to use one over the other, nor does it name any alternative tool or exclusion. The only explicit condition is a privacy rule for returning phone/email, which is a constraint rather than selection guidance.

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