Skip to main content
Glama

task_relation_create

Links two tasks or bugs with a role relative to the current task key, named as 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 it was found during, regressionOf the task that introduced the defect (from git history only); desc explains the relation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesCurrent task number — the one the role refers to
descNoExplanation of the relation
roleYesRole relative to the current task
otherKeyYesNumber of the task or bug to link

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered; the description adds directional semantics (which side waits for which) and the provenance constraint that regressionOf is derived from git history only. It says nothing about permissions, idempotency, or what happens when the same relation already exists — meaningful gaps for a mutation tool.

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?

One dense paragraph with zero filler, and the linking action plus role list are front-loaded. The bug-specific clauses at the end are justified but make the block long; a bulleted role mapping would scan faster, though nothing is wasted.

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 3-required-param mutation with full schema coverage, no output schema, and annotations covering safety, the description supplies what structured data omits: role directionality and bug-specific semantics. Missing only edge behavior (duplicate relation, permission requirements, effect on existing links), which keeps it short of a 5.

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

Parameters5/5

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

Schema coverage is 100% and key/otherKey are self-documenting, but the schema's role description is only a bare enum label ('Role relative to the current task'). The description defines the direction of every role value (dependencies = current waits for other; blockedTasks = other waits for it; etc.) and explains desc as the relation explanation — real meaning beyond the structured data.

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 ('Links two tasks or bugs') and immediately scopes it: the role is interpreted relative to the current task key, with the counterpart given as otherKey. This is enough for an agent to distinguish it from task_relation_update/delete without opening any schema.

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?

The description effectively tells the agent which role to pick for which real-world situation (waits-for, duplicate, regression, found-during, neutral), which is the main 'when to use' decision here, and clarifies foundDuring/regressionOf are bug-specific with regressionOf sourced from git history. It does not, however, say when to use this tool versus task_relation_update or task_relation_delete for an existing relation.

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