Skip to main content
Glama

cloudtest__UpdateTestCaseResult

Batch update test case execution results in Huawei Cloud CloudTest by submitting up to 50 testcase status records with result IDs, end times, durations, and notes.

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": {
      "execute_list": "<execute_list>",
      "project_id": "<project_id>",
      "service_id": "<service_id>"
    },
    "name": "cloudtest__UpdateTestCaseResult"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idNo测试计划id
project_idYes项目唯一标识,固定长度32位字符
service_idYes注册测试类型服务接口返回的服务id
execute_listYes测试用例状态信息,数组长度小于等于50

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 supplied, so the description carries the full behavioral burden, and it discloses almost nothing. The one genuine addition over the name is "批量" (batch), but it says nothing about permission requirements, partial-failure behavior across the batch, idempotency, or that the array is capped at 50 items.

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 wording and the action is front-loaded. The problem is under-specification rather than verbosity, so it earns a middle score rather than credit for tightness.

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?

This is a mutating batch tool with a nested per-item array (up to 50 entries), three required identifiers, no annotations, and no output schema. A one-line description is far short of what an agent needs to call it confidently in that context.

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 every parameter and nested field is already documented in the schema, including result_id value meanings and duration requirements. The description adds no meaning beyond that, which is the baseline expectation when the schema does the work.

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 gives a verb and resource ("批量更新测试用例结果" / batch update test case results), which is more specific than the bare name. However it never distinguishes this from siblings such as cloudtest__UpdateTestCase or cloudtest__AddTestCaseResultLog, so an agent must infer that this writes execution outcomes rather than case metadata or logs.

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 prerequisite conditions, and no mention of an alternative tool. The only implied usage comes from the word "结果" (results), which an agent could reasonably confuse with the many other result- and case-related siblings.

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