Skip to main content
Glama

Import Tracker issue attachment

tracker_attachments_import

Import a file onto an issue with its original author and creation time (admin-only).

Instructions

Import a file onto an issue with its original author and creation time (admin-only).

The file travels as base64 in the request, so keep it small; for a large file run ycli tracker attachments import instead. created_at uses YYYY-MM-DDThh:mm:ss.sss±hhmm. Returns the imported 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": {
      "issue_key": "<issue_key>",
      "filename": "<filename>",
      "created_at": "<created_at>",
      "created_by": "<created_by>",
      "data": "<data>"
    },
    "name": "tracker_attachments_import"
  }
}

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 the imported file gets on the issue.
issue_keyYesIssue key, e.g. QUEUE-123.
created_atYesOriginal creation time, ``YYYY-MM-DDThh:mm:ss.sss±hhmm``.
created_byYesLogin or id of the user to record as the file's author.

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. Addedv0.122.1

TDQS

A3.9/5.0
Behavior4/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), and the description adds genuinely new context: an admin permission requirement, a payload size constraint from base64 transport, and that the imported attachment is returned. This goes meaningfully beyond the annotations, though it doesn't cover failure modes such as duplicate filenames or invalid timestamps.

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 core action and its admin gate. The created_at format string duplicates the schema description, which is the only clear waste, and the rest of the text earns its place.

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 non-idempotent write tool with no output schema, the description covers the permission gate, the size limitation, the timestamp format, and the return value. The dry_run parameter is left to the schema, which is acceptable given its self-explanatory description.

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 all six parameters including dry_run are already documented in the schema, which sets the baseline at 3. The description only restates the created_at format that the schema already gives and mentions the base64 size concern; it adds little new parameter-level meaning.

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 specific verb and resource ('Import a file onto an issue') plus the distinguishing trait that makes it different from a plain upload: it preserves the original author and creation time. It stops short of naming the sibling tool (tracker_attachments_upload) it is implicitly contrasted with, so the differentiation requires a small inference.

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 states a hard prerequisite ('admin-only') and gives a concrete when-not with an alternative for large files ('run ycli tracker attachments import instead') because the payload travels as base64. It does not spell out when an agent should choose this over tracker_attachments_upload, leaving the author/creation-time distinction to be inferred.

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