Skip to main content
Glama
devops-mcp-server-extension

devops-mcp-server-extension

by hakunova

delete_testcase

Destructive

Deletes a test case from a specified test repository using the organization, repository, and test case IDs.

Instructions

[test management] 删除测试用例

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": {
      "organizationId": "<organizationId>",
      "testRepoId": "<testRepoId>",
      "testcaseId": "<testcaseId>"
    },
    "name": "delete_testcase"
  }
}

Input Schema

NameRequiredDescriptionDefault
testRepoIdYes用例库唯一标识
testcaseIdYes用例唯一标识
organizationIdYes组织ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

destructiveHint=true already tells the agent this is a destructive operation. The description adds nothing beyond that: it does not say the deletion is permanent, whether it cascades to steps/relations, whether permission checks apply, or what is returned. For an irreversible operation the description should carry more weight.

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?

The tag plus verb-resource phrase is front-loaded with zero padding. It is terse rather than bloated; the shortness itself is not a structure problem, though it leaves gaps addressed under other dimensions.

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?

For a destructive, three-identifier mutation with no output schema, the description omits the concrete risk profile (irreversibility, cascade effects, required permissions). An agent could invoke it correctly from the schema but would not understand the consequences.

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% — organizationId, testRepoId, and testcaseId are each documented in the schema. The description contributes no additional meaning about identifier formats or sourcing, so 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?

The description states a specific verb and resource ("删除测试用例" / delete test case) plus a domain tag "[test management]", so the operation is unambiguous. It does not differentiate itself from sibling delete tools or clarify the scope of the deletion, but the core purpose is clear.

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 guidance on when to use this versus alternatives such as other delete tools or testcase-management siblings, and no prerequisites are stated. An agent must infer everything from the name.

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

Deploy Server

Other Tools