Skip to main content
Glama
ManoAlee

Enterprise Microsoft 365 MCP Server

by ManoAlee

graph_generate_daily_activity_summary

Generate a categorized summary of mailbox messages for daily operational reviews. Provide a user UPN to analyze activity and optionally limit the number of top messages.

Instructions

Analyzes mailbox messages and generates a categorized summary for daily operational reviews.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_upnYes
top_messagesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 behavioral burden. It implies a read/analysis operation but says nothing about which mailbox folders or time windows are scanned, what permissions are needed, whether it can be run repeatedly, or performance/rate implications for large mailboxes.

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 tight sentence with the core action front-loaded and no filler. It is efficient, though brevity here edges toward under-specification rather than polish.

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?

An output schema exists, so return values need not be explained, but with zero annotation coverage and zero schema description coverage, an agent lacks scope, permission, and parameter guidance for what is a multi-message analysis operation.

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 never mentions either parameter. user_upn (required) and top_messages (default 25) are undocumented in both the schema and the description, leaving the agent to infer that user_upn is the target mailbox and that top_messages caps volume.

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: "analyzes mailbox messages" and "generates a categorized summary." This clearly distinguishes it from literal-read siblings like graph_list_recent_messages, though it never names an alternative to sharpen the boundary.

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?

The phrase "for daily operational reviews" gives an implied use context, but there is no explicit when-to-use vs when-not, no prerequisites, and no pointer to sibling tools that fetch raw messages instead.

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