Skip to main content
Glama

Search CRM

search
Read-onlyIdempotent

Search across companies, people, opportunities, tasks, and notes. Returns canonical URLs suitable for ChatGPT Company Knowledge citation.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per entity (default 5, max 20). Total payload up to 5×limit across companies, people, opportunities, tasks, and notes.
queryYesSearch query (case-insensitive substring match across names, titles, and the values of text, long text, rich text, email, phone, link, domain, and color custom attributes, also called custom fields, so note bodies and task descriptions match). Max 255 chars.

Output Schema

NameRequiredDescriptionDefault
countYes
resultsYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Search query (case-insensitive substring match across names, titles, and the values of text, long text, email, phone, link, domain, and color custom attributes, also called custom fields). Max 255 chars."New value: +"Search query (case-insensitive substring match across names, titles, and the values of text, long text, rich text, email, phone, link, domain, and color custom attributes, also called custom fields, so note bodies and task descriptions match). Max 255 chars."
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Search query (case-insensitive substring match across names, titles, and searchable custom-field values). Max 255 chars."New value: +"Search query (case-insensitive substring match across names, titles, and the values of text, long text, email, phone, link, domain, and color custom attributes, also called custom fields). Max 255 chars."
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the bar is lower. The description adds that results span five entity types and are returned as canonical citation URLs, which is genuine value, but says nothing about result ordering, relevance, or what happens when nothing matches.

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?

Two sentences, zero filler, with the scope of the search front-loaded and the citation behavior second. Nothing is redundant with the name or title.

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?

An output schema exists so return-shape explanation is not required, and the annotations plus a rich input schema carry most of the burden. The remaining gap is behavioral: no hint about ordering or empty-result handling for a multi-entity search, which an agent choosing between this and a list tool would benefit from.

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% — both query (substring match semantics, matched fields, 255-char cap) and limit (default 5, max 20, 5×limit payload) are fully documented in the schema. The description adds no parameter meaning beyond that, so the 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?

Names a concrete verb plus the exact resource scope — companies, people, opportunities, tasks, and notes — and adds the distinctive output trait of canonical URLs for citation. That makes it distinguishable from the per-entity get-*/list-* siblings, though it never explicitly says it is the cross-entity text-search entry point versus those single-entity readers.

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?

The citation-oriented sentence implies the usage context (finding entities to cite in an answer), but there is no explicit when-to-use/when-not guidance and no named alternative such as list-companies-tool for exhaustive enumeration versus this substring search. Usage must be inferred.

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.