Skip to main content
Glama

cloudtest__BatchUpdateVersionTestCases

Batch updates attributes of CloudTest test cases in a version using a case ID list, covering fields such as owner, rank, tags, steps, module, and attachments.

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

Input Schema

NameRequiredDescriptionDefault
nameYes名称
rankNo用例等级
tagsNo标签
ownerNo处理人
stageNo测试阶段
stepsNo对外测试步骤
authorNo创建人
marketNoapitest标记是否代码已提交
numberNo用例编号
regionNo逻辑region,外部使用公有云实际区域,内部使用默认值
remarkNo备注
snp_noNo网络问题ID
activityNo测试类型
designerNo设计者
env_typeNo测试环境类型
keywordsNo关键词
label_idNo标签ID
auto_typeNo自动化类型,非自动化:0, 是自动化:1
base_flagNo场景标识
case_listNo更新用例信息列表
case_typeNo用例类型
module_idNo模块ID
test_stepNo测试步骤
test_typeNo测试类型
time_costNo总共耗时
commit_urlNogit提交url
is_keywordNo是否关键用例
project_idYes项目ID,固定长度32位字符(字母和数字)。
release_idNo迭代ID
scene_flagNo场景标识
attachmentsNo对外附件
design_noteNo设计描述
detect_typeNo检测类型
feature_uriNo目录Uri
label_namesNo对外用例操作时,标签名列表
last_resultNo最后一次结果
new_createdNo是否用户新增用例
preparationNo前置条件
relate_typeNo对外关联资源类型
release_devNo测试版本号
result_codeNo结果Code
status_codeNo状态Code
version_uriNo分支或者迭代uri
case_id_listNo批量更新用例id列表
exe_platformNo执行平台
knet_node_idNoknet节点id
map_restrictNo约束条件
market_placeNo应用市场
project_uuidNo项目ID,外部使用项目ID,内部使用默认值
service_typeNo服务类型
test_featureNo分析领域
test_mind_idNo脑图id
cloud_carrierNo运营商
execute_paramNo执行参数
expect_outputNo期望结果
platform_typeNo执行平台类型
test_base_numNo测试基数
test_mind_urlNo脑图url
compare_numberNo配对用例编号
custom_field_1No自定义字段1
custom_field_2No自定义字段2
custom_field_3No自定义字段3
custom_field_4No自定义字段4
custom_field_5No自定义字段5
custom_field_6No自定义字段6
custom_field_7No自定义字段7
custom_field_8No自定义字段8
custom_field_9No自定义字段9
dr_relation_idNo关联需求编号
interface_nameNo测试接口名
para_validatorNo区别是否从yaml中生成的用例,默认false
add_to_iteratorNo对外需求添加到迭代标识
custom_field_10No自定义字段10
custom_field_11No自定义字段11
custom_field_12No自定义字段12
custom_field_13No自定义字段13
custom_field_14No自定义字段14
custom_field_15No自定义字段15
custom_field_16No自定义字段16
custom_field_17No自定义字段17
custom_field_18No自定义字段18
custom_field_19No自定义字段19
custom_field_20No自定义字段20
custom_field_21No自定义字段21
custom_field_22No自定义字段22
custom_field_23No自定义字段23
custom_field_24No自定义字段24
custom_field_25No自定义字段25
last_exe_authorNo最后一次执行用户
last_result_uriNo最后一次结果Uri
svn_script_pathNo脚本路径
to_be_auto_execNo被自动化执行
execute_durationNo执行时长
testcase_projectNo测试工程
be_auto_type_timeNo记录用例由非自动化变为自动化类型的时间
execute_parameterNo执行参数
first_execute_timeNo第一次执行时间
only_change_scriptNo对外只更新接口用例的java脚本路径标识
test_factor_numberNo测试因子编号
execute_latest_timeNo最后执行时间
network_script_nameNo网络脚本名
test_pattern_numberNo测试模式编号
creation_version_uriNo创建版本Uri
is_contract_testcaseNo是否是契约用例,0:表示非契约用例, 1:表示契约用例
need_update_relationNo是否修改关联关系
automatically_executedNo是否被自动化执行

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, yet it only implies mutation via '更新'. It says nothing about permissions, whether unspecified fields are overwritten or left untouched, or what happens to case IDs that do not exist.

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?

It is a single short phrase with no wasted sentences, but the '[CLOUDTEST]' tag is tag noise and the expression is so compressed it conveys almost nothing actionable. Brevity here comes at the cost of specification, not from tight editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 106-parameter bulk mutation tool with no annotations and no caller-facing contract needs far more than one phrase. Critical facts such as which field selects the target cases (case_id_list vs. path project_id), whether updates are idempotent, and any required permissions are all absent.

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 106 parameters, and the baseline applies. The description contributes no additional meaning about the distinction between the two required fields (name, project_id) and the many optional attributes such as case_id_list.

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 ('批量更新用例属性' / batch update test case attributes), which is enough to know it mutates test cases in bulk. The word '属性' (attributes) is vague and it never says which attributes, nor does it explicitly differentiate from cloudtest__UpdateVersionTestCase or cloudtest__UpdateTestCase beyond the implicit 'batch'.

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, no prerequisites, and no mention of alternatives such as the single-case update tools. An agent must guess that this tool is for applying one shared set of attribute values across many case IDs.

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