Skip to main content
Glama

cloudtest__ListTaskAssignCases

Retrieves test cases assigned to a test task, with filters for stage, owner, status, result, and pagination to inspect task execution coverage.

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

Input Schema

NameRequiredDescriptionDefault
stageNo测试用例在任务中的阶段
ownersNo处理人过滤数组
statusNo状态过滤
page_noNo页码
resultsNo结果过滤
task_idYes任务uri
issue_idNo需求id
key_wordNo关键字
rank_idsNo用例等级ID集合
page_sizeNo页数量
sort_typeNo排序方法
project_idYes项目ID,固定长度32位字符(字母和数字)。
sort_fieldNo排序字段
feature_uriNo特性目录URI
release_devNo任务版本过滤条件,影响关联任务的结果查询,查询当前任务版本下的用例最新结果
version_uriNo分支/迭代uri
is_availableNo用例是否可用
is_script_existNo用例脚本字段是否有值
task_result_uriNo测试套结果uri
associated_issueNo是否关联需求(null:不限,false:未关联,true:已关联)
select_all_pagesNo是否全选所有页(null:不全选,false:不全选,true:全选),用于任务批量执行结果功能,只返回用例uri,不返回其他信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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. It says only that it retrieves associated case details and does not disclose whether the operation is read-only, whether pagination is involved, what filtering behavior applies, or permission or rate-limit constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The description is a single terse Chinese phrase. Although it contains no filler, it is under-specified for a tool with 21 parameters and does not front-load the listing or filtering behavior an agent would need.

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 21-parameter listing tool with no annotations and no output schema, a one-line description is insufficient. The schema supplies parameter meanings, but the description does not explain the tool’s overall behavior, result shape, or relationship to sibling case-listing 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 the schema already documents all 21 parameters in detail. The description adds no parameter-level meaning beyond the resource name, so the baseline 3 is appropriate.

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 provides a specific verb and resource: '获取测试套关联用例详情' (get details of test-suite-associated cases). However, it is ambiguous whether the tool lists cases or returns details, and it does not differentiate itself from similar sibling tools such as ListTaskTestCases or ListTestCases.

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?

No when-to-use guidance is provided. The description does not mention when this tool should be chosen over alternatives, prerequisites, or any exclusions, leaving the agent to infer usage from the name 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