Skip to main content
Glama

Faivelo Email

Download an attachment

get_attachment
Read-only

Fetch an attachment from a message as base64 (max ~1.5 MB — larger files must be opened in webmail). Use the filename from read_message's attachment metadata.

Input Schema

NameRequiredDescriptionDefault
uidYesMessage UID
folderNoIMAP folder name (default "INBOX")
mailboxYesFull mailbox address
filenameYesAttachment filename from read_message

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the output is base64, and there is a hard ~1.5 MB cap that causes failure for larger files, with the webmail workaround.

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 sentences, zero waste. The core action and output format come first, and the size constraint plus prerequisite follow immediately after.

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?

There is no output schema, but the description discloses the return encoding (base64) and the size ceiling that governs success vs. failure. Combined with the prerequisite routing to read_message, an agent has everything needed to call it correctly.

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 uid, mailbox, folder and filename are already documented. The description's note that filename comes from read_message's metadata largely restates the schema's own 'Attachment filename from read_message', adding only marginal value.

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?

States a specific verb (fetch) and resource (attachment from a message) plus the output encoding (base64). The phrase 'from a message' distinguishes it from drive_download_file, so an agent can tell the two apart without opening either schema.

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

Usage Guidelines4/5

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

Explicitly names the prerequisite workflow: get the filename from read_message's attachment metadata, and states the exclusion (files over ~1.5 MB must be opened in webmail). It stops short of naming the drive_download_file alternative, but the when-to-use condition is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.