Skip to main content
Glama

lookup_directory

Read-onlyIdempotent

Search the organization directory to find people and retrieve their name, address, title, department, office, and phone details from Exchange or Microsoft 365.

Instructions

Look people up in the organization directory (Exchange / Microsoft 365 address list): name, address, title, department, office, phone.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/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 openWorldHint=false, so the safety profile is fully covered. The description adds genuine context by naming the data source (Exchange/M365 address list) rather than local contacts, but says nothing about matching behavior, result ordering, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the source system is stated immediately after the verb. The trailing colon-list is compact but slightly ambiguous, since it is unclear whether those are queryable attributes or returned columns.

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 read tool with no output schema, the description covers purpose and data source adequately. It falls short on the pieces an agent actually needs to call it well: query matching semantics and the meaning/effect of the limit parameter.

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 0%, so the description carries the full burden for both parameters — and it does not meet it. It never explains what 'query' matches against (display name vs. email vs. partial string), and 'limit' (default 20) is never mentioned, nor is whether the field list refers to searchable fields or returned fields.

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 specific verb+resource ('look people up in the organization directory') and identifies the backing source (Exchange / Microsoft 365 address list), plus enumerates the fields available (name, address, title, department, office, phone). It is clearly distinct from the mail/calendar/contact-management siblings, though it never explicitly contrasts itself with them.

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 by the phrase 'look people up in the organization directory' — an agent can infer this is the people-search tool. But there is no explicit when-to-use vs. when-not, no mention of how it relates to contact-listing or contact-creation siblings, and no stated prerequisites.

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