Skip to main content
Glama

cloudtest__CreateTestCaseInPlan

Batch-add test cases of one test type to a specified Huawei Cloud test plan using plan, project, and service IDs.

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

Input Schema

NameRequiredDescriptionDefault
plan_idYes计划唯一标识,长度11-34位字符
project_idYes项目唯一标识,固定长度32位字符
service_idYes注册测试类型服务接口返回的服务id
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 supplied, so the description carries the full behavioral burden, yet it only says the operation is a batch add. It does not say what happens if a case is invalid or already in the plan, whether the operation is atomic, what permissions are needed, or what the call returns.

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?

It is a single front-loaded clause with no wasted words. Its brevity, however, borders on under-specification rather than true economy.

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 four-required-parameter mutation tool with no annotations and no output schema, the definition says far too little: nothing about failure handling, response content, or constraints beyond what the schema already encodes. An agent can identify the operation but cannot predict its behavior.

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 each of the four required parameters documented in the schema (including ID lengths and the under-50 limit on testcase_id_list), so the schema does the heavy lifting. The description adds no parameter meaning beyond what the schema already states.

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 and resource: batch-add test cases into a plan ('计划中批量添加测试用例'). That distinguishes it from the plain CreateTestCase sibling, though it does not explicitly name alternatives such as CreateVersionTestCase.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the sibling tools or when a single-case creation would be preferable. Usage must be inferred entirely 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