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

TableJSON 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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds a real behavioral constraint not in structured data: the ~1.5 MB size ceiling and the fallback of webmail. Return encoding (base64) is also 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 tight sentences with zero filler; the size limit and the read_message dependency are both front-loaded where an agent will see them.

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

Completeness4/5

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

For a four-parameter read tool with no output schema, the description covers purpose, prerequisite, size limit, and return format. It could note what happens when the filename doesn't match, but nothing essential is missing.

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 all four parameters are already documented, including filename's origin and folder's default. The description's mention of filename provenance merely echoes the schema, adding no new parameter meaning. Baseline 3 applies.

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). It is clearly distinguishable from siblings like read_message or drive_download_file.

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?

Gives a prerequisite workflow ('use the filename from read_message's attachment metadata') and a when-not condition (files larger than ~1.5 MB must be opened in webmail). It stops short of naming an in-toolset alternative, but the routing guidance is concrete.

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.