Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

download_attachment

Retrieve a specific email attachment as Base64 from a Roundcube mailbox using folder, message UID, and part index, subject to configured size limits.

Instructions

Download an attachment as Base64, subject to configured size limits.

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>",
      "part_index": "<part_index>"
    },
    "name": "download_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
folderYes
part_indexYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden. It does disclose one genuinely useful trait — the result is Base64 and subject to configured size limits — but never says what happens when the limit is exceeded (error, truncation, refusal), nor whether the operation requires any permission.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is partly the cause of the missing parameter and behavioral detail rather than a sign of completeness.

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

Completeness2/5

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

The output schema and the mention of Base64 cover the return format, so return values are not a gap. But for a 3-required-parameter file-retrieval tool with zero annotation and zero schema coverage, the definition omits how to identify the attachment and what happens at the size limit — both essential to calling it correctly.

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% and the description adds no meaning for any of the three parameters. In particular, part_index is completely opaque — an agent cannot tell whether it is a zero-based part counter, a MIME part identifier, or an offset within a multipart attachment.

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 states a specific verb and resource ("Download an attachment") plus the output encoding (Base64), which is enough to separate it from siblings like list_attachments or get_attachment_details. It stops short of naming those siblings, so differentiation is by inference rather than explicit contrast.

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 guidance on when to use this instead of list_attachments (to enumerate attachments) or get_attachment_details (to inspect metadata before downloading). No prerequisites or preconditions are stated, leaving the agent to guess the discovery sequence.

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