Skip to main content
Glama

gmail_read

Reads an email's headers and body, preferring plain text, using an ID from gmail_search. Use it to inspect message content without modifying the mailbox.

Instructions

读取一封邮件的头部与正文(优先纯文本)。只读。

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": {
      "id": "<id>"
    },
    "name": "gmail_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes邮件 id(来自 gmail_search)
formatNo默认 full

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose two behaviors: '只读' (read-only) and '优先纯文本' (plain-text preferred in output). It says nothing about truncation of large bodies, size/attachment handling, permission/scope requirements, or failure behavior on an invalid id, which is a meaningful gap for an unannotated read tool.

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 very short sentences, front-loaded with what is returned and what it returns preferentially, with zero padding or restated field names.

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 simple two-parameter read tool with a fully documented schema and no output schema, this is close to sufficient: the agent knows it reads headers plus body, prefers plain text, and is non-destructive. Only return-size/truncation behavior and per-format semantics remain undeclared.

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% and both parameters (id, format with its 'full' default and enum values) are already documented in the schema, so the baseline of 3 applies. The description adds only the output-oriented hint '优先纯文本', which does not clarify how the full/metadata/minimal format values differ.

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?

The description names a specific verb+resource in '读取一封邮件的头部与正文' (read one email's headers and body), which is clearly distinct from sibling search/list tools. It stops short of explicitly naming gmail_search as the discovery counterpart, so sibling differentiation is only implicit (and picked up from the schema's 'id 来自 gmail_search').

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, when-not-to-use, or alternative-tool guidance in the description; the only routing hint lives in the schema's note that the id comes from gmail_search. An agent must infer that this is the follow-up to a search call.

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