Skip to main content
Glama

Mail: Get history

mail_get_history
Read-only

What has happened to one message: when it was first seen, opened, marked read, moved, snoozed, replied to, and every note left on it. Answers 'did anyone deal with this'.

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": "mail_get_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description is not obligated to restate them. It adds real value by enumerating the event types a caller will receive, which matters because there is no output schema. It stops short of stating ordering, completeness guarantees, or whether history is retained after deletion.

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, no wasted words: the event list comes first and the practical question it answers is front-loaded as a payoff. Nothing to trim.

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?

For a one-parameter read-only tool with no output schema, the description adequately conveys what comes back. The remaining gap is the identifier format and any pagination or retention limits, which an agent must guess.

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 coverage is 0% and the single parameter accepts integer or string with no format documentation. The description only implies that it takes one message identifier ('one message'), adding minimal meaning beyond the schema and leaving ID format unresolved.

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?

Names a specific resource and scope: the event timeline of exactly one message, enumerating the events returned (first seen, opened, read, moved, snoozed, replied, noted). This clearly separates it from mail_get_message / mail_get_thread, which return content rather than history.

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 closing line 'Answers did anyone deal with this' implies the intended use case (engagement/audit checking), but there is no explicit when-to-use or when-not guidance and no named alternative such as mail_get_message for content.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources