Skip to main content
Glama

people_search

Read-onlyIdempotent

Find colleagues you work with by relevance from your mail and meetings. Search by name or keyword to get name, email, title, and department, even with misspellings.

Instructions

Find colleagues the signed-in user actually works with, ranked by relevance from their own mail and meeting history — so it finds the right 'Priya' without exact spelling. Returns name, email, title and department. Use directory_search_users to search the whole tenant instead, or people_list_contacts for the saved address book. Requires People.Read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesName or keyword to search for people in the org
max_resultsNoMaximum people to return
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description adds substantial behavioral context: personalization via mail/meeting history, fuzzy matching ('without exact spelling'), return fields (name, email, title, department), and permission requirement ('Requires People.Read'). This exceeds the structured annotations without contradicting them.

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 description is three sentences with no fluff: purpose/behavior, return fields, and alternatives/permission. It is front-loaded with the core purpose and each sentence earns its place.

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?

For a simple two-parameter tool, the description is complete: it covers what it does, how results are ranked, what fields are returned, when to use alternatives, and the required permission. No output schema exists, but the return fields are listed explicitly.

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 coverage is 100%, so both query and max_results are fully described in the schema. The description adds overall context but does not meaningfully expand on parameter semantics beyond the schema's own descriptions. Baseline 3 is appropriate.

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 clearly states the tool's function: 'Find colleagues the signed-in user actually works with' with a specific verb and resource, and differentiates it by ranking from mail/meeting history. It explicitly contrasts with directory_search_users and people_list_contacts, making its purpose unmistakable.

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?

Usage guidance is explicit: 'Use directory_search_users to search the whole tenant instead, or people_list_contacts for the saved address book.' This tells the agent when to choose alternatives, and the description implies this tool is for personalized work-related searches.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nitin27may/ms-graph-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server