Skip to main content
Glama

Add dependency

add_dependency

Link two items finish-to-start: toItemId starts after fromItemId finishes. Loops are refused. Needs read-and-change access.

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": {
      "roadmapId": "<roadmapId>",
      "fromItemId": "<fromItemId>",
      "toItemId": "<toItemId>"
    },
    "name": "add_dependency"
  }
}

Input Schema

NameRequiredDescriptionDefault
toItemIdYesThe item that depends on it
roadmapIdYesRoadmap id
fromItemIdYesThe item that comes first

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, non-destructive, non-idempotent mutation; the description adds real value by disclosing that cyclic dependencies are rejected and that elevated read-and-change permissions are required. It stops short of describing duplicate-link handling, which matters given idempotentHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, no waste, and the core relationship is front-loaded before the constraint and the permission note.

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 three-parameter mutation with no output schema, the description covers direction, cycle rejection, and auth requirements; only duplicate-handling and error/response behavior are left unstated.

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 goes further by defining the causal ordering between the two ID parameters ('toItemId starts after fromItemId finishes'), removing ambiguity that the terse schema descriptions leave.

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 ('Link two items') plus the exact relationship semantics ('finish-to-start: toItemId starts after fromItemId finishes'), which distinguishes it from the goal-linking sibling (link_item_to_goal) without naming it.

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 implied by the dependency framing and the 'Needs read-and-change access' prerequisite, but there is no explicit when-to-use/when-not guidance or reference to an alternative like link_item_to_goal.

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