Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_download_attachment

Idempotent

Downloads a Jira attachment by ID to an absolute local file path within the current working directory or user home.

Instructions

Download an attachment from Jira to a local file. Destination path must be within cwd or user home.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "attachmentId": "<attachmentId>",
      "savePath": "<savePath>"
    },
    "name": "jira_download_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
savePathYesAbsolute local path where the file will be written
attachmentIdYesAttachment ID (from jira_get_attachments)

Output Schema

NameRequiredDescriptionDefault
urlNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds a real behavioral constraint that the annotations do not: the sandbox rule that the destination must be within cwd or user home. It leaves overwrite behavior and size limits unstated, so it falls short of a 5.

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?

Two sentences, both short, with the purpose stated first and the path constraint second. Nothing is repeated and nothing is wasted.

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?

An output schema exists, so return values need not be explained. For a two-parameter download tool with annotations, the description covers purpose and the key path restriction. It could still mention overwrite behavior, but nothing an agent needs in order to call it correctly is missing.

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 savePath and attachmentId are already documented. The description still adds meaning beyond the schema: the schema only says 'absolute local path', while the description restricts where that path may point. That restriction directly affects how the agent chooses savePath.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: download a Jira attachment to a local file. That clearly separates it from jira_view_attachment, jira_get_attachments, and jira_add_attachment. It does not explicitly name those siblings, so sibling differentiation is inferred rather than stated.

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 only implied: 'Download an attachment' plus the schema note that attachmentId comes from jira_get_attachments gives the agent a workflow. The description never says when to use this instead of jira_view_attachment or what prerequisites exist (permissions, size limits).

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

Deploy Server

Other Tools