Skip to main content
Glama
MCP Azure DevOps Server
by fabriciofs

wit_get_work_item

Retrieve a single Azure DevOps work item by ID to inspect its fields, links, or relations, with optional project scoping.

Instructions

Get a single work item by ID.

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": {
      "id": "<id>"
    },
    "name": "wit_get_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWork item ID.
expandNoExpand options.
fieldsNoFields to include.
projectNoProject name or ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.8/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 does almost none of it: it doesn't say what the default response contains, how 'expand' changes it, or what happens when the ID is invalid or the caller lacks permission. Only the read nature is implied by 'Get'.

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

Conciseness3/5

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

One short front-loaded sentence with zero waste, but it is under-specified rather than concise: for a four-parameter tool with an enum and no annotations, seven words leaves real gaps.

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 tool with 4 parameters, an enum expand option, no annotations, and no output schema, the description omits what is returned, how field selection defaults, and error behavior. The schema covers the parameters, but the agent is left guessing about the response shape.

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 coverage is 100%, so the schema already documents id, expand, fields, and project. The description adds nothing beyond the schema ('by ID' merely restates the required parameter), so the baseline 3 applies.

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 ("Get a single work item") and the key selector (by ID). The word "single" implicitly distinguishes it from the batch/iteration listing siblings, though no sibling is named.

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 explicit when-to-use guidance, no mention of alternatives such as wit_get_work_items_batch_by_ids for multiple IDs, and no stated prerequisites (e.g., which project scope applies). Only an implied usage is conveyed by 'single'.

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