Skip to main content
Glama
Considus

proton-bridge-mcp

Read an attachment

read_attachment
Read-only

Extract text from PDF, CSV, JSON, ICS, EML attachments inline for invoices, decks, and reports. Binary files use save_attachment.

Instructions

Extract an attachment's TEXT inline — PDFs via pypdf, plus text/csv/json/ics/eml. Use for invoices, decks, reports. Binary/image types must use save_attachment instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYes
folderNoDefault INBOX.
filenameNoWhich attachment (partial match OK). Optional if there is only one.
uidvalidityNoUIDVALIDITY reported alongside the uid. Pass it back so a mailbox resync cannot make this act on the wrong message.
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds behavioral context: supported formats (PDFs via pypdf, text/csv/json/ics/eml), inline text extraction, and a clear rule for binary types requiring save_attachment. This goes beyond annotation basics.

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, front-loaded with the core purpose. No redundancy; every clause earns its place.

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 read-only text extraction tool with 4 parameters and no output schema, the description conveys the key behavior, supported types, and the critical alternative for binaries. Some nuances like return format or uid semantics are left to the schema, but the core usage is clear.

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 covers 75% of parameters with descriptions. The description does not clarify the remaining `uid` parameter or add syntax details. It provides no parameter-specific meaning beyond what the schema already states.

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?

Specific verb+resource: 'Extract an attachment's TEXT inline' clearly states the action and target. Lists supported formats and explicitly names save_attachment for binary types, distinguishing from the sibling tool.

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?

Provides explicit usage context ('Use for invoices, decks, reports') and an explicit exclusion: 'Binary/image types must use save_attachment instead.' Clearly directs when to use this tool vs alternative.

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

Install Server

Other Tools

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/Considus/proton-bridge-mcp'

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