Skip to main content
Glama

download_thread_files

Download every image and file attachment in a thread's posts, answers, and comments to temporary local files. Returns local file paths for direct access.

Instructions

Download all images and file attachments from a thread's content, answers, and comments to temporary local files. Returns local file paths so you can read or view them.

Args: thread_id: The global thread ID (from list_threads or search_threads results).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that files are downloaded to temporary local files and that local file paths are returned for reading/viewing. However, it does not mention permissions, cleanup behavior, or potential side effects like large downloads, leaving some behavioral gaps.

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?

The description is concise and well-structured: a clear action sentence followed by an Args block. Every sentence adds value without redundancy or fluff.

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 one-parameter tool with an output schema, the description adequately covers what the tool does, what it returns, and where to get the input. The output schema handles return structure details, making the description sufficiently complete.

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

Parameters5/5

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

The single parameter thread_id is enriched by the description, which explains it is the global thread ID and points to where to find it (list_threads or search_threads results). This goes beyond the bare schema title 'Thread Id' and compensates for the 0% schema description coverage.

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 downloads all images and file attachments from a thread's content, answers, and comments to temporary local files. It distinguishes itself from the sibling 'download_file' by specifying the batch scope and source (thread vs single 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?

The description provides clear context: use when you need all thread attachments, and instructs the agent to obtain thread_id from list_threads or search_threads results. It does not explicitly name alternatives or exclusions, but the scope is evident from the description.

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/januarharianto/ed-mcp'

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