Skip to main content
Glama

Replace task work links

set_task_work_links
DestructiveIdempotent

Replace the work result links of a task (what the assignee delivered, e.g. a PR or a deployed preview).

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": {
      "task": "<task>",
      "workLinks": "<workLinks>"
    },
    "name": "set_task_work_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesTask Mongo id or task number such as ZERO-41
workLinksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description's contribution is the word "Replace", which tells the agent existing links are overwritten rather than appended — useful context beyond the annotations. It does not state what happens to existing links when the array is empty, nor any permission or scope requirements, which are the remaining behavioral unknowns for a destructive replace.

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 front-loaded sentence with the destructive action named first, followed by a parenthetical that earns its place by disambiguating an otherwise abstract resource name. No redundant restatement of the title or schema.

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

Completeness3/5

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

With only two parameters, a nested-inline array schema, and no output schema, the definition is close to adequate, and the annotations carry the destructive/idempotent profile. What is missing is the replacement semantics detail (does an empty array clear all links? is the whole set overwritten atomically?) that an agent needs before invoking a destructive tool.

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 50%: only "task" is documented (Mongo id or ZERO-41 style key), and the workLinks array itself has no description. The description partially compensates by explaining what workLinks conceptually holds (delivered artifacts such as a PR or preview), but adds nothing about item-level fields (type/url/title) or the significance of passing an empty array.

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 names a specific verb ("Replace") and resource ("the work result links of a task") and adds a clarifying gloss ("what the assignee delivered, e.g. a PR or a deployed preview") that pins down what a work link is. It does not explicitly name the closely related siblings add_task_link / remove_task_link, so the replace-vs-append distinction is only inferable from the verb.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: "Replace" signals the tool should be used when the full set of links is being set rather than one link being added, which hints at the alternative add_task_link. There is no explicit when-to-use/when-not statement, no mention of add_task_link or remove_task_link, and no prerequisite or permission guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.