Skip to main content
Glama
Jira MCP Server

Jira MCP Server

by wince87

jira_add_attachment

Attaches a local file to a Jira issue using the issue key and absolute file path, so supporting documents or evidence can be added directly to the ticket.

Instructions

Attach a local file to a Jira issue.

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

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute path to the file to attach
issueKeyYesIssue key (e.g., PROJ-123)

Output Schema

NameRequiredDescriptionDefault
urlNo
messageNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.2

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the mutation and network profile are covered structurally. The description adds one genuinely useful fact beyond that — the file must be a "local" file, implying a path on the machine running the server rather than uploaded content or a URL — but says nothing about size limits, duplicate attachments, or required permissions, which matter for a non-idempotent write.

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?

A single front-loaded sentence with zero filler or redundancy. It is efficient, though its brevity leaves the gaps noted in usage and behavior rather than being wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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, and annotations carry the safety and idempotency profile. For a simple two-parameter attachment tool, the description plus schema plus annotations give an agent everything needed to invoke it correctly; the missing details (size caps, permissions) are operational edge cases rather than invocation blockers.

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%, with both filePath ("Absolute path to the file to attach") and issueKey ("Issue key (e.g., PROJ-123)") already documented in the schema. The description's word "local" reinforces that filePath is a server-side absolute path, but adds no new syntax, format, or constraint detail. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ("Attach a local file to a Jira issue"), which is enough to separate it from jira_download_attachment, jira_view_attachment, and jira_delete_attachment by name alone. It does not explicitly name those alternatives, but the operation is unambiguous.

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 gives no when-to-use guidance, no prerequisites (permissions on the issue, project attachment settings), and no reference to alternatives such as jira_get_attachments or jira_download_attachment. Usage is only implied by the tool name and verb.

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