Skip to main content
Glama

uploadAttachmentToJiraIssue

Attach a local file to a Jira issue by providing the issue key or ID and the file's absolute path. Useful for adding screenshots, documents, or logs directly to work items.

Instructions

Attach a local file to an work item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute path to the local file, on the machine running this MCP server
mimeTypeNo
issueIdOrKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), so the bar is lowered. The description adds nothing beyond that: no note that repeated calls create duplicate attachments, no size/type constraints, no indication of what the response contains.

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 short, front-loaded sentence with no filler. It is efficient, though the article error ('an work item') and the fully generic wording make it feel under-authored rather than tight.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema and two undocumented parameters, the description is far too thin: it never states whether the file replaces or supplements existing attachments, what happens on failure, or what a successful call returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% — filePath is documented ('absolute path ... on the machine running this MCP server') but issueIdOrKey and mimeType have no descriptions. The description adds no parameter meaning at all, so it fails to compensate for the coverage gap.

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?

The description gives a clear verb+resource ('Attach a local file'), and the tool name pins the exact target (Jira issue attachment). However, it says 'work item' rather than 'Jira issue', and it never distinguishes itself from the inverse sibling downloadJiraIssueAttachment.

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?

No when-to-use guidance, no prerequisites (e.g. attachment permissions, file size limits), and no mention of alternatives such as downloadJiraIssueAttachment. The agent must infer all usage context from the name alone.

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