Skip to main content
Glama
M365 Attachment Reader MCP Local

M365 Attachment Reader MCP Local

by hcngdanh

Read Outlook Email Body

read_email
Read-onlyIdempotent

Fetches the full text of a specific Outlook email by message ID, including subject, sender, recipients, date, and plain-text body; use list_recent_messages first to obtain the ID.

Instructions

Fetch and return the full text of a specific Outlook email: subject, sender, recipients, date, and the message body (HTML is converted to plain text). Use list_recent_messages first to get the messageId. This reads the email body itself, complementing read_email_attachment which reads attachment contents.

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": {
      "messageId": "<messageId>"
    },
    "name": "read_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
mailboxNome
messageIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, so the safety profile is covered. The description adds genuinely useful behavior not in the annotations: which fields come back and that HTML bodies are converted to plain text, which affects how the agent should parse the result. It stops short of noting size limits or truncation on very large bodies.

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?

Two sentences, zero filler, with the core action and returned fields front-loaded before the prerequisite and the sibling disambiguation. Every clause earns its place.

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

Completeness4/5

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

There is no output schema, and the description compensates by enumerating the returned fields and the HTML-to-text conversion, which is exactly what an agent needs. The only gap is the undocumented 'mailbox' parameter, a minor omission for an otherwise simple read tool.

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 description coverage is 0%, so the description must carry the parameters. It does well for messageId by explaining its provenance (from list_recent_messages), but the 'mailbox' parameter and its default of 'me' are never mentioned, leaving part of the two-parameter surface unexplained.

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?

States a specific verb ('fetch and return the full text') plus the exact resource (a specific Outlook email) and enumerates the returned fields. It also explicitly distinguishes itself from read_email_attachment, so an agent can separate the two without opening either schema.

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?

Gives an explicit prerequisite workflow ('Use list_recent_messages first to get the messageId') and names the complementary sibling with the condition that separates them (body vs. attachment contents). Nothing about when to reach for this tool is left to inference.

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