Skip to main content
Glama

AI Receptionist & Answering Service (OsmO)

Find a Contact

find_contact
Read-only

Use this when the user names a caller ("did the plumber call?", "what did Ravi want?"). Searches the user's own call history by name, loosely (part of a name matches), and returns up to 5 matches, each with a contactId (a callId), the full number and when they last spoke. No match returns code not_found with an empty contacts list. Searches call history only, not the phone book; to return a call pass the number to call_back.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe name the user said, e.g. "Ravi".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior3/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 structurally. The description still adds real behavior: a hard cap of 5 matches, loose/partial matching, and the not_found code with an empty contacts list rather than an error. However, it omits the observable shape of the returned fields beyond a one-line summary — acceptable given the annotations, but a thin step above the bar rather than a rich disclosure.

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?

The trigger and the negative scope are front-loaded, and every subsequent clause carries new information — match cap, contactId identity, return shape, failure code, and the call_back handoff. No filler or repetition of the title.

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

Completeness5/5

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

With no output schema, the description carries the burden of describing returns and does so: up to 5 matches, contactId (noted as a callId), the full number, and when they last spoke, plus the not_found case. For a single-parameter lookup tool this is complete enough to call and interpret correctly.

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 100% and the schema itself gives the example "Ravi", so the description need not restate it. It does add meaning the schema cannot express: matching is loose, so a partial name is a valid input and returns multiple candidates. That is genuine semantic value beyond the typed string with minLength 1.

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?

The description gives a specific verb and resource — searches the user's own call history by name — plus the match semantics (loose, partial-name) and result cap. It explicitly distinguishes itself from the phone book and from call_back, so an agent can place it among siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It opens with the exact trigger condition and a concrete utterance example ("did the plumber call?", "what did Ravi want?"), then names the chaining alternative: pass the number to call_back to return a call. Any ambiguity about phone-book lookup is closed explicitly.

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.