Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

list_attachments

Lists attachment names, MIME types, sizes, and MIME part indexes for a specified mailbox folder and message UID, helping identify files to read or download.

Instructions

List attachment names, MIME types, sizes and MIME part indexes.

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": "list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
folderYes

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 supplied, the description carries the full disclosure burden. 'List' implies a non-mutating read, and the returned fields are stated, but there is no mention of permission requirements, behavior for a missing folder/uid, pagination, or whether all attachments or only inline parts are included. It does disclose the payload shape, which is the one real piece of behavioral value.

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 zero filler. It is efficient, though the brevity is partially a symptom of under-specification rather than disciplined pruning.

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 exists, so return values need not be explained, but for a tool with two required, completely undocumented parameters and no annotations, the definition is not complete enough. Adding one clause on what folder and uid identify would make it actionable.

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 never mentions the two required parameters. An agent cannot tell whether 'folder' is a name, path, or ID, or whether 'uid' refers to the message UID — both are essential to invoke the tool correctly. This is a significant gap the description does nothing to close.

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 ('List') and resource ('attachments'), and even enumerates the fields returned: names, MIME types, sizes, MIME part indexes. It does not distinguish itself from the nearby get_attachment_details or download_attachment siblings, which an agent could easily confuse it with.

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 guidance at all: nothing says to call this before download_attachment to pick a part index, and nothing excludes get_attachment_details as an alternative. The agent must infer the intended workflow from the sibling names alone.

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