Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

create_test_plan

Create an Azure DevOps test plan in a project to organize and track testing work. Specify a name and optional details such as state, owner, build, dates, area path, and iteration.

Instructions

Create a new test plan in a project (requires Basic + Test Plans license and Test Management write permission)

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

Input Schema

NameRequiredDescriptionDefault
nameYesName of the new test plan
stateNoState of the test plan (e.g., "Active", "Inactive")
buildIdNoOptional build ID associated with the test plan
endDateNoEnd date in ISO 8601 format (e.g., "2026-06-30")
ownerIdNoUser ID (GUID) of the test plan owner
areaPathNoArea path for the test plan
iterationNoIteration path for the test plan (e.g., "MyProject\\Sprint 1"). Defaults to projectId when omitted (specify explicitly if projectId is a project GUID).
projectIdNoThe ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset)
startDateNoStart date in ISO 8601 format (e.g., "2026-06-01")
descriptionNoDescription of the test plan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.11

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, so the description's disclosure that the call is license-gated and requires Test Management write permission is genuinely additive for a mutation tool. It still omits failure behavior (what happens on permission denial) and what is returned on success, but the licensing prerequisite is the high-value detail.

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?

A single sentence with the action front-loaded and the precondition in a parenthetical; no filler or restated title.

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 a ten-parameter create tool and no output schema, the definition covers the main risk (licensing/permissions) but leaves gaps: what the response contains, whether the created plan ID is returned, and any defaults applied. Adequate but not complete for a write operation of this shape.

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 all ten parameters including defaults for projectId and iteration are already documented inline. The description adds no parameter-level meaning beyond the schema, which is the expected baseline here.

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 ('Create a new test plan in a project'), clearly distinct from read-side siblings such as get_test_plan and list_test_plans. It does not name an alternative, but the resource itself is unambiguous.

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 parenthetical gives a real precondition (Basic + Test Plans license and Test Management write permission) that gates successful use. It does not say when to prefer this over create_test_suite or other creation tools in the family, so guidance is implied at best.

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