Skip to main content
Glama

ado_testsuites_create

Create a test suite in Azure DevOps with static, requirement-based, or dynamic (WIQL query) membership. Specify project, plan, name, and optional parent or requirement.

Instructions

Create a new suite inside a test plan. suiteType must be staticTestSuite (test cases added manually), requirementTestSuite (linked to one backlog item — requirementId required), or dynamicTestSuite (auto-populated from WIQL — queryString required, membership is read-only). Set parentSuiteId to the plan's rootSuiteId (from ado_testplans_create/get) to attach directly under root. Requires vso.test_write PAT scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSuite name
planIdYesTest plan ID
projectYesProject that owns the test plan
suiteTypeYesSuite type: staticTestSuite (test cases added manually), requirementTestSuite (linked to a single backlog item — requirementId required), dynamicTestSuite (auto-populated from WIQL query — queryString required, membership is read-only)
queryStringNoWIQL SELECT statement for auto-populating the suite. Required when suiteType is dynamicTestSuite.
parentSuiteIdNoParent suite ID. Use the plan's rootSuiteId for top-level suites. Omit to attach under the root suite automatically.
requirementIdNoWork item ID of the backlog item to link. Required when suiteType is requirementTestSuite.

Schema Changelog

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

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true, so the description carries the behavioral burden. It discloses that dynamic suites have read-only membership (changes depend on the WIQL query), that static tests are added manually, and that the operation requires vso.test_write PAT scope. These facts extend beyond the annotations with concrete behavioral and auth detail. 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.

Conciseness4/5

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

One dense paragraph with a front-loaded purpose statement followed by necessary specifics; every sentence earns its place with suite-type rules, parent placement, and auth scope. It could be mildly improved by bulleting the three suite types, but it is far from bloated and reads efficiently.

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 its 7 parameters (all schema-documented), absence of an output schema, and moderate complexity, the description is nearly complete: it covers all suite types, their required fields, parent placement guidance, and PAT scope. It omits explicit return-value expectations, but with no output schema and schema covering params, that is an acceptable minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline 3 applies; the description earns a 4 by articulating cross-parameter dependencies (suiteType ↔ requirementId/queryString) and by explaining parentSuiteId semantics ('Use the plan's rootSuiteId... attach directly under root'), which complements the schema's per-parameter text. The schema already echoes some dependency info in the suiteType description, but the description consolidates it into an actionable rule.

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?

States a specific verb+resource ('Create a new suite inside a test plan') and enumerates the three suite types with their distinguishing characteristics, which separates it cleanly from the sibling ado_testsuites_list (which reads) and ado_testcases_add_to_suite (which adds cases rather than suites). An agent can infer exactly what the tool does and what it does not do.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear when-to-use context by conditioning each suiteType on its required companion parameter (requirementId, queryString) and by cross-referencing ado_testplans_create/get for obtaining rootSuiteId. It does not explicitly name sibling exclusions (e.g., 'use ado_testcases_add_to_suite for existing cases'), but the type-specific requirements effectively route the agent through the correct setup path.

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/Laonnda/azure-devops-local-mcp'

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