Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

list_test_suites

Read-only

Retrieves test suites from an Azure DevOps test plan as a flat list or tree hierarchy, with pagination for large plans.

Instructions

List test suites in a test plan as a flat list or tree hierarchy with 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>"
    },
    "name": "list_test_suites"
  }
}

Input Schema

NameRequiredDescriptionDefault
expandNoOptional details to expand: "none", "children", or "defaultTesters"
planIdYesThe numeric ID of the test plan
projectIdNoThe ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset)
asTreeViewNoReturn suites nested as a hierarchy instead of a flat list
continuationTokenNoContinuation token from a previous page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.11

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this as a safe read, lowering the burden. The description adds the meaningful behavioral detail that output can be flat or hierarchical and that results are paginated, but it does not say how many items per page, what the continuation token returns, or what the response shape looks like, which matters for a paginated list 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?

It is a single compact sentence with the resource and the two output modes front-loaded, and no filler wording. It is arguably slightly under-specified rather than over-long, but structurally there is nothing to trim.

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?

With five fully documented parameters, a readOnly annotation, and no output schema to explain, the description covers enough for an agent to call the tool correctly. The main residual gap is that it does not connect the continuationToken usage to a pagination workflow, but the schema fills that in.

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 including planId, projectId, expand, asTreeView, and continuationToken is already documented in the schema, which sets the baseline at 3. The description echoes the flat-vs-tree choice and pagination but adds no syntax or constraint detail beyond what the schema already provides.

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?

The description uses a specific verb+resource combo ("List test suites") and scopes it to "in a test plan," which cleanly separates it from list_test_plans and list_suite_test_cases by resource containment. However, it never explicitly names a sibling or states how it differs from list_suite_test_cases, so the differentiation is implicit rather than stated.

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?

There is no when-to-use guidance, no mention of alternatives like get_test_suite for a single suite, and no note about prerequisites such as the planId being required or the projectId fallback. The only usage signal is the phrase "in a test plan," which implies but does not state the required input.

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