Skip to main content
Glama
Mabus Mailroom

Mabus Mailroom

by dpdanpittman

get_message

Read-onlyIdempotent

Read a single email message by account alias and message ID to retrieve headers, plain-text body, and attachment names, with HTML converted to text.

Instructions

Read one message (headers, plain-text body, attachment names). HTML is converted to 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": {
      "account": "<account>",
      "message_id": "<message_id>"
    },
    "name": "get_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYesAccount alias from list_accounts
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), so the description's added value is the return composition and the HTML-to-text conversion behavior, which an agent would not otherwise know. It omits error behavior for invalid message_id and whether attachments can be fetched from here, so it is not fully transparent.

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 short sentences, front-loaded with the action and immediately followed by the payload shape; the HTML-conversion note is a non-obvious detail that earns its place. No 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 usefully describes the return contents, which is the key missing piece. What remains absent is message_id format expectations and failure behavior, a minor but real gap for a two-required-param retrieval tool.

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 coverage is 50%: 'account' is documented in-schema as an alias from list_accounts, but 'message_id' has no description anywhere. The description adds no parameter meaning, format hints, or scoping for either argument, so it does not compensate for the coverage gap.

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 ('Read one message') and enumerates the returned fields (headers, plain-text body, attachment names), which distinguishes it from siblings like get_attachment (returns content) and get_thread (returns many messages). It does not explicitly name an alternative, so it falls short of a 5.

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 'one message' implicitly scopes usage versus get_thread and search, but no explicit when-to-use or when-not-to-use guidance is given, and no prerequisites or alternatives are named. Adequate but leaves routing to inference.

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