Skip to main content
Glama
nianyi778

jira-dev-mcp

by nianyi778

jira_download_attachment

Retrieve and extract Jira issue attachments: return text files inline, parse spreadsheets and PDFs into structured text, and encode images or binaries as base64.

Instructions

Download an attachment from a Jira issue. Text files (txt, md, json, log) are returned inline. CSV, XLS, XLSX, PDF are parsed by Python and returned as structured text. Images and other binary files are returned as base64.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesJira issue key (e.g. AT-123)
filenameYesAttachment filename as listed in jira_read_task
response_formatNoOutput format (default json)
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explains that text files (txt, md, json, log) are returned inline, CSV/XLS/XLSX/PDF are parsed into structured text, and images/binaries are returned as base64. This is significant added context, though it omits potential error responses or auth requirements.

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 three concise sentences with no redundancy. The main action is front-loaded, and file-type handling follows logically. Every sentence adds meaningful information, making it highly scannable and efficient.

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?

Without an output schema, the description compensates by explaining the main return format categories (inline, structured text, base64). It is incomplete regarding error handling and the exact JSON structure, but it covers the core behavior well for a download tool.

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?

The input schema already provides full descriptions for all three parameters, giving 100% coverage. The description adds value by connecting attachment MIME types to output formats, but it does not clarify parameter semantics beyond schema, such as the meaning of response_format options or how to locate the filename.

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 'Download an attachment from a Jira issue', specifying both the action (download) and the resource (attachment). It distinguishes from sibling tools like jira_download_all_attachments by focusing on a single attachment, and from jira_read_task by targeting attachment content rather than issue fields.

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 provides no explicit guidance on when to use this tool versus alternatives like jira_download_all_attachments. It does not mention prerequisites (e.g., obtaining filename via jira_read_task) or exclusions, leaving usage entirely inferred from the tool name and 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/nianyi778/jira-dev-mcp'

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