Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

create_test_suite

Creates static, requirement-based, or query-based test suites under an Azure DevOps test plan, helping you organize test cases by requirements or WIQL queries.

Instructions

Create a static, requirement-based, or query-based test suite under a test plan

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": "<name>"
    },
    "name": "create_test_suite"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the new test suite
planIdYesThe numeric ID of the parent test plan
projectIdNoThe ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset)
suiteTypeNoSuite type: "staticTestSuite" (default), "requirementTestSuite" (requires requirementId), or "dynamicTestSuite" (requires queryString)staticTestSuite
queryStringNoWIQL query returning Test Case work items (required when suiteType is "dynamicTestSuite")
parentSuiteIdNoParent static suite ID. When omitted, automatically resolves and uses the test plan rootSuite ID.
requirementIdNoRequirement / User Story / PBI work item ID (required when suiteType is "requirementTestSuite")
inheritDefaultConfigurationsNoWhether the suite inherits default configurations from its parent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.11

TDQS

C2.9/5.0
Behavior2/5

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

The only annotation is readOnlyHint=false, so the description must carry the disclosure burden. It confirms creation but says nothing about permissions, failure modes (e.g., invalid requirementId, cross-project plan), or what the caller gets back for follow-up use. For a mutation tool with near-zero annotation coverage this is thin.

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 verb first and no wasted wording. It is efficient, though the brevity borders on under-specification rather than deliberate compactness.

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?

This is an eight-parameter creation tool with no output schema, yet the description never indicates what is returned (presumably a suite ID needed by add_test_cases_to_suite or get_test_suite). The conditional parameter relationships and the default project fallback are left entirely to the schema, leaving the definition incomplete for an agent planning a multi-step workflow.

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 all eight parameters are already fully documented, including the conditional requirements between suiteType and requirementId/queryString. The description only echoes the suite-type split and adds no format or interaction detail beyond the schema; baseline 3 applies.

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 (Create) and resource (test suite) plus the parent context (under a test plan), and names the three supported suite variants (static, requirement-based, query-based). It is clearly distinguishable from siblings like create_test_plan or add_test_cases_to_suite, though it never explicitly names those alternatives.

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?

No when-to-use guidance beyond the parenthetical variant labels, which merely restate the suiteType enum. There is no mention of when to prefer a static vs requirement vs dynamic suite, no prerequisites (e.g., that the parent must be a static suite for nested creation), and no routing to siblings for post-creation steps.

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