Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

wit_add_artifact_link

Links an artifact to a work item, letting you connect builds, commits, or documents to track related work in Azure DevOps.

Instructions

Add an artifact link to a work item.

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": {
      "workItemId": "<workItemId>",
      "artifactUri": "<artifactUri>"
    },
    "name": "wit_add_artifact_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentNoComment.
linkTypeNoLink type.
workItemIdYesWork item ID.
artifactUriYesArtifact URI.

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?

No annotations are supplied, so the description carries the full behavioral burden and delivers almost nothing: it does not say what counts as a valid artifact URI, whether adding a duplicate link errors or is idempotent, whether the operation mutates or replaces existing links, or what permissions are required. Only the word 'Add' signals that this is 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, so structure is clean and the core operation appears first. Its brevity is the source of the completeness gaps scored elsewhere, not a flaw of wording.

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 mutation tool with no annotations, no output schema, and schema field descriptions that are pure tautologies ('Comment.', 'Link type.'), the description should carry more. Nothing tells the agent about validation rules, link types, duplicate handling, or the shape of a successful response.

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 are documented in the schema, which sets the baseline at 3. The description adds no meaning beyond it — notably it says nothing about what linkType values are valid, even though no enum constrains that field.

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?

The description names a specific verb and resource ('Add an artifact link') and a target ('to a work item'), so an agent knows the operation at a glance. It does not differentiate itself from sibling link tools such as wit_link_work_item_to_pull_request or wit_work_items_link, leaving the choice to inference.

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 context, no prerequisites (e.g. required permissions or scopes), and no mention of alternatives such as wit_work_items_link. The agent must guess the boundary between this and the several other link-related 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