Skip to main content
Glama

Confita

Find customers

find_customers
Read-onlyIdempotent

For shop owners: the shop's customers whose name, email, phone or handle holds text, or all of them by name, each with orders placed, money spent and whether Confita can email them. Up to 20 rows; one customer in full is get_customer.

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": "find_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoPart of a name, email, phone or handle. Left out, every customer by name.
cursorNoThe `next_cursor` of the page before.

Output Schema

NameRequiredDescriptionDefault
nextNo
errorNo
outcomeNo
timezoneNo
customersNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral facts: results are capped at 20 rows and each row carries derived fields (order count, spend, email-eligibility). It does not explain paging mechanics beyond the row cap, which keeps it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the audience and the core filter, with no filler. The first sentence is long and comma-dense, packing filter fields, default ordering, and returned fields together, which slightly hurts scannability.

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?

An output schema exists, yet the description still summarizes the salient return fields, and it covers the search semantics, the result cap, and the escape hatch to `get_customer`. For a two-parameter, zero-required read tool this is everything an agent needs to select and 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%, and both parameters already document the substring match across the four fields, the omit-to-list-all default, and that `cursor` is the previous page's `next_cursor`. The description restates this at a higher level rather than adding new syntax or edge-case guidance, so baseline 3 applies.

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?

The description names a specific resource (the shop's customers), the searchable fields (name, email, phone, handle), the default ordering when `text` is omitted, and the payload returned (orders placed, money spent, email reachability). It also explicitly separates itself from `get_customer` for single-record retrieval, so an agent can route without opening either schema.

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?

It states the audience (shop owners) and gives one explicit routing rule: for one customer in full, use `get_customer` instead. The implicit default ('left out, every customer by name') also tells the agent how to browse without a query, but there is no explicit statement of when this tool is a poor fit beyond the single-record case.

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