Skip to main content
Glama
gmail-mcp

gmail-mcp

by cart1984

mail_get

Read-only

Read a single Gmail message in full by message ID, including headers, labels, body text, and numbered attachments.

Instructions

Read one message in full: headers, labels, text, and its numbered attachments.

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

Input Schema

NameRequiredDescriptionDefault
message_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds that the full body and attachments are included and that attachments are "numbered" (implying indices for a sibling fetch tool), but it does not say whether attachment bodies are returned or only metadata, nor how missing/inaccessible messages behave.

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?

A single front-loaded sentence that lists the returned parts in a natural reading order with no padding.

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

Completeness3/5

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

For a one-parameter read tool with annotations and an output schema, most of the burden is lifted elsewhere. Remaining gaps are the undocumented message_id format and how numbered attachments relate to the mail_attachment 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 description coverage is 0%, so the description carries the burden for message_id, yet it never states the id's origin or format (e.g., an id from mail_list or mail_search). "One message" is the only hint tying the parameter to its meaning.

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 in full") and enumerates what is returned: headers, labels, text, attachments. This clearly separates it from list/search siblings, though it never names them.

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 implied by "read one message in full" — retrieve a single known message by id rather than listing or searching. There is no explicit when-to-use, no statement of what to do if the id is unknown, and no mention of the mail_attachment sibling for fetching attachment content.

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