Skip to main content
Glama

Find a contact

lookup_contact
Read-only

Fuzzy search for an existing client or contact by name. Returns matching contacts with their contactId, which the invoice, quote and time tools take.

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

Input Schema

NameRequiredDescriptionDefault
nameYesContact name to search for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral detail beyond that: matching is fuzzy rather than exact, and the payload includes contactId usable by other tools. It does not cover result limits or empty-result behavior, keeping it short of a 5.

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. The search behavior is front-loaded and the return value with its downstream purpose follows immediately, so the agent gets both call semantics and follow-up value at a glance.

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?

For a one-parameter read tool with no output schema, the definition covers purpose, matching mode, and the key returned field, which is close to sufficient. The remaining gap is minor: nothing about how many matches come back or what an empty result means.

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?

With a single parameter at 100% schema coverage, the baseline is 3, but the description earns more by characterizing the matching mode as fuzzy — meaning partial or approximate names are accepted, which the schema's 'Contact name to search for' does not convey.

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 names a specific verb and resource ('Fuzzy search for an existing client or contact by name') and states what comes back (matching contacts with contactId). It clearly separates itself from create_contact, though it does not distinguish itself from query_clients, which is the more plausible confusion.

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 rather than stated: 'fuzzy search' signals that partial names are acceptable, and the note that invoice, quote and time tools take the returned contactId hints at a resolve-then-call workflow. There is no explicit when-to-use or when-not-to-use, and no guidance on preferring this over query_clients.

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