Skip to main content
Glama

cloudtest__AddCaseResultFour

Sets the result of a CloudTest test case, including status and step-level outcomes, for a specified project, version, and case.

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": {
      "case_uri": "<case_uri>",
      "project_id": "<project_id>",
      "version_uri": "<version_uri>"
    },
    "name": "cloudtest__AddCaseResultFour"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriNo主键
nameNo结果名字
stepsNo用例步骤结果信息
resultNo用例结果
statusNo任务状态
case_uriYes用例uri
task_uriNo任务URI
project_idYes项目ID,固定长度32位字符(字母和数字)。
descriptionNo描述
preparationNo前置条件
release_devNo版本号
version_uriYes版本ID
task_result_uriNo测试套结果URI

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.8/5.0
Behavior1/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, yet it discloses nothing about the write operation: no permissions needed, no statement of what gets created or overwritten (including whether task_result_uri must reference a pre-existing result), and no idempotency or return behavior.

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 definition is a single five-character phrase with a redundant '[CLOUDTEST]' tag, so there is no wasted length but also no front-loaded information. Extreme under-specification rather than economy is the problem.

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 13-parameter mutation with required path parameters (case_uri, version_uri, project_id) and nested step results, a one-line description cannot orient the agent. With no annotations and no output schema, the description should at minimum explain the write's effect and required identifiers, which it does not.

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% with 13 documented parameters including nested step result fields, so the schema does the heavy lifting on semantics. The description adds no extra meaning beyond the schema, which is the expected baseline in this case.

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

Purpose2/5

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

The text '设置用例结果' (set case result) essentially restates the tool name AddCaseResultFour, adding only a verb gloss. It gives no clue what makes this the 'Four' variant versus siblings like cloudtest__UpdateTestCaseResult, cloudtest__ShowCaseResult, or cloudtest__AddTestCaseResultLog, so an agent cannot distinguish it by purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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, despite a crowded sibling set of result-related tools (add log, update result, show result). Nothing tells the agent whether this creates a result, overwrites one, or attaches to an existing task result.

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