Skip to main content
Glama

read_message

Read-onlyIdempotent

Retrieve a single Outlook message's sender, recipients, dates, folder, flags, categories, attachments, conversation ID, and body without marking it as read; includes meeting event ID for replies.

Instructions

Read one message: sender, to/cc/bcc, dates, folder, flag, importance, categories, attachments (index, name, size), conversation id, and the body. Does not mark it as read. For a meeting request, meeting_event_id is the calendar event to answer with respond_to_meeting.

Args:
    message_id: From list_messages or search_messages.
    max_chars: Cut the body after this many characters (default 20000).
    include_headers: Also return the internet headers.
    as_html: Return the HTML source of the body instead of plain text.

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": {
      "message_id": "<message_id>"
    },
    "name": "read_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_htmlNo
max_charsNo
message_idYes
include_headersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered structurally. The description adds one genuinely useful behavioral fact — 'Does not mark it as read' — plus the meeting-request follow-up path. It says nothing about failure modes (invalid message_id, missing message) or size/performance behavior beyond max_chars truncation.

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?

Front-loaded with the resource and return payload, then the notable behavior caveat, then a compact args block. Every line adds information; there is no restatement of the name or filler.

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 no output schema, the description compensates by enumerating returned fields including attachment sub-fields (index, name, size). Missing only error/edge-case behavior and any guidance on body size limits beyond max_chars, which keeps it from a 5.

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 description coverage is 0%, so the description carries the full burden and mostly meets it: it explains where message_id comes from, that max_chars cuts the body (default 20000), and what include_headers and as_html change in the response. It stops short of noting formats or edge cases such as what happens when the id is unknown or max_chars is 0.

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 and singular resource ('Read one message') and then enumerates the returned fields (sender, to/cc/bcc, dates, folder, flag, importance, categories, attachments, conversation id, body). The singular scope plus the pointer to list_messages/search_messages for locating a message_id clearly separates it from the list/search siblings.

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?

Gives concrete routing: message_id comes 'From list_messages or search_messages', and for meeting requests the agent is told to use meeting_event_id with respond_to_meeting. It does not explicitly contrast with get_conversation or state when not to use this tool, keeping it short of a 5.

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