Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

list_suite_test_cases

Read-only

Retrieves test cases linked to a specific Azure DevOps test plan and suite, with optional work item fields, filtering, recursion, and pagination.

Instructions

List test cases linked to a specific test suite with optional work item fields and pagination

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "planId": "<planId>",
      "suiteId": "<suiteId>"
    },
    "name": "list_suite_test_cases"
  }
}

Input Schema

NameRequiredDescriptionDefault
expandNoInclude full work item field details (defaults to true in Azure DevOps)
planIdYesThe numeric ID of the test plan
suiteIdYesThe numeric ID of the test suite
testIdsNoOptional filter by specific Test Case work item IDs
projectIdNoThe ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset)
witFieldsNoOptional work item fields to include (e.g., ["System.Title", "System.State", "Microsoft.VSTS.TCM.Steps"])
isRecursiveNoInclude test cases from child suites recursively (Azure DevOps Services / Server 7.1+)
configurationIdsNoOptional filter by test configuration IDs
continuationTokenNoContinuation token from a previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.11

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description does not need to establish safety. It adds that work item fields are optional and that results paginate, which is useful, but it says nothing about the response shape, page sizing, or whether the suite must exist, leaving the behavioral picture thin for a nine-parameter tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the core operation first and qualifiers after; no filler or repetition. It is arguably too terse for a nine-parameter tool, but every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description bears some burden for return-value expectations, and it only gestures at pagination via a continuation token without explaining page behavior. Important schema-documented options like testIds filtering, configurationIds, and isRecursive are never surfaced, so an agent must open the schema to understand the tool's real scope.

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 already carries its own documentation, including expand defaults, projectId fallback, and recursive retrieval. The description only echoes the witFields and continuationToken concepts, adding essentially no meaning beyond the schema.

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

Purpose4/5

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

States a specific verb and resource ('List test cases') scoped to 'a specific test suite', which cleanly separates it from the add/remove-to-suite and create_test_case siblings. It stops short of naming any sibling explicitly, so it is clear but not fully differentiated.

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 'linked to a specific test suite' implies the context in which to call it, but there is no explicit when-to-use guidance, no prerequisites (e.g., needing a planId and suiteId pair), and no pointer to alternatives such as get_test_suite or list_work_items for broader queries.

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