Skip to main content
Glama

cloudtest__ListTestCasesByIssue

Lists test cases linked to a requirement (issue ID) in a Huawei Cloud project, with paging and filters for keyword, rank, result, version, and sorting.

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": {
      "issue_id": "<issue_id>",
      "project_id": "<project_id>"
    },
    "name": "cloudtest__ListTestCasesByIssue"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_noNo页码
issue_idYes需求id
key_wordNo关键字
rank_idsNo用例等级ID集合
page_sizeNo每页数量
sort_typeNo排序类型
project_idYes项目ID,固定长度32位字符(字母和数字)。
sort_fieldNo排序字段
relate_typeNo关联关系类型
version_uriNo版本uri
result_codesNo结果Code集合

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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. It says nothing about pagination defaults, sort behavior, permission or authentication requirements, or what the response contains beyond a list of cases, which is a notable gap for an 11-parameter query tool.

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 description is a single short phrase with a bracketed product prefix; it is front-loaded and contains no wasted wording. Brevity comes at the cost of detail rather than from trimming redundancy, but structurally it is clean.

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 an 11-parameter query tool with no annotations and no output schema, the description is far too thin. It should at minimum clarify result scope, pagination behavior, and how it differs from the numerous sibling list tools.

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 all 11 parameters already have documented meanings, establishing a baseline of 3. The description adds nothing about how parameters interact (e.g., key_word vs rank_ids vs result_codes filtering, or sort_field/sort_type pairing), so it does not exceed the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description "[CLOUDTEST] 查询需求下的用例列表" states a verb (查询/list) and a resource (用例/test cases) scoped to a requirement (需求), so the purpose is understandable. However, it does not distinguish this tool from the many sibling list tools such as ListAllTestCases, ListOwnTestCases, or ListTaskTestCases, leaving the agent to infer that this one filters by issue/requirement.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The only implied cue is the "需求下" scoping, which the agent must connect to the required issue_id parameter itself.

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