Skip to main content
Glama

Attach Tracker entity file

tracker_entities_attachments_attach

Attach a previously uploaded temporary file to a Tracker entity.

Instructions

Attach a previously uploaded temporary file to a Tracker entity.

Requires a temp_file_id from the Tracker temporary-upload endpoint (not wrapped by ycli — files are usually seeded via the UI). Returns the entity.

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": {
      "entity_type": "<entity_type>",
      "entity_id": "<entity_id>",
      "temp_file_id": "<temp_file_id>"
    },
    "name": "tracker_entities_attachments_attach"
  }
}

Input Schema

NameRequiredDescriptionDefault
expandNoExtra blocks to include in the reply.
fieldsNoComma-separated fields to include in the reply.
notifyNoNotify the users in the fields of the object; omitted, the API notifies.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
entity_idYesEntity id (or shortId).
entity_typeYesEntity type: ``project``, ``portfolio`` or ``goal``.
temp_file_idYesTemporary file id from a prior POST /attachments upload.
notify_authorNoNotify the author of the change; omitted, the API does not.

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. First observedv0.67.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the write profile is covered. The description adds genuinely non-structured context: the required out-of-band prerequisite step that this toolset does not provide, plus the return value ("Returns the entity"). It does not discuss side effects on existing attachments or notification behavior, but that is largely delegated to the schema.

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, followed by the prerequisite and the return value. Nothing is wasted, though the parenthetical about ycli is slightly cryptic without prior toolset familiarity.

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?

The description covers the essential missing piece for a mutation tool with a hard external prerequisite, and states the return value even though no output schema exists. With 100% schema coverage and clear annotations, the remaining gaps are minor.

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 the schema already documents all eight parameters including notify, notify_author, expand and fields. The description only elaborates on temp_file_id's origin, which is a modest addition beyond the schema's own wording.

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?

"Attach a previously uploaded temporary file to a Tracker entity" gives a specific verb plus resource and scope, and the phrase "previously uploaded temporary file" implicitly separates this from an upload/import sibling. It never names a sibling tool outright, so the differentiation is inferred rather than stated.

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 the precondition for use clearly: a temp_file_id from the Tracker temporary-upload endpoint, with the note that this endpoint is not wrapped by ycli and files are usually seeded via the UI. That is actionable context for when this tool can be used, though there is no explicit when-not-to-use or named alternative.

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