Skip to main content
Glama

Download Attachment

jira_download_attachment
Read-only

Download a Jira attachment's content as base64 by attachment ID, restricted to attachments hosted on the configured Jira instance.

Instructions

Download attachment content as base64. Only attachments hosted on the configured Jira instance are allowed.

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>"
    },
    "name": "jira_download_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachmentIdYesAttachment ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), so the description's real contribution is the base64 payload format and the scoping rule that only locally hosted attachments are retrievable — meaningful context an agent cannot infer. It does not mention size limits, streaming/chunking, or failure behavior for externally hosted attachments, which keeps it below 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 short sentences, front-loaded with the primary action and return format, followed by the one hard constraint. Nothing is padded or repeated.

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?

For a one-parameter read tool this is close to sufficient, and the base64 return note substitutes for the absent output schema. The gap is discoverability: the description never says how an agent obtains an attachmentId, which is the only required input and the likeliest cause of a failed call.

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?

With a single parameter at 100% schema description coverage, the schema already documents attachmentId. The description adds nothing about where an attachment ID comes from (e.g., an issue's attachment list) or its format, so it neither compensates for nor extends the schema.

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?

"Download attachment content as base64" gives a specific verb (download) and resource (attachment) plus the return encoding. It is unambiguous and no sibling operates on attachments, so the agent can route to it without opening the schema; it stops short of explicitly contrasting itself with any other tool.

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 second sentence is a restriction (only attachments hosted on the configured Jira instance are allowed), not guidance on when to call the tool versus an alternative. There is no statement of prerequisites such as needing a valid attachmentId obtained elsewhere, and no when-not-to-use condition beyond the hosting limit.

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