Skip to main content
Glama
atlassian-mcp-server
by dongood

atlassian_add_jira_attachment

Uploads a local file to a Jira issue as an attachment using the issue key and absolute file path, so reports, screenshots, or evidence can be added directly to the issue.

Instructions

Upload a file attachment to a Jira issue. Accepts an absolute file path on the local filesystem. The MCP server reads the file and uploads it via multipart form-data to the Jira REST API.

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": "atlassian_add_jira_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesAbsolute path to the file on the local filesystem (e.g., /Users/you/docs/report.pdf)
issueKeyYesIssue key (e.g., PROJ-123)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does disclose the useful mechanism: the MCP server reads the local file and uploads it via multipart form-data to the Jira REST API, so the agent knows it need not stream content. However, it omits material behavior for a write operation — required Jira permissions, file size limits, duplicate-filename handling, and whether the upload is reversible.

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?

Three short sentences, front-loaded with the action and with no filler. There is mild redundancy between 'Accepts an absolute file path on the local filesystem' and the filePath schema description, but nothing wasteful.

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 two-parameter, non-nested tool this covers the essentials of what happens, but with no output schema the description should say what is returned (e.g., attachment ID or metadata) and how failures surface. As written, an agent knows how to call it but not what to expect back.

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 both parameters carry examples (issue key format PROJ-123, absolute path example), so the baseline is 3. The description reinforces the absolute-path requirement but adds no new meaning such as path validation rules or filename-vs-path semantics beyond what the schema states.

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: 'Upload a file attachment to a Jira issue.' This clearly separates it from the attachment siblings (get/download/delete), though it never names them explicitly. An agent can identify the operation without opening the schema.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as atlassian_download_jira_attachment or atlassian_delete_jira_attachment. The only guidance given ('Accepts an absolute file path') is parameter-level information already present in the schema, not usage routing.

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