Skip to main content
Glama
oliverhruby

Microsoft Graph MCP Server

by oliverhruby

get_user_photo

Retrieve a Microsoft 365 user’s profile photo metadata without downloading image bytes. Use it to check if a photo exists and access its content type and dimensions.

Instructions

Get user profile photo (returns metadata, not bytes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that only metadata is returned, not bytes, which is useful, but it doesn't explain whether the photo bytes can be retrieved elsewhere, permissions needed, or what metadata fields are included. For a read tool, this is a moderate gap.

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?

One short sentence with a useful parenthetical qualifier. It is efficiently sized and front-loaded with the action. Nothing extraneous, though it could add a bit more behavioral context without harming conciseness.

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

Completeness2/5

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

With no output schema, no annotations, and a single parameter that is undescribed, the description leaves an agent guessing about return shape, error conditions, and parameter details. The metadata-not-bytes note is good but incomplete for a tool with zero structured support.

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%, and the description does not explain what user_id represents beyond its name. The schema only states it's a required string. The description adds no parameter-level semantics, and with only one param it could have easily clarified the format or expected value.

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?

States a specific verb and resource ('Get user profile photo') and clarifies it returns metadata, not bytes. This is clear but doesn't explicitly distinguish it from sibling get_file_content or get_page_content, though the parenthetical is helpful.

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?

No guidance on when to use this vs alternatives like get_file_content, get_page_content, or list_recent_files. The context 'user profile photo' implies identity-related use, but no explicit when/when-not or alternative routing is provided.

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/oliverhruby/msgraph-mcp'

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