Skip to main content
Glama

search_contacts

Search personal Outlook contacts and the Entra organization directory by query, with optional offline cache-only lookup.

Instructions

List or search personal Outlook contacts and Entra organization directory. A query reads personal contacts and the organization directory: 2-3 Graph requests.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
offlineNoRead the local cache only; no Graph request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose a genuinely useful behavioral trait: a query triggers 2-3 Graph requests spanning both personal contacts and the org directory, and the offline flag implies a local cache path. It omits permissions requirements, whether directory results are filtered by the caller's tenant visibility, result ordering, and whether the tool is read-only or has side effects (it appears read-only, but that is inferred, not stated).

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?

Two short sentences, front-loaded with the verb and resources; the second sentence delivers the cost signal early. There is mild redundancy between 'personal Outlook contacts and Entra organization directory' and 'personal contacts and the organization directory,' which is the only thing keeping it from a 5.

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?

With no annotations, no output schema, and three parameters at low coverage, the description should do more. It adequately frames what the tool reaches and its request cost, but leaves the return shape, pagination/truncation behavior with limit, and the semantics of query undefined. Adequate as a minimum viable definition, not complete.

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

Parameters2/5

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

Schema description coverage is only 33% — only 'offline' is documented, and 'query' and 'limit' are bare. The description does not explain query syntax (substring match? OData? email address versus display name?) nor the meaning or default of limit (max 200). With low coverage the description should compensate and it does not, so this falls below the baseline 3.

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 pair (list or search) and two specific resources (personal Outlook contacts, Entra organization directory). It is clearly distinguishable from every sibling, none of which touch contacts. It stops short of 5 only because it doesn't state what the result set looks like or its scope relative to the calling user.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance beyond the implied 'use this if you want contacts.' The only quasi-guidance is the note that a query hits two sources, but the description never says when to prefer a limited query, when to use the offline cache, or what to do if the user means mail rather than contacts. The agent must infer its routing.

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