Skip to main content
Glama
Roundcube MCP

Roundcube MCP

by SK108045

get_attachment_details

Retrieve metadata for a specific email attachment using its MIME part index, folder, and message UID to identify attachment details without downloading it.

Instructions

Get metadata for one attachment using its MIME part index.

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

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

B3.1/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; 'Get metadata' implies a non-destructive read, but nothing states permission requirements, whether the attachment must exist, or what happens on a bad part_index. Because an output schema is present, the absence of return-value detail is not a real gap, which keeps this at an adequate 3 rather than lower.

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?

A single front-loaded sentence with no filler; the resource and its identifier are stated immediately. Nothing is redundant or padding.

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

Completeness3/5

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

This is a simple read tool with only three required parameters and an output schema covering the response, so the description does not need to be long. However, it omits any guidance on obtaining the folder/uid/part_index values, which is the main thing an agent would need before calling it.

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%, so the description must compensate for all three parameters. It clarifies part_index as a 'MIME part index' for a single attachment, but folder and uid receive no explanation at all, leaving two of three parameters semantically bare.

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 pairs a specific verb (get) with a specific resource (metadata for one attachment) and names the identifier mechanism (MIME part index), which distinguishes it from download_attachment and list_attachments. It stops short of explicitly contrasting with those siblings, but the scope is unambiguous.

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 explicit when-to-use or when-not-to-use guidance and no named alternative such as list_attachments or download_attachment. The phrase 'using its MIME part index' only hints that a part index must first be obtained elsewhere.

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