Skip to main content
Glama

cloudtest__DeleteRelationsByOneCase

Deletes association relationships between a single test case and multiple requirements or defects in Huawei Cloud CloudTest, helping manage test coverage links.

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

Input Schema

NameRequiredDescriptionDefault
case_idYes用例id
relate_typeNo关联关系类型
version_uriNo版本uri
project_uuidNo项目id
work_item_idsNo

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 must carry the full behavioral burden for a destructive operation, and it does not. It does not say whether deletions are irreversible, what permissions are required, what happens to work_item_ids that do not exist, or whether omitting relate_type or work_item_ids removes all relations for the case. None of this is disclosed.

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 definition is a single front-loaded sentence with no filler or redundancy. However, it is arguably too terse for a multi-parameter destructive tool, which limits how much structure it can convey.

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 5-parameter destructive tool with no annotations and no output schema, a one-line purpose statement is insufficient. The definition should at minimum state irreversibility, the effect of the batch/array parameter, and default behavior when optional selectors are omitted. The key details an agent needs in order to call this safely are missing.

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 about 80%, and the schema itself describes case_id, relate_type, version_uri, and project_uuid, so the schema does most of the work. The description adds only that multiple requirement/defect relations are affected, which hints that work_item_ids is a batch parameter, but it never explains the array parameter itself. Given the high coverage, a baseline 3 is appropriate.

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 plus resource combination: delete the relation between one test case and multiple requirements/defects. This is clearly distinct from the Create/BatchAdd relation siblings, although the description never names them explicitly. The meaning is unambiguous, even though the definition is terse.

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?

The description provides no when-to-use guidance, no prerequisites, and no exclusions. It does not say whether this is the right tool for removing a single relation versus all relations of a case, and it does not point to CreateRelationsByOneCase or BatchAddRelationsByOneCase as the inverse operations. Only the verb 'delete' implies the context.

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