Skip to main content
Glama

Upload temporary Tracker file

tracker_attachments_upload_temp

Upload a small temporary file to attach when creating an issue or a comment.

Instructions

Upload a small temporary file to attach when creating an issue or a comment.

The returned id goes into attachmentIds of the issue or comment body, and works once. The file travels as base64 in the request, so keep it small.

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

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.
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: -[
      -  "file_name",
      -  "data"
      -]New value: +[
      +  "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 cover the safety profile (not read-only, not idempotent, open-world), and the description adds genuinely new behavior: base64 transport in the request body, a size caveat, and critically the single-use lifecycle of the returned id. It does not say how long a "temporary" file survives or what the size ceiling actually is, which are the two facts an agent most needs when deciding whether to use this at all.

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?

Three short sentences with zero waste: purpose first, then how to consume the result, then the transport constraint. Every sentence earns its place and the most decision-relevant fact (single use) is not buried.

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 four-parameter upload tool with no output schema, the description covers purpose, result handling, and the one-shot constraint, which is enough to call it correctly. The remaining gap is the lifetime of a temporary upload — an agent cannot tell whether it can upload now and attach later, which is central to what "temporary" means here.

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 filename, data, dry_run and rename_to are all documented in structured form. The description only adds the loose "keep it small" constraint on the data payload and says nothing about rename_to or how it interacts with filename. Baseline 3 is appropriate 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 ("Upload a small temporary file") plus the downstream purpose ("attach when creating an issue or a comment"). It never distinguishes itself from the sibling tracker_attachments_upload (presumably the non-temporary variant), so the "temporary" qualifier carries the whole differentiation burden without being explained.

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?

Gives concrete usage context: the returned id goes into ``attachmentIds`` of the issue or comment body, and the file is consumed once. That tells an agent exactly how to chain this call into an issue/comment creation flow. It stops short of saying when to prefer this over the permanent tracker_attachments_upload sibling, so no explicit alternative routing.

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