Skip to main content
Glama
Azure DevOps MCP Server

Azure DevOps MCP Server

remove_test_cases_from_suite

Detach specified test cases from a static Azure DevOps test suite by ID while keeping the underlying Test Case work items intact.

Instructions

Remove test cases from a static test suite (detaches from suite without deleting the Test Case work items)

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

Input Schema

NameRequiredDescriptionDefault
planIdYesThe numeric ID of the test plan
suiteIdYesThe numeric ID of the static test suite (detaches test cases without deleting the underlying work items)
projectIdNoThe ID or name of the project (Default: MyProject; required if AZURE_DEVOPS_DEFAULT_PROJECT is unset)
testCaseIdsYesNon-empty list of Test Case work item IDs to remove from the suite

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.11

TDQS

A3.8/5.0
Behavior4/5

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

With only readOnlyHint=false supplied, the description carries most of the behavioral burden and delivers the key fact that matters for safety: cases are detached, not deleted, so the underlying Test Case work items survive. It does not cover idempotency (re-removing an absent ID), permission requirements, or what happens if only some of the supplied IDs belong to the suite.

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 front-loaded sentence with a parenthetical that earns its place by conveying the critical non-destructive behavior. No redundant or filler wording.

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?

For a four-parameter mutation with no output schema, the definition covers purpose and the most consequential behavioral trait (no work-item deletion). Remaining gaps are edge-case handling for partial or invalid ID lists and idempotency, which are moderate rather than critical omissions.

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 planId, suiteId, projectId and testCaseIds are already documented in the schema, including a restatement of the non-destructive detach semantics. The description adds no additional meaning about parameter formats or constraints, so the baseline of 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?

The description gives a specific verb ('Remove') plus resource ('test cases') and narrows the scope to a 'static test suite,' which clearly separates it from sibling operations such as create/get/list. It does not explicitly name the inverse tool add_test_cases_to_suite, so sibling differentiation is implied 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 Guidelines3/5

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

Usage is implied: this is the tool for detaching cases from a suite. There is no explicit statement of when to prefer it over alternatives (e.g., deleting the work item itself) or any prerequisite such as needing the test cases to already be in the suite.

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