Skip to main content
Glama

task_relation_update

Creates or changes a relation between two tasks or bugs. The role is relative to the current task (key), with the names used in the task's relations: dependencies - the current task waits for the other; blockedTasks - the other waits for it; duplicateOf / duplicates; regressionOf / regressions; foundDuring / findings; related - neutral. For a bug, foundDuring is the task during which it was found and regressionOf the task that introduced the defect (by git history only). Without a relation of that role one is created (desc - explanation); an existing one gets newRole and desc. Moving it away from dependencies / blockedTasks unblocks the waiting task with notifications, as in the web app. Relations with meetings (outcomeOf) are managed from the meeting side.

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": {
      "key": "<key>",
      "otherKey": "<otherKey>",
      "role": "<role>"
    },
    "name": "task_relation_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesCurrent task number — the one the role refers to
descNoExplanation; null or empty string — remove; omitted — unchanged
roleYesRelation role relative to the current task, as in its relations
newRoleNoNew role of an existing relation; omitted — unchanged
otherKeyYesRelated task or bug number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / desc / description
      Previous value: -"New explanation; null or empty string — remove; omitted — unchanged"New value: +"Explanation; null or empty string — remove; omitted — unchanged"
    • removedInput schema / properties / key / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / key / minimum
      Removed value: --9007199254740991
    • changedInput schema / properties / newRole / description
      Previous value: -"New role relative to key; omitted — unchanged"New value: +"New role of an existing relation; omitted — unchanged"
    • removedInput schema / properties / otherKey / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / otherKey / minimum
      Removed value: --9007199254740991
    • changedInput schema / properties / role / description
      Previous value: -"Current role of the relation"New value: +"Relation role relative to the current task, as in its relations"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that moving a relation away from dependencies or blockedTasks unblocks the waiting task with notifications. It also explains desc removal semantics and how creation versus update of existing relations is handled.

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?

The description is dense and front-loads the core action, then explains roles and edge cases. The role enumeration is long but each clause carries information needed to use the tool correctly.

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

Completeness5/5

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

Given the complex role model and side effects, the description covers creation, updating, removal, mapping of role names, and the meeting-side exception. No output schema exists, and the description is complete enough for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantics for each role and for the distinction between dependencies and blockedTasks. It also reinforces desc behavior, though the schema already documents some of that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: creates or changes a relation between two tasks or bugs. It also clarifies the role is relative to the current task and distinguishes meeting relations as managed elsewhere, so an agent can separate it from meeting_relation_update.

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?

Explains the create-versus-update behavior clearly: if no relation of that role exists one is created, and an existing one gets newRole and desc. It also routes meeting outcomeOf relations to the meeting side, though it does not explicitly mention task_relation_delete as the removal alternative.

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.

Resources