Skip to main content
Glama

search_contacts

Read-onlyIdempotent

Search Outlook's address book by name, company, job title, email, or phone digits to find contact details. Use lookup_directory for organization-wide directory searches.

Instructions

Search Outlook's address book by name, company, job title, email, or phone digits. The organization directory is searched with lookup_directory.

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_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and a closed world, so safety and repeatability need no restating. The description adds the useful behavioral fact that matching spans multiple fields including phone digits, but says nothing about match semantics (substring vs prefix), result caps, or ordering. With annotations carrying the safety profile, a 3 fits.

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 short sentences, zero filler, and the core search scope is front-loaded ahead of the disambiguation sentence. Every sentence earns its place.

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

Completeness3/5

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

For a simple two-parameter search tool with annotations covering the safety profile and no output schema, most of what an agent needs is present. The gaps are the undocumented limit parameter and the absence of any hint about result volume or pagination, which matter for an agent deciding how to page through matches.

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 the burden. It does explain what the query string can match against (name, company, job title, email, phone digits), which is genuinely valuable. However, the limit parameter (default 50) is never mentioned, so half the parameters remain undocumented in both schema and description.

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 (search) and resource (Outlook's address book) and enumerates the searchable fields: name, company, job title, email, phone digits. It also names the sibling lookup_directory as the tool for the organization directory, so the agent can distinguish the two without opening either schema.

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?

Explicitly routes directory-wide lookups to lookup_directory, giving a clear when-to-use-this-vs-alternative signal. It does not state prerequisites or exclusions beyond that single contrast, so it stops short of full when/when-not guidance.

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