Skip to main content
Glama

Robot Actions — Remote Device Control

azdo_search_work_items

Search AzDO work items with WIQL (Work Item Query Language — AzDO's equivalent of Jira's JQL). Returns up to 50 matching work items with the same projection as azdo_get_work_item. WIQL examples: SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active' AND [System.AssignedTo] = @Me, SELECT [System.Id] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.CreatedDate] >= @Today - 7. The SELECT clause is required but only the IDs are honored — the tool batch-fetches full fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wiqlYesWIQL query string. See https://learn.microsoft.com/azure/devops/boards/queries/wiql-syntax
maxResultsNoMax work items to return (default 20, hard cap 50). Narrow WIQL for wider sweeps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It adds meaningful non-obvious traits: only the SELECTed IDs are honored, the tool batch-fetches full fields, and it returns up to 50 items. It does not discuss authentication or errors, but the read-only search nature and return behavior are well covered.

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?

The description is compact and front-loaded with the core purpose. Every sentence adds value: the search intent, the projection alignment with azdo_get_work_item, the WIQL examples, and the behavioral caveat about SELECT clauses are all useful with no filler.

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?

The description is sufficient for correct invocation: it explains the query language, the required SELECT clause, the return projection, and the result cap. It does not detail error handling or authentication, but for a moderate-complexity read/search tool with no output schema, it covers the key operational facts well.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by providing concrete WIQL examples and the guidance to 'Narrow WIQL for wider sweeps.' This adds practical parameter-construction value beyond the schema's own field descriptions.

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?

The description states a specific verb and resource: 'Search AzDO work items with WIQL.' It also differentiates itself from related tools by referencing azdo_get_work_item's projection and by clarifying AzDO context versus Jira, so an agent can distinguish it from azdo_get_work_item, azdo_create_work_item, and jira_search.

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?

The description clearly implies when to use the tool: when searching work items by query rather than fetching a single item. It gives WIQL examples and notes the same projection as azdo_get_work_item, which provides useful context, but it does not explicitly state an exclusion such as 'for a single item by ID, use azdo_get_work_item instead.'

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources