Skip to main content
Glama

Field Service Business Platform by Doing Work

customers_search

Read-only

Find customers by name, company, email, phone or property address.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shop_id": "<shop_id>",
      "q": "<q>"
    },
    "name": "customers_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes
limitNoHow many rows to return. Default 50 when you leave it out. An integer, or a numeric string such as "50".
shop_idYes
include_archivedNo

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / limit / description
      Added value: +"How many rows to return. Default 50 when you leave it out. An integer, or a numeric string such as \"50\"."
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered and the bar is lower. The description adds that matching spans multiple fields rather than one, but it is silent on matching semantics (partial vs exact), result ordering, and whether archived customers are excluded by default even though an include_archived parameter exists.

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?

A single front-loaded sentence with no filler, and the searchable-field list is the most useful information to lead with. It errs on the side of under-specification rather than verbosity, so nothing needs cutting.

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

Completeness2/5

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

For a 4-parameter search tool with 25% schema coverage and many similarly named customer siblings, one sentence is not enough. The agent gets no routing guidance, no explanation of shop_id or include_archived, and no note on archived-record visibility; the presence of an output schema only relieves the description of return-value details, not of these gaps.

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

Parameters2/5

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

Schema coverage is only 25% — only 'limit' is documented in the schema. The description usefully tells the agent what can be stuffed into the required q parameter, but leaves shop_id (a required uuid, i.e. the tenant scope) and include_archived completely undefined in both schema and description. With half the parameters, including a required one, undocumented, this does not compensate for the coverage gap.

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 ('Find') and resource ('customers') and enumerates the searchable fields (name, company, email, phone, property address), so an agent knows exactly what this lookup covers. It stops short of differentiating itself from siblings such as customers_list, customers_duplicates or search_global, which also retrieve customer-like data.

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 guidance at all: nothing says whether this is the right entry point versus customers_list, customers_get, or the cross-entity search_global. No exclusions, prerequisites, or query-shape hints are given, so the agent must infer routing from the name alone.

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.