Skip to main content
Glama

Read email

read-email
Read-only

Retrieve a specific Outlook email by message ID and return its body as visible text, with optional raw HTML when needed.

Instructions

Reads the content of a specific email. HTML bodies are sanitized to visible text unless includeRawHtml is true.

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": {
      "id": "<id>"
    },
    "name": "read-email"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMessage id
includeRawHtmlNoAlso return the raw HTML body

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, but the description adds real value by disclosing that HTML bodies are sanitized to visible text unless includeRawHtml is true — context that affects the interpretation of the returned content. It stops short of saying whether reading changes read/unread state (the existence of mark-as-read makes that ambiguity worth resolving) or how missing/invalid ids are handled.

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, front-loaded with purpose and then the one behavioral nuance that matters. Nothing is redundant or padded.

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?

With an output schema present, return-value detail is not required, and the read-only annotation covers the safety profile, so the description is nearly complete for a 2-parameter read tool. Residual gaps are the unstated side effects of reading and error behavior for an unknown id.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 is the floor; the description earns a point by framing includeRawHtml as an opt-out from the default sanitization rather than just repeating 'Also return the raw HTML body'. That default-behavior framing is meaningfully more than the schema alone.

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 ('Reads') and resource ('the content of a specific email'), which separates it from read-attachment and list-emails by scope. It does not explicitly name a sibling, so it falls short of the 5 benchmark for differentiation.

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?

Usage is only implied: an agent infers it is for fetching one message once an id is known, presumably obtained from list-emails or search-emails. There is no explicit when-not guidance (e.g. use read-attachment for attachments) and no alternatives named.

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