Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

read_email

Fetch a single email by ID from a specified account, returning full body and recipients; HTML is converted to Markdown by default to reduce context tokens.

Instructions

Fetch a single email with full body and recipients by id. Body is returned as body with bodyFormat indicating the format. Default format is 'markdown' — HTML is automatically converted to save context tokens. The response may include webUrl, a user-shareable native-client link that requires mailbox access, or webUrlUnavailableReason when no link is available.

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

Input Schema

NameRequiredDescriptionDefault
idYes
formatNoOutput body format. 'markdown' converts HTML to Markdown (default), 'html' returns the raw HTML. Plain-text-only messages retain their original body.markdown
accountYes

Output Schema

NameRequiredDescriptionDefault
ccNo
idYes
toNo
bccNo
bodyYes
fromNo
folderNo
isReadNo
webUrlNo
previewNo
subjectYes
bodyFormatYes
receivedAtNo
attachmentsNo
hasAttachmentsNo
webUrlUnavailableReasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does real work: it explains the default markdown conversion (HTML flattened to save context tokens) and that plain-text bodies are preserved, plus the mailbox-access requirement behind webUrl and the webUrlUnavailableReason fallback. It never explicitly says the operation is a non-mutating read, which is the one trait left to inference.

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?

Three sentences, front-loaded with the action and primary return shape; the webUrl sentence is slightly dense but covers a real edge case (link unavailability) rather than padding.

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

Completeness5/5

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

An output schema exists, so return values need not be enumerated, and the description still adds the non-obvious parts (format conversion, webUrl availability). For a three-parameter read tool this is sufficient to call correctly.

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 only 33% — `format` is documented in the schema while `id` and the required `account` have no schema description. The description reinforces the format default and conversion behavior, but never explains that `account` selects the mailbox, leaving a required parameter semantically unexplained in both places.

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?

States a specific verb and resource ('Fetch a single email') plus scope ('full body and recipients by id'), which cleanly separates it from list_emails and search_emails without needing to name 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?

The 'single email by id' framing implies when to use it over list/search siblings, but there is no explicit when-to-use or when-not-to-use guidance and no mention of what to do if the id is unknown or the message was deleted.

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