Skip to main content
Glama

cloudtest__ShowTestCase

Fetches detailed information for a Huawei Cloud test case using its ID and optional project, branch, task, recycle-bin, and cache-refresh parameters.

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": {
      "testcase_id": "<testcase_id>"
    },
    "name": "cloudtest__ShowTestCase"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNo是否刷新缓存
task_uriNo任务
is_recycleNo是否回收站资源
testcase_idYes用例id
version_uriNo分支uri
project_uuidNo项目id

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 provided, so the description carries the full behavioral burden, yet it only implies a read via "查询". It does not disclose that caching is involved (implied by the refresh parameter), what permissions or project/version scope are required, or how recycle-bin resources are treated (is_recycle). For a tool with zero annotation coverage this is a substantial gap.

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 description is a single short phrase with zero wasted words and is trivially front-loaded, so it passes on brevity. But for a six-parameter tool with overlapping siblings it is under-specified rather than genuinely concise, which caps the score.

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?

With six parameters, no annotations, and no output schema, the description should explain what a "detail" result contains and how project_uuid/version_uri scope the lookup. Instead it offers nothing, so an agent cannot judge expected output or scope from the definition alone.

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 one of the six parameters documented inline (testcase_id, project_uuid, version_uri, task_uri, refresh, is_recycle), so the baseline is 3. The description adds no meaning beyond the schema – notably it never explains the cache-refresh or recycle-bin semantics that would be valuable context.

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 specific verb and resource ("查询用例详情" – query test case details), so the basic action is identifiable. However, it does nothing to distinguish this tool from the many similarly named siblings such as ShowTestCaseDetail, ShowTestCaseDetailV2, ShowTestCaseAndDefectInfo, and ShowTestCaseReviews, leaving the agent unable to tell which "details" view this returns.

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 whatsoever: no indication of when this should be preferred over ShowTestCaseDetail/DetailV2, no mention of prerequisites, and no exclusions. The tag prefix "[CLOUDTEST]" is the only context offered and carries no routing information.

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