Skip to main content
Glama
simplepush

Simplepush MCP Server

Official
by simplepush

Download a photo or file

download_attachment

Fetches a photo, voice recording, or file using its ID. Returns images inline or a short-lived download URL for other files.

Instructions

Fetches a photo, voice recording or file by the id of what holds it and the id of the file, the same pair the SDK's download takes. Images come back inline so you can look at them; other files come back as a short-lived download URL plus metadata. Needs the 'files:read' scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYesAn answer's inputId (inp_) from send_task, get_task_answer or get_task; a reply's photo/file/audio id (rfl_) from get_task or query_events; a submission's photo/file/audio id (sbf_) from query_submissions.
scope_idYesThe tsk_ or sub_ id for an answer's or a reply's file, the sbm_ id for a submission's file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well. It discloses the inline return for images, the short-lived download URL plus metadata for other files, and the required 'files:read' scope. This goes beyond a basic action statement.

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 sentences, each earning its place: what it fetches, how results are returned, and what permission is needed. The most important information is front-loaded.

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 two-parameter tool with no output schema and no annotations, the description covers the essential invocation details, return behavior, and auth requirement. The only minor gap is the vague 'plus metadata' and no mention of failure modes, but these are not critical for correct invocation.

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 coverage is 100%, so the baseline is 3. The description's phrase 'the id of what holds it and the id of the file' loosely maps to scope_id and file_id but adds no new detail beyond the already detailed schema descriptions with concrete id prefixes.

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 opens with a specific verb ('Fetches') and a clear resource ('photo, voice recording or file'), and identifies the exact id pair needed. It also distinguishes the tool from the sibling list by focusing on media/file download rather than task or submission management.

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?

The context of use is implied: call it when you hold a scope_id and file_id and need the actual photo/recording/file. However, there is no explicit guidance about when not to use it or which alternative to choose, despite a list of sibling tools.

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