Skip to main content
Glama

gmail_get_message

Retrieve a single email by account and message ID, returning selected detail levels such as headers, snippet, or full body for review and processing.

Instructions

Get one email message by id.

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

Input Schema

NameRequiredDescriptionDefault
accountYesWhich connected account (alias) to act as, e.g. "business".
messageIdYesMessage id, from a thread or search result.
messageFormatNoMINIMAL: snippet and key headers. FULL_CONTENT (default): adds full body. METADATA_ONLY: headers only, no subject, snippet or body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: no statement that this is a read-only operation, no mention of permission scope, rate limits, or what happens with an invalid id. The most behaviorally significant fact — that messageFormat defaults to FULL_CONTENT and returns the whole body while METADATA_ONLY omits subject and snippet — appears only in the schema, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single seven-word sentence with no filler and the key scope front-loaded, but it is under-specified rather than efficiently concise — the brevity comes at the cost of any usage or behavioral context. It is not padded, just thin.

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

Completeness2/5

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

For a three-parameter tool with one enum, no annotations, and no output schema, the description should at minimum explain how to obtain the messageId, mention the account alias requirement, and signal that the default format returns full body content. None of that is present, leaving the agent to reconstruct the retrieval workflow from the schema alone.

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 100%, so the schema already explains account alias, messageId provenance, and all three enum values with defaults. The description adds no additional meaning beyond the schema; baseline 3 applies.

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: "Get one email message by id." The word "one" and "by id" make the single-message scope unambiguous, which implicitly contrasts with the thread-level sibling. It does not name or describe any sibling, so differentiation is inferred rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says to use this for a single message versus gmail_get_thread for a whole conversation, and no prerequisite is mentioned (e.g. that an account alias and an id obtained from a search or thread result are required). The agent must infer the retrieval workflow entirely from sibling names and the schema.

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