Skip to main content
Glama
Kinolian1107

phison-mail-mcp

by Kinolian1107

getAttachment

Download and view email attachments by message UID and attachment index. Preview supported attachment content and optionally save files to inspect them.

Instructions

Download and view email attachments by email UID and attachment index. Supports various attachment types with content preview capabilities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYes
folderNoINBOX
saveToFileNo
attachmentIndexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.9

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are present, so the description carries the full burden. It omits the important behavior that saveToFile defaults to true, meaning the call writes a file to disk by default, plus any auth requirements, size limits, or unsupported attachment types despite the vague 'supports various attachment types' claim.

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?

Two short sentences, front-loaded with the core action and lookup keys, with no filler. It is efficient, though the trailing 'content preview capabilities' is a soft claim that adds little.

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?

For a 4-parameter tool with no annotations, no output schema, and 0% schema coverage, the description is too thin. It does not say what is returned, how previews work, what saveToFile does, or what happens on failure, which an agent needs before calling a tool that writes files by default.

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 explains only the two required parameters it already names, adding no format or constraint detail. It says nothing about 'folder' (default INBOX) or the side-effecting 'saveToFile' default, leaving half the parameters undocumented in both places.

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 ('Download and view') plus resource ('email attachments') and even the lookup keys (email UID and attachment index). It is clear what the tool does, though it never contrasts itself with the obvious sibling getEmailDetail.

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?

No guidance on when to use this versus getEmailDetail (which likely also exposes attachments) or versus downloading a whole message. The only usage cue is the implied 'you need the UID and index', which is not a when-to-use rule.

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