Skip to main content
Glama

Attach file to Tracker issue

tracker_attachments_upload

Attach a small file to a Tracker issue; returns the created attachment.

Instructions

Attach a small file to a Tracker issue; returns the created attachment.

The file travels as base64 in the request, so keep it small; for a large file run ycli tracker attachments upload instead.

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": {
      "issue_key": "<issue_key>",
      "filename": "<filename>",
      "data": "<data>"
    },
    "name": "tracker_attachments_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesThe file's bytes, base64-encoded.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
filenameYesName of the file being uploaded.
issue_keyYesIssue key or id, e.g. ``JUNE-2``.
rename_toNoStore the file under this name instead of ``filename``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. Changed4 schema fields changedv0.122.1
    • removedInput schema / properties / file_name
      Removed value: -{
      -  "description": "Name of the file being uploaded.",
      -  "type": "string"
      -}
    • addedInput schema / properties / filename
      Added value: +{
      +  "description": "Name of the file being uploaded.",
      +  "type": "string"
      +}
    • changedInput schema / properties / rename_to / description
      Previous value: -"Store the file under this name instead of ``file_name``."New value: +"Store the file under this name instead of ``filename``."
    • changedInput schema / required
      Previous value: -[
      -  "issue_key",
      -  "file_name",
      -  "data"
      -]New value: +[
      +  "issue_key",
      +  "filename",
      +  "data"
      +]
  3. First observedv0.67.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive, open-world write; the description adds genuinely new behavioral context by disclosing the base64 transport and the resulting size constraint, plus the fact that the created attachment is returned. It does not address permissions needed or what happens when rename_to collides with an existing attachment name.

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 with the core action and return value front-loaded, followed immediately by the size caveat and the escape hatch. No filler wording.

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?

For a five-parameter write tool with no output schema, the description covers the action, the return, the transport constraint, and the fallback for large files. It stops one step short on write-safety details such as required permissions or duplicate-name behavior.

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 description coverage is 100%, so every parameter including dry_run and rename_to is already documented in the schema. The description reinforces the data/size implication but adds no syntax, format, or constraint details beyond the schema, 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?

The description states a specific verb and resource ('Attach a small file to a Tracker issue') and the outcome ('returns the created attachment'), which is far clearer than the title alone. It does not differentiate itself from sibling MCP tools such as tracker_attachments_upload_temp, tracker_entities_attachments_attach, or wiki_attachments_upload, so it stops short of a 5.

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?

It gives concrete when-to-use guidance (small files, since the payload travels as base64) and an explicit when-not-to-use path ('for a large file run ycli tracker attachments upload instead'). The only gap is that it points to a CLI command rather than naming the MCP sibling tools an agent could otherwise choose.

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