Skip to main content
Glama

directory_get_user_manager

Read-onlyIdempotent

Identify an employee's manager by email or UPN. Get manager name, email, job title, and department for escalation paths and reporting questions.

Instructions

Get the person a given user reports to, identified by email or UPN. Returns the manager's name, email, job title and department. Use for escalation paths and 'who does X report to' questions. Returns an empty result when the user has no manager set in the directory, which is common for executives and service accounts. Requires User.Read.All.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userYesUser email address or User Principal Name (UPN)
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior. The description adds valuable context: empty result when no manager is set (common for executives and service accounts) and the required permission User.Read.All. This goes beyond the annotation baseline.

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?

Four sentences, each with a distinct purpose: core function, return value, use case, edge case, and permission. No fluff or redundancy; front-loaded with the main action.

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 one-parameter tool with no output schema, the description covers the return fields (name, email, job title, department), the empty result edge case, and the required scope. This is sufficient for an agent to invoke it correctly.

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 the parameter is fully described in the schema. The description's mention of 'email or UPN' only restates the schema's parameter description without adding new semantic detail.

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 'Get the person a given user reports to' with a specific verb and resource, and identifies the input as email/UPN. It distinguishes from sibling tools like directory_get_user by focusing on the manager relationship.

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 says 'Use for escalation paths and "who does X report to" questions,' providing clear user context. However, it does not discuss exclusions or alternatives, so it falls short of a full 5.

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