Skip to main content
Glama
WeeCi

Mektup-mcp

download_attachment

Download an attachment from an email message by providing the message ID and attachment index. Returns base64-encoded content; decode it to access the raw file when the actual data is required.

Instructions

Download one attachment from a message. Returns base64-encoded content - decode it to get the raw file. Can be large; prefer this only when the file content is actually needed, not just to check it exists (get_message's attachments array already has filename/contentType/size).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMessage id, from list_messages or get_thread
indexYesPosition in the attachments array from get_message

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.5

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden, and it does so well: it reveals the base64-encoded return format, instructs the agent to decode it, and warns that the content can be large. It does not cover failure modes or rate limits, but for a simple read operation the key behaviors are disclosed.

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 compact sentences deliver the core action, return format, decoding step, size caveat, and usage guidance. There is no redundant or filler content, and the most important information is front-loaded.

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

Completeness5/5

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

For a two-parameter tool with fully described schema fields, the description covers everything an agent needs to select and invoke it correctly: the operation, the output encoding, the size risk, and the alternative to use for metadata-only checks.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already fully documents both id and index. The description adds only marginal parameter context by referencing the attachments array, but it does not materially extend what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Download one attachment from a message.' It clearly distinguishes this tool from sibling get_message by noting that get_message's attachments array already provides metadata, making the tool's unique purpose obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to prefer this tool—'only when the file content is actually needed'—and when not to use it (just checking existence), pointing to get_message as the lighter-weight alternative. This gives the agent clear decision criteria.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WeeCi/mektup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server