Skip to main content
Glama

work_dependency_add

Add a dependency: blocker must finish before blocked can proceed.

Pass blocker_id + blocked_id, or equivalently work_id (blocked) + depends_on_id (blocker). Cycles are refused — a task cannot become its own (transitive) blocker (error=cycle / error=self_edge). Result includes org + bound.

Input Schema

NameRequiredDescriptionDefault
agentNoOverride agent identity
work_idNoAlias for blocked_id (the task that waits)
blocked_idNoTask that is blocked
blocker_idNoTask that must finish first
depends_on_idNoAlias for blocker_id (the task it waits on)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does add real behavioral context: it discloses that cycles are refused, that self/transitive edges are rejected, names the error codes (cycle/self_edge), and notes the result fields (org, bound). It stops short of stating auth/permission requirements or rate limits, so it is strong but not exhaustive.

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?

Front-loaded with the core semantic ('blocker must finish before blocked'), then parameters, then validation and result. Every sentence earns its place, though the heavy inline-code formatting makes the middle sentence slightly dense.

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 5-param tool with an output schema present, the description covers purpose, parameter equivalence, failure modes, and (briefly) result shape. Return-value detail is rightly left to the output schema; the main remaining gap is usage/precondition guidance versus sibling tools.

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 genuine value by clarifying the aliasing that the schema only lists flatly: it makes explicit that blocker_id+blocked_id and work_id+depends_on_id are equivalent pairings and reinforces which ID is the blocker vs the blocked task.

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+resource ('Add a dependency') and immediately defines the semantic model (blocker must finish before blocked). The verb distinguishes it from work_dependency_remove and work_dependencies_list among siblings, so an agent can select it without ambiguity.

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?

The description thoroughly explains how to invoke the tool (two equivalent parameter formulations) but never states when to prefer it over alternatives or any preconditions/exclusions beyond the cycle rule. Usage is implied by the clear purpose rather than explicitly guided.

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.