Skip to main content
Glama

Search

search
Read-onlyIdempotent

PRIMARY LOOKUP — use this first whenever the user names a person, company, or place. Searches clients AND their contacts together: client/company names, contact first/last names, titles, email addresses, phone numbers, and street/city/state/zip. A name that isn't a client is very often a contact (e.g. a teacher or planner) attached to one — this finds those where a plain client search would not. Multi-word queries match all words. Pass include='notes' to search the free-text NOTES instead (per-date gig notes, booking comments and internal manager notes, your calendar notes) — e.g. to find the gig whose note mentions parking.

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": {
      "q": "<q>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch text; with multiple words, all must match.
limitNoMaximum rows to return (integer; default varies, cap ~100).
includeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum rows to return (integer; default varies, cap ~100)."
    • addedInput schema / properties / q / description
      Added value: +"Search text; with multiple words, all must match."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuine behavioral context beyond that: multi-word queries require all words to match, contacts are included in the same result set, and notes mode searches free-text gig/booking/manager notes. It does not describe result shape or pagination, but limit/cap is handled in the schema.

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?

Front-loaded with the primary routing instruction in caps, then scope, then the mode switch — a sensible information order. Slightly dense with parentheticals and repeated field lists, but nearly every clause carries information an agent needs to call it correctly.

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?

No output schema exists, yet the description conveys the searched universe, the contacts-included behavior, and the notes mode with an example — enough to choose and call the tool competently. What result rows look like is left implicit, a minor gap for a lookup tool.

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

Parameters4/5

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

Schema coverage is 67%, and the description adds real meaning where the schema is thin: the `include` parameter has no schema description, so explaining that include='notes' switches to free-text notes (and what those notes contain) is a substantive contribution. The `q` semantics restate the schema's own wording, and `limit` is left to the schema.

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?

States a specific verb and resource set: searches clients AND their contacts together, and enumerates the searchable fields (company names, contact names, titles, emails, phones, addresses). It also distinguishes itself from a plain client search by explaining the contact-fallback case, so an agent can tell what makes this tool distinct.

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?

Explicit routing guidance: 'PRIMARY LOOKUP — use this first whenever the user names a person, company, or place,' plus a named mode switch ('Pass include=notes ... instead') with a concrete motivating example. It stops short of naming sibling tools like search_domain as alternatives, but the when-to-use guidance is clear and actionable.

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