Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

wit_work_items_link

Link Azure DevOps work items using source and target IDs plus link type to establish parent, child, related, or other relationships, with optional comments.

Instructions

Create a link between work items.

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": {
      "sourceId": "<sourceId>",
      "targetId": "<targetId>",
      "linkType": "<linkType>"
    },
    "name": "wit_work_items_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoLink comment.
linkTypeYesLink type (parent, child, related, etc).
sourceIdYesSource work item ID.
targetIdYesTarget work item ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing. It does not say whether the link is bidirectional, what happens on duplicate links, whether it mutates the target work item's history, or what permissions are required for a write operation.

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?

A single front-loaded sentence with no filler, which is structurally clean. It is arguably under-specified rather than verbose, but nothing in the text is wasted.

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

Completeness2/5

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

For a write tool with zero annotation coverage and no output schema, this is too thin. An agent gets no information on side effects, error conditions (invalid IDs, mismatched link types), or return behavior after the link is created.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters (sourceId, targetId, linkType, comment) are already documented in the schema, which sets the baseline at 3. The description adds no extra meaning, such as how directionality of source vs target affects parent/child link types.

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: 'Create a link between work items.' An agent knows what the tool produces, but nothing distinguishes it from siblings such as wit_add_child_work_items or wit_link_work_item_to_pull_request, so it cannot tell which linking tool to pick from the description alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites (e.g., whether both work items must exist or belong to the same project), and no mention of an alternative for the parent/child or artifact-link cases handled by siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools