Skip to main content
Glama

Link an item to a goal

link_item_to_goal
DestructiveIdempotent

Link an item or milestone to one of the roadmap's goals, or pass goalId null to unlink it. 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>",
      "itemId": "<itemId>",
      "goalId": "<goalId>"
    },
    "name": "link_item_to_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalIdYesGoal id, or null to unlink
itemIdYesItem or milestone id from get_roadmap
roadmapIdYesRoadmap id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/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, and the description usefully explains that the destructive element is the null-goalId unlink path, plus the permission requirement. It does not say what happens on an invalid id, whether relinking replaces an existing goal, or what the response looks like.

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?

Two tight sentences, with the primary link operation and the null-based unlink behavior front-loaded before the access note. No wasted wording.

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?

For a three-required-parameter mutation with annotations and no output schema, the description covers purpose, the unlink branch, and permissions. Gaps remain around error behavior and whether a relink overwrites a prior association, which an agent would want to know before calling it.

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 description coverage is 100%, so the schema already documents all three parameters, and the description mostly restates the goalId-null semantics. It adds the useful clarification that itemId may refer to an item or a milestone, but little else beyond the schema.

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?

States a specific verb and resource ('Link an item or milestone to one of the roadmap's goals') plus the inverse operation via 'goalId null to unlink it'. It is clearly distinct from goal-creation siblings like set_goal or delete_goal, though no sibling is named explicitly.

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?

Gives clear context for both directions of use: linking when a goalId is supplied, unlinking when null is passed. It also states the access prerequisite ('Needs read-and-change access'). It does not name alternatives or exclusions, so it falls short of a 5.

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