Skip to main content
Glama

Search customers

asks_search_customers
Read-onlyIdempotent

Finds customers by name, email or phone (search), newest first, with their conversation count. Paginated.

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

Input Schema

NameRequiredDescriptionDefault
limitNoPage size (default 20, max 100).
cursorNo`next_cursor` from the previous page. Keep the other arguments unchanged.
searchNoName, email or phone contains.
statusNo`blocked` = a teammate blocked the customer (read-only; unblocking happens in the dashboard).

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 cover readOnly, idempotent, non-destructive and closed-world, so safety is handled. The description still adds genuinely new behavior: results are sorted newest first, each customer comes back with a conversation count, and the result set is paginated — return-shape information not present in any structured field since there is no output schema.

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?

One front-loaded sentence with no filler, and the trailing 'Paginated.' fragment carries real information about result handling rather than padding. Every clause earns its place.

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 usefully tells the agent that each result carries a conversation count and is ordered newest first, which is what an agent most needs to interpret results. It does not describe what other customer fields are returned or whether the status filter combines with search, leaving minor gaps for a read-only, fully schema-documented tool.

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 all four parameters including the status enum and cursor semantics are already documented in the schema. The description only echoes that `search` matches name, email or phone, adding essentially no meaning beyond the schema text; baseline 3 applies.

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 ('Finds') plus resource ('customers') and the match keys (name, email, phone), which is enough to distinguish it from asks_search_conversations and asks_search_knowledge by resource alone. It stops short of naming a sibling explicitly, so it lands at 4 rather than 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 is implied by the resource and match fields, but there is no explicit when-to-use versus asks_get_customer (direct lookup) or the other search tools, and no stated prerequisites. An agent can infer the case but must do the routing itself.

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