Skip to main content
Glama

cloudtest__UpdateTestCaseComment

Updates an existing test case comment in Huawei Cloud CloudTest and can notify selected users, using project, test case, and comment identifiers.

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": {
      "comment": "<comment>",
      "comment_id": "<comment_id>",
      "project_id": "<project_id>",
      "testcase_id": "<testcase_id>"
    },
    "name": "cloudtest__UpdateTestCaseComment"
  }
}

Input Schema

NameRequiredDescriptionDefault
commentYes评论
notifierNo通知人列表
comment_idYes评论uri
project_idYes项目ID,固定长度32位字符(字母和数字)。
testcase_idYes用例uri
version_uriNo分支uri/测试计划uri

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 discloses nothing beyond the bare fact of mutation. It says nothing about permission requirements, whether the previous comment text is overwritten or versioned, what the notifier list triggers, or whether the operation is reversible.

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 single short phrase is not padded, but its brevity reflects under-specification rather than disciplined concision. There is no front-loaded explanation of scope or effect to anchor the agent.

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?

For a six-parameter mutation tool with no annotations and no output schema, a one-phrase description is wholly inadequate. An agent has no way to know the consequences of updating a comment or how the notifier and version_uri parameters affect behavior.

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 every parameter (comment, comment_id, project_id, testcase_id, notifier, version_uri) documented in the schema itself. The description adds no meaning beyond that, so the baseline of 3 applies rather than a penalty.

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 description "[CLOUDTEST] 修改用例评论" is a direct restatement of the tool name UpdateTestCaseComment in Chinese, adding no scope, target, or distinguishing detail. An agent learns only that some comment on some test case is modified, which it already knew from the name.

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 the obvious alternatives in the sibling set (AddTestCaseComment, DeleteTestCaseComment, ListTestCaseComments). The agent must infer routing entirely from the verb in the name.

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