Skip to main content
Glama
esaio

esa MCP Server

Official
by esaio

Get attachment file from esa

esa_get_attachment
Read-only

Retrieve esa attachment files by URL; returns base64 data for supported images under 30MB or signed URLs for other files and forced requests.

Instructions

Retrieves an attachment file from esa with signed URLs. For supported images (JPEG, PNG, GIF, WebP) under 30MB, returns base64-encoded data. For other file types, larger images, or when forceSignedUrl is true, returns signed URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesAttachment URL. Can be a full URL (https://files.esa.io/..., https://dl.esa.io/...) or a path (/uploads/...)
teamNameNoTeam name (required). Use esa_get_teams first to see available teams.
forceSignedUrlNoIf true, always return signed URLs instead of base64-encoded images. Default is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/non-destructive annotations by disclosing the actual return-shape logic: base64 for JPEG/PNG/GIF/WebP under 30MB, signed URLs otherwise or when forceSignedUrl is set. This tells the agent what payload to expect and why, which is exactly the behavioral context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the core action before the conditional return-format rules. Every sentence carries information; the opening 'with signed URLs' phrasing is slightly awkward but quickly clarified.

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?

With no output schema, the description carries the return-value burden and does so fully by specifying the two response modes and the conditions that select them. An agent has everything needed to call this correctly and interpret results.

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 three parameters are already documented, and the description only restates the forceSignedUrl effect. Baseline 3 is appropriate since the schema does the heavy lifting on parameter meaning.

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 and resource ('Retrieves an attachment file from esa') that is unambiguous and distinct from every sibling, none of which deal with attachment files. An agent can identify this tool's domain without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied by the purpose (fetch an attachment when you have its URL), and the description explains the base64/URL branching, but it never states when to prefer this tool over alternatives or any prerequisite. No explicit when-not or alternative routing is provided.

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