Skip to main content
Glama
elad-nofy
by elad-nofy

query_work_items

Query Azure DevOps work items using WIQL or filter by type, state, assigned user, area, iteration, and tags.

Instructions

Query work items using WIQL (Work Item Query Language) or simple filters

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoProject name
wiqlNoWIQL query string (if provided, other filters are ignored)
workItemTypeNoFilter by type (Bug, Task, User Story, etc.)
stateNoFilter by state (Active, Closed, etc.)
assignedToNoFilter by assigned user (use "@Me" for current user)
areaPathNoFilter by area path
iterationPathNoFilter by iteration path
tagsNoFilter by tag
topNoMax items to return
Behavior2/5

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

No annotations provided, so description must disclose behavioral traits. It mentions 'query' (implying read-only) but doesn't explicitly state no writes, permissions needed, rate limits, or error behavior. Significant gaps remain.

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?

Single sentence, efficient and front-loaded. Every word earns its place, stating the action, resource, and two query modes without redundancy.

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?

Despite 9 parameters and no output schema, the description omits return format (e.g., list of work items with fields), pagination behavior, and how to handle large result sets. The 'top' default is not explained. Major gaps for a complex tool.

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?

Although schema covers all 9 parameters, the description adds key context: WIQL is a language and 'if provided, other filters are ignored' explains parameter precedence. This goes beyond raw schema definitions.

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?

Description clearly states 'Query work items' using WIQL or simple filters, distinguishing it from siblings like get_work_item (single item) and search_code (code search). The verb and resource are specific and unambiguous.

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?

Description implies usage for querying work items with complex conditions but lacks explicit guidance on when not to use it (e.g., for a single work item, use get_work_item). No alternatives or exclusions are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elad-nofy/azure-devops-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server