Skip to main content
Glama

download_attachment

Download a file attachment from ZenTao by file ID and save it to a specified local path. Returns the saved path and file size.

Instructions

Download a file/attachment from ZenTao by fileID and save to local disk. Uses API Token auth. Returns saved path and file size.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYesFile ID from bug detail attachments/files list
savePathYesAbsolute path to save the downloaded file
Behavior3/5

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

No annotations are provided, so the description carries the behavioral burden. It mentions API Token auth and return values (saved path, file size), which adds useful context beyond the schema. However, it omits details like file overwrite behavior, error handling, or required directory existence.

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 two sentences long, front-loaded with the core purpose, and includes essential details (auth, return info) without extraneous content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has only 2 parameters, no output schema, and no annotations, the description adequately covers the core functionality and auth method. However, it lacks guidance on error scenarios, permissions, or whether the savePath must pre-exist, leaving gaps for a complete understanding.

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 schema already documents both parameters. The description adds no extra meaning beyond what the schema provides, meeting the baseline for this case.

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 action (download), resource (file/attachment from ZenTao), and the key parameter (fileID) with the target (save to local disk). It uniquely distinguishes itself from siblings like 'upload_attachment'.

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

Usage Guidelines2/5

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

The description does not specify when to use this tool versus alternatives, nor does it mention prerequisites or exclusions. The usage context is implied but not explicit.

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/aipper/zentao-mcp'

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