Skip to main content
Glama

cloudtest__BatchDeleteTestCase

Deletes custom test service test cases in batches by project, service, and case IDs, enabling cleanup of obsolete cases in Huawei Cloud testing.

Instructions

[CLOUDTEST] 批量删除自定义测试服务类型用例

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": {
      "project_id": "<project_id>",
      "service_id": "<service_id>",
      "testcase_id_list": "<testcase_id_list>"
    },
    "name": "cloudtest__BatchDeleteTestCase"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目唯一标识,固定长度32位字符
service_idYes注册测试类型服务接口返回的服务id,取值范围为10-9999
testcase_id_listYes测试用例唯一标识,数组长度小于50个

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden for a destructive mutation. It does not say whether deletion is permanent or recoverable, whether it requires specific permissions, or what happens when some IDs in the batch fail, which are exactly the details an agent needs before invoking a batch delete.

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 no wasted words. It is efficient, though the extreme brevity leaves no room for the behavioral context this mutation tool needs.

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 a destructive batch operation with no annotations and no output schema, so the description should disclose irreversibility, partial-failure handling, and scope limits. It discloses none of these, leaving the agent under-informed for the tool's complexity.

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%, with all three parameters documented in the schema, including the 32-character project ID and the sub-50 item array limit. The description adds no meaning beyond the schema, 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 states a specific verb and resource: batch-deleting test cases of a custom test service type. The qualifier narrows scope somewhat, but the sibling tool cloudtest__BatchDeleteTestCases is not differentiated from this one, so an agent cannot tell which batch-delete path applies.

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 instead of cloudtest__BatchDeleteTestCases or the single-case delete siblings. No prerequisites, no exclusions, and no mention of the consequences of choosing this path are given.

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