Skip to main content
Glama
mcp-devops-onpremise

mcp-devops-onpremise

by zwitbaum

Search work items

devops_work_item_search
Read-only

Search Azure DevOps work items by keyword, then filter by area path, work item type, state, or assignee to locate relevant PBIs, bugs, and tasks.

Instructions

Search work items (PBIs, bugs, tasks, etc.) in the configured Azure DevOps project using full-text search. Optionally filter by area path, work item type, state, or assigned-to user.

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": {
      "search_text": "<search_text>"
    },
    "name": "devops_work_item_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoMaximum number of results to return (1–200).
skipNoNumber of results to skip for pagination.
stateNoFilter results to one or more work item states (e.g. 'Active', 'Closed').
area_pathNoFilter results to one or more area paths.
assigned_toNoFilter results to one or more assigned-to display names or canonical identity values.
search_textYesKeywords to search for in work item fields.
include_facetsNoWhen true, include facet counts in the response.
work_item_typeNoFilter results to one or more work item types (e.g. 'Bug', 'Task').

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds project-level scoping and that search is full-text, but it does not say which fields are searched, how results are ordered or ranked (relevance vs. recency), or that results are paginated — usable context, but thin for an 8-parameter search tool.

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 short sentences, purpose stated first and filters second, nothing redundant or padded. Every clause conveys information the agent did not already have in the name.

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?

With annotations covering the read-only profile, a 100%-covered schema, and an output schema that handles return values, the description is nearly complete. The remaining gap is selection context: nothing tells the agent why to choose this over devops_work_item_query_by_wiql or the code/wiki search siblings.

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 every parameter including top, skip, include_facets, and the filter arrays is already documented. The description only echoes four of the filters (area path, work item type, state, assigned_to) without adding semantics such as matching behavior or whether multiple values are OR'd, so it sits at the baseline.

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?

Names a specific verb and resource plus the scope: 'Search work items (PBIs, bugs, tasks, etc.) in the configured Azure DevOps project using full-text search.' That clearly separates it from create/update/get siblings on the work item alone, but it never distinguishes itself from other search tools such as devops_code_search, devops_wiki_search, or the structured devops_work_item_query_by_wiql.

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?

The optional filter list implies when the tool is useful, but there is no explicit routing guidance. It should say when to prefer this over a WIQL query for structured filtering, or over code/wiki search, and it gives no note that search_text is required to get any results.

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