Skip to main content
Glama
vilaabo

zephyr-scale-mcp

by vilaabo

download_attachment

Read-only

Download a Zephyr Scale attachment to a local file using its ID or direct URL. Specify the output path to save the file.

Instructions

Download a Zephyr Scale attachment to a local file. Address it either by attachmentId (from list_attachments or an upload response) or by the exact url field that list_attachments returns — pass exactly one of the two. Note: Zephyr Scale serves attachment content from /rest/tests/1.0/attachment/{id}; that is the URL the official list endpoint itself hands out, so this tool follows it. For safety, a passed url must point at the configured Jira host — credentials are never sent elsewhere. The file is written to outputPath on the machine running this MCP server (the parent directory must exist). Returns { savedTo, bytes }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoExact download url as returned by list_attachments; must be on the configured Jira host
outputPathYesLocal path to write the file to (the parent directory must exist)
attachmentIdNoNumeric attachment id (from list_attachments or an upload response)
Behavior4/5

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

Annotations already indicate readOnlyHint=true, which aligns with downloading. The description adds behavioral details: the file is saved to a local path (side effect), the parent directory must exist, and credentials are never sent to external hosts. These details go beyond what annotations provide.

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?

The description is appropriately sized with 5 sentences, each providing distinct information. It is front-loaded with the main action and then details constraints and output. While not overly concise, every sentence adds value and there is no repetition of schema data.

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?

Given no output schema, the description includes the return format ({ savedTo, bytes }). It covers required parameter, optional parameters, security, and file writing constraints. It could mention error cases or file overwrite behavior, but overall it is sufficiently complete for a download tool.

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 parameters are documented. The description adds meaning by specifying that exactly one of url or attachmentId should be passed, that url must be from list_attachments and on the configured host, and that the parent directory for outputPath must exist. This adds context 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 action ('Download a Zephyr Scale attachment to a local file') and specifies the resource (attachments). It distinguishes from sibling tools like list_attachments and delete_attachment by focusing on downloading. The verb 'Download' is precise 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 Guidelines4/5

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

The description explains when to use this tool (to download attachments) and provides clear guidance on addressing attachments via attachmentId or url. It does not explicitly state when not to use it, but the context of sibling tools implies alternatives. The safety note about url host adds valuable usage context.

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/vilaabo/zephyr-scale-mcp'

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