Skip to main content
Glama

Search work items

search_work_items
Read-only

Find Azure DevOps work items by project, type, state, assignee, or title text. Returns concise summaries for quick filtering, not full details.

Instructions

Find work items in a project by type, state, assignee or text in the title. Returns compact summaries; use get_work_item for full detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMax results (capped by policy.maxResults)
textNoText to match in the title
typeNoe.g. "Bug", "User Story", "Task"
stateNoe.g. "Active", "New", "Resolved"
projectYesAzure DevOps project name
assignedToNoDisplay name or email, or "@me"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context not in the annotations: the response is compact summaries rather than full records. It still omits pagination/truncation behavior for a capped result set, but the return-shape disclosure is a real addition.

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 sentences, zero waste, with the core capability front-loaded and the routing hint second. Every clause earns its place.

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?

For a read-only search tool with no output schema, the description covers what it searches, the shape of the result, and where to go for detail. It does not mention result caps or how to page through matches, which is a minor gap given the top parameter and policy cap already exist in the schema.

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 every parameter (top, text, type, state, project, assignedTo) is already documented in the schema, including defaults and caps. The description only restates the filterable fields without adding format, syntax, or matching semantics, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (find) and resource (work items) plus the filterable dimensions (type, state, assignee, title text). It explicitly differentiates from the sibling get_work_item by noting that this returns compact summaries while that tool returns full detail.

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?

Names the alternative (get_work_item) and the condition that selects it (need for full detail), which is clear routing guidance. It does not state exclusions or prerequisites (e.g., whether a project must exist, pagination behavior), so it stops short of explicit when-not guidance.

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