Skip to main content
Glama
K3roru

tfs-mcp-server

by K3roru

Run WIQL

run_wiql
Read-onlyIdempotent

Execute any WIQL query to retrieve matching work items or link trees from TFS/Azure DevOps Server, with options for fields, format, and project.

Instructions

Execute an arbitrary WIQL query string as-is, e.g. "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @project AND [System.State] = 'Active'". Returns the matching work items (flat) or the link tree (tree/oneHop queries).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMax number of work items to materialise.
wiqlYesFull WIQL statement.
fieldsNoFields to return per work item. Defaults to the SELECT columns.
formatNoHow to return rich-text fields (Description, Repro Steps, comments): converted to plain text/markdown, or raw HTML.text
projectNoProject used to resolve @project; optional for collection-wide queries.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the tool read-only and idempotent, covering the safety profile. The description adds meaningful behavioral context by stating that the query is executed as-is and that results are returned flat for flat WIQL queries or as a link tree for tree/oneHop queries. No contradiction with annotations.

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 two sentences with the core purpose front-loaded, followed by one illustrative example and a compact note about return shape. There is no filler, repetition, or unnecessary detail.

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 schema fully covers parameter semantics, annotations cover read-only and idempotent behavior, and the description states the return shape. Since there is no output schema, the explicit mention of flat versus tree/oneHop results is valuable; the only notable gap is the absent routing guidance for choosing between run_wiql and run_query.

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 the schema already documents all five parameters with descriptions. The tool description does not explain individual parameters beyond the schema, and its WIQL example only lightly illustrates the wiql parameter. This matches the baseline for full schema coverage.

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 action ('Execute'), a precise resource ('arbitrary WIQL query string'), and provides a concrete example with a SELECT query. It also distinguishes itself from siblings like run_query by emphasizing raw, as-is WIQL execution rather than saved-query execution.

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 phrase 'arbitrary WIQL query string as-is' implies that this tool is for raw query text rather than saved queries, but it does not explicitly mention when to use it versus alternatives such as run_query. No exclusions or routing guidance is given, so usage is only implied.

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

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/K3roru/tfs-mcp-server'

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