Skip to main content
Glama

get_email_document

Read-only

Read this email's working draft, live source or an exact accessible saved version with warnings, stored images and HTML preview URL. An optional version overrides source. Saved previews use synthetic preview data, not a real recipient. Empty paths returns the entire document; otherwise read object-key paths. Arrays are read whole. Includes an organization capacity notice when the Free plan has 25% or less attendee capacity remaining.

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": {
      "target": "<target>",
      "source": "<source>",
      "paths": "<paths>"
    },
    "name": "get_email_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
sourceYes
targetYesTarget email resource; kind must be email.
versionNoOptional exact version name from manage_email_versions. Overrides source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / target / properties / designId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / target / properties / kind / enum
      Previous value: -[
      -  "page",
      -  "email"
      -]New value: +[
      +  "page",
      +  "email",
      +  "wallet",
      +  "apple-wallet",
      +  "google-wallet"
      +]
  2. Changed1 schema field changed
    • removedInput schema / properties / target / properties / organizationId
      Removed value: -{
      -  "minLength": 1,
      -  "type": "string"
      -}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotation already covers the safety profile, so the description adds value by disclosing return content details: warnings for saved versions, stored images, an HTML preview URL, and an organization capacity notice. It also flags that saved previews use synthetic data, not a real recipient. It does not mention pagination or size limits for large documents.

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

Conciseness4/5

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

Front-loaded with the core read action, then progressively adds source precedence, path semantics, and preview caveats. Every sentence carries information, though several are compressed into run-ons that take a second pass to parse.

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 responsibly describes what comes back (document body, warnings, images, preview URL, capacity notice). It leaves the nested target parameter underspecified, which is the main gap for a tool with 4 parameters and a nested object.

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?

Coverage is 50%, and the description does compensate partially: it explains that version overrides source, that empty paths returns the whole document, that otherwise object-key paths are read, and that arrays are read whole. It does not explain the nested target object's identifiers (draftId vs emailId vs pageSlug) or which are required for kind=email, leaving the most complex parameter largely to the schema.

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 opens with a specific verb and resource: 'Read this email's working draft, live source or an exact accessible saved version.' The three readable sources are enumerated clearly. It does not explicitly distinguish itself from siblings like get_page_document or edit_email_document, though 'email's' scopes it adequately.

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?

It implies when to use this over edit/replace siblings via 'Read', and clarifies version-overrides-source precedence and empty-paths behavior. However, it never explicitly names an alternative or states exclusion conditions such as 'use edit_email_document to modify'.

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.