Skip to main content
Glama

cloudtest__ListAllTestCases

Retrieve and filter test cases in a Huawei Cloud CloudTest project by module, status, owner, iteration, and related issue to support test planning and execution.

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>"
    },
    "name": "cloudtest__ListAllTestCases"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownNo是否是我的
keywordNo关键字查询,用例名或编号
page_noNo当前页数
issue_idNo需求编号
rank_idsNo用例等级ID集合
task_uriNo测试套uri
case_typeNo用例类型
case_urisNo用例URI集合
label_idsNo标签ID集合
owner_idsNo处理者ID集合
page_sizeNo每页条数
sort_typeNo排序方式
useOffsetNo
is_keywordNo是否组合关键字
module_idsNo模块ID集合
project_idYes项目ID,固定长度32位字符(字母和数字)。
sort_fieldNo排序字段
stage_typeNo阶段过程(2:测试设计,3:测试执行,4:质量报告)
test_typesNo类型
creator_idsNo创建者ID集合
feature_uriNo目录URI
version_uriNo版本URI
executor_idsNo执行者ID集合
exeplatformsNo执行平台
result_codesNo结果Code集合
service_typeNo服务类型
status_codesNo状态Code集合
test_designsNo是否来自测试设计(null或者[true, false]:不限,[true]:来自测试设计,[false]:否来自测试设计)
iteration_idsNo归属迭代ID集合
review_statusNo用例评审状态
service_typesNo服务类型集合
create_end_timeNo创建结束时间
not_assign_taskNo该字段为false,则查询全量用例,为true表示查询未分配测试套的用例
associated_issueNo是否关联需求(null:不限,false:未关联,true:已关联)
execute_end_timeNo执行结束时间
create_start_timeNo创建开始时间
custom_field_infoNo用例自定义字段信息
include_sub_issueNo是否查询子需求关联的用例,默认true
issue_tree_searchNo是否是需求树点击的查询关联用例
associated_defectsNo是否关联缺陷(null:不限,false:未关联,true:已关联)
execute_start_timeNo执行开始时间
include_sub_featureNo是否查询子目录的用例,默认true
associate_issue_detailNo是否返回需求具体信息(返回需求名称,需求id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 whether this is a read-only operation, how pagination behaves (page_no/page_size up to 100), what the default result set is when filters are omitted, or what the response contains — all significant gaps for a 43-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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short phrase with no wasted words, but it is under-specified rather than concise — the brevity leaves no room for scope or usage detail. The [CLOUDTEST] tag prefix adds no semantic value.

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 tool with 43 filters, no annotations, and no output schema, a seven-word description is far too thin. It omits the default-scope behavior, pagination expectations, and any differentiation from the many sibling list tools, leaving the agent without enough context to call it correctly.

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 98%, so nearly every one of the 43 parameters is already documented in the schema. The description adds no additional meaning, grouping, or interaction rules (e.g., how stage_type interacts with status_codes), so the baseline 3 applies.

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 states a verb and resource ("查询用例列表" / query test case list), so the basic action is identifiable. However, it does not distinguish this tool from close siblings such as ListTestCases, ListOwnTestCases, ListTaskTestCases, or ListTestCasesByIssue, and the "All" scope implied by the name is never explained in the description.

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 guidance at all: no indication of when this broad listing should be preferred over ListOwnTestCases or ListTestCasesByIssue, and no prerequisites or exclusions. The agent must infer selection from the sibling names alone.

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