Skip to main content
Glama
TU Clausthal Mail MCP

TU Clausthal Mail MCP

by tatoline

list_attachments

Read-onlyIdempotent

Lists MIME file metadata, including inline files, for a specific email message without fetching file content.

Instructions

List MIME file metadata including inline files. No file content is fetched.

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": {
      "email_id": "<email_id>"
    },
    "name": "list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
email_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still adds real value by stating that only metadata is returned and that inline files are included while content is never fetched, which tells the agent about payload size and scope. It omits that the scope is a single message and says nothing about ordering or paging.

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 short sentences, front-loaded with the primary action and followed by the key limiting fact. Nothing is redundant or padded.

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?

The low-complexity read tool is well served by existing annotations and an output schema, so the description need not explain return values. However, the composite MessageId argument is undocumented in both schema and description, which leaves a real gap for an agent constructing the call.

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 single parameter email_id is a nested MessageId object requiring account, folder, uidvalidity, and uid with no field-level documentation anywhere. The description never mentions email_id or explains that it identifies one specific message, so it does not compensate for the coverage gap. The parameter name is somewhat self-explanatory, which keeps this above the minimum.

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?

"List MIME file metadata including inline files" gives a specific verb and resource, and the scope note about inline files sharpens what counts as an attachment. It does not name a sibling, but "No file content is fetched" implicitly draws the line against get_attachment.

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?

Usage is implied rather than stated: an agent can infer it should call this to enumerate attachments and use get_attachment for actual content, but the description never says that explicitly or names the alternative. No prerequisites or exclusions are given.

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