Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by khanglvm

jira_list_attachments

Lists attachments on a Jira issue, returning file IDs, names, MIME types, sizes, authors, and download URLs so users can inspect ticket files or confirm whether attachments exist.

Instructions

List attachments on a Jira issue. Use when user wants to:

  • See what files/images are attached to a ticket

  • Get attachment ids or download URLs for an issue

  • Check whether an issue has any attachments

Returns: id, filename, mimeType, size, created, author, content (download URL), thumbnail. Note: legacy Jira Server v2 API — reads the issue's fields.attachment[].

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": {
      "issueKey": "<issueKey>"
    },
    "name": "jira_list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueKeyYesIssue key like PROJ-123 or numeric ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses the returned fields and notes the legacy Jira Server v2 fields.attachment[] source, which implies a read-only operation, but it never states permissions, behavior for a nonexistent issue, or any limits.

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?

Purpose is front-loaded, the bullet list is tight, and the Returns and Note lines each add distinct information. Sizing is appropriate for a simple list tool with no output schema.

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?

With no output schema, the description correctly supplies the return shape, and the API-version note explains where the data comes from. Remaining gaps are minor: pagination/result limits and error behavior for an invalid issue key are unstated.

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% and the single issueKey parameter is already documented in the schema with its format. The description adds no format, validation, or edge-case detail beyond what the schema provides, so the baseline 3 applies.

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?

"List attachments on a Jira issue" gives a specific verb (list) and resource (attachments) scoped to a single issue, which reads clearly against jira_get_attachment. It does not explicitly contrast itself with the single-attachment getter, so the distinction 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 Guidelines4/5

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

Three concrete trigger cases are given (see attached files, obtain ids/download URLs, check for any attachments), which is strong positive guidance. There is no when-not guidance or pointer to alternatives such as jira_get_attachment for fetching a specific file's content.

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