Skip to main content
Glama

search_customers

Read-only

Find existing customers by name, email, customer number, VAT number, or organisation number. VAT and organisation checks scan all customers to avoid duplicates before creating a new account.

Instructions

Find customers. vat_number / organisation_number scan ALL customers (registers often hold the same company under several customer numbers), so you find every existing account before creating a new one.

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
nameNo
emailNo
vat_numberNo
customer_numberNo
include_inactiveNo
organisation_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.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 and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavior beyond that: identifier searches bypass customer-number scoping because registers hold duplicate accounts. It says nothing about result volume, pagination, or match semantics (exact vs. partial).

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 short sentences, front-loaded with the core action and followed by the differentiating caveat. The parenthetical is slightly run-on but every clause carries information.

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 six-parameter, fully undocumented schema with no output schema, the description covers only a third of the parameters and omits matching semantics, inactive-record handling, and result shape. An agent could call it but might misinterpret what a hit or miss means.

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 0%, so the description must carry parameter meaning, and it only clarifies two of six (vat_number, organisation_number). name, email, customer_number, and especially include_inactive (which silently broadens results) receive no explanation of matching or default behavior.

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 and resource ("Find customers") and immediately explains a key scoping trait: vat_number/organisation_number search across ALL customers. It does not explicitly differentiate itself from the sibling get_customer (exact lookup) or create_customer, so it falls short of the top score.

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?

Gives a clear use case: run this before creating a new account to avoid duplicates across multiple customer numbers. It is a real when-to-use statement, but there are no exclusions (e.g., when to prefer get_customer for a known ID) or guidance on combining filters.

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