Skip to main content
Glama
zwitbaum

mcp-devops-onpremise

by zwitbaum

devops_work_item_query_by_wiql

Read-only

Execute WIQL queries to retrieve matching work items from Azure DevOps on-premise, with optional result limits and time precision.

Instructions

Execute a WIQL (Work Item Query Language) query and return the matching work items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe WIQL query string. Example: "SELECT [System.Id], [System.Title], [System.State] FROM WorkItems WHERE [System.WorkItemType] = 'Bug' AND [System.State] <> 'Closed' ORDER BY [System.CreatedDate] DESC"
topNoMaximum number of results to return. Omit to use the server default.
time_precisionNoIf True, use time precision for date comparisons in the query.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the description's statement 'execute a WIQL query' is consistent. However, it adds no behavioral details beyond what the annotations provide, such as rate limits or pagination behavior.

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 a single 13-word sentence that is front-loaded with the action and resource. No unnecessary words.

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?

Given the presence of an output schema (not shown) and the straightforward nature of a WIQL query tool, the description covers the core functionality adequately. It lacks information on potential errors or limits, but this is acceptable for a query tool.

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% and each parameter has a description (e.g., query has an example, top describes count, time_precision explains flag). The tool description does not add additional context beyond the schema.

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 clearly states the verb 'execute' and resource 'WIQL query', and specifies the outcome 'return the matching work items'. It distinguishes from sibling tools such as devops_work_item_get, which retrieves a single item by ID.

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?

The description provides no guidance on when to use this tool versus alternatives like devops_work_item_get or other retrieval tools. It does not mention contexts or exclusions.

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/zwitbaum/mcp-devops-on-prem'

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