Skip to main content
Glama

aula_view_attachment

Load a previously downloaded attachment from its local path and return file content as base64 or text, enabling direct viewing and analysis.

Instructions

Load and view a previously downloaded attachment. Returns the actual file content (as base64 for images/files or text for text files). ONLY call this when the user explicitly asks to view/see/analyze an attachment. WARNING: MCP tool responses have a 1MB limit. Files larger than ~750KB will fail when base64-encoded. For large files, provide the user with the S3 URL or local file path instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
local_pathYesThe local file path from a previous aula_get_attachment response
max_size_mbNoMaximum file size in MB to load (default: 0.75MB to stay under 1MB MCP response limit when base64-encoded)
Behavior5/5

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

With no annotations, the description fully carries behavioral transparency. It discloses return format (base64/text), the 1MB MCP response limit, the ~750KB failure threshold, and fallback behavior for large files. This is rich operational context beyond the raw schema.

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?

Three focused sentences: primary action, explicit usage condition, and critical warning/fallback. No wasted words, front-loaded with the core purpose, and every sentence earns its place.

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 2-parameter tool with no output schema, the description covers return format, constraints, failure modes, and alternative action. It is complete enough for an agent to use correctly without further clarification.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful context: explains that local_path comes from a previous response and clarifies why max_size_mb defaults to 0.75MB to stay under the MCP limit. This adds value beyond the schema descriptions.

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 clearly states the tool loads and views a previously downloaded attachment, returning file content as base64 or text. The phrase 'previously downloaded' distinguishes this from sibling aula_get_attachment, making the purpose specific and unambiguous.

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?

Explicitly states 'ONLY call this when the user explicitly asks to view/see/analyze an attachment,' giving clear when-to-use guidance. It also provides a concrete alternative for large files (S3 URL or local file path), effectively stating when not to use the tool.

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/ilenhart/aula-mcp-server'

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