Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

read_email

Retrieve an email's headers, text/HTML body, and attachment metadata from a mailbox folder; leave it unread unless mark_as_read is true.

Instructions

Read a message's headers, text/HTML bodies and attachment metadata.

The message remains unread unless mark_as_read=true.

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": {
      "folder": "<folder>",
      "uid": "<uid>"
    },
    "name": "read_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
folderYes
mark_as_readNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full burden, and it does disclose the most important trait: reading is non-mutating by default and only flips state when mark_as_read=true. It says nothing about permission requirements, behavior on a missing uid/folder, or whether large bodies are truncated, so meaningful gaps remain.

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 tight sentences with the content scope first and the state-change caveat second; nothing is padded or restated from the title.

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?

An output schema exists, so return values need no explanation, and the state-change caveat is the key behavioral fact for a 3-parameter read tool. The remaining gap is routing to attachment-download and headers-only siblings and the format of the required identifiers.

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 0%, so the description must compensate. It explains mark_as_read's effect and default, adding real meaning beyond the schema, but says nothing about the accepted form of uid or folder (name vs ID, path syntax), which are the two required parameters.

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 (read) and enumerates exactly what is returned: headers, text/HTML bodies, and attachment metadata. That enumeration implicitly distinguishes it from a headers-only sibling, but no sibling is named explicitly, so an agent must infer the boundary itself.

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?

The only conditional guidance is about the mark_as_read side effect. There is no statement of when to prefer this tool over a headers-only read or over attachment-download tools, even though the sibling set makes that choice non-obvious. The agent is left to guess routing.

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