Skip to main content
Glama
CRM MCP Server

CRM MCP Server

search_customers

Read-onlyIdempotent

Find customers by name, company, or email, and filter results by status or segment to locate the right CRM record.

Instructions

Find customers by name, company or email, optionally filtered by status and segment.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoName, company or email fragment. Empty = all.
statusNo
segmentNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered externally. The description adds no behavioral detail beyond that — nothing about result caps, matching semantics (exact vs. fragment), or how the limit interacts with total matches — so it is only minimally additive.

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?

A single sentence that is front-loaded with the core action and followed by the optional narrowing filters. Every clause carries information and there is no redundant restatement of the tool name.

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

Completeness3/5

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

With an output schema present, return values need no explanation, and the tool is low-risk and read-only. Still, key operational details are missing: what 'limit' does (default 10, max 50, and whether it truncates silently), and whether the query match is substring, tokenized, or exact.

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 25%: only 'query' is documented in the schema ('Name, company or email fragment. Empty = all.'). The description partially compensates by naming the searchable fields and framing status/segment as optional filters, but it says nothing about 'limit' (default 10, max 50) and merely echoes the field names for status and segment rather than explaining their allowed values.

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 states a specific verb and resource ('Find customers') plus the searchable fields (name, company, email) and the optional filters, so an agent can immediately tell this is a customer lookup tool. It does not explicitly contrast with the related list/search sibling tools, keeping it 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 is implied by the phrase 'Find customers by name, company or email, optionally filtered by status and segment', which signals this is the free-text lookup path. However, there is no explicit when-to-use vs when-not guidance and no named alternative (e.g., list_inactive_customers or get_customer_summary).

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