Skip to main content
Glama

cloudtest__ShowTestcaseByPage

Fetches paginated CloudTest test cases by project and filters such as case name, node, archive status, or ID collections for targeted test management.

Instructions

[CLOUDTEST] 根据条件分页获取测试用例对象V2

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

Input Schema

NameRequiredDescriptionDefault
paramsYes
project_idYes项目ID,固定长度32位字符(字母和数字)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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. It does disclose that results are paginated, which is genuinely useful, but it says nothing about whether deleted or archived cases are returned by default, whether this is a read-only operation, permission requirements, or result ordering.

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 sentence with no wasted words and the resource is front-loaded, but for a nested fourteen-property query schema this brevity reads as under-specification rather than efficiency.

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?

The tool has a nested-object input schema, no output schema, and no annotations, so the description needed to carry substantial weight. Instead it provides one clause, leaving the filtering semantics and return shape entirely unexplained for a fairly complex query endpoint.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% — just project_id is documented — and the params object contains roughly fourteen nested properties (limit, offset, deleted, node_id, case_name, is_archive, mindmap_id, id_collection, etc.) with no descriptions. The phrase '根据条件' gestures at filtering but adds no meaning about how these fields combine or which are mutually exclusive, so the description fails to compensate for the coverage gap.

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

Purpose4/5

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

The description states a specific verb (分页获取 = paginated fetch) and resource (测试用例对象 = test case objects), plus a V2 version marker, which is enough to distinguish it from siblings like ShowMindmapByPage or ShowSceneByPage. However, '根据条件' (by condition) is left entirely vague and the description makes no explicit contrast with other testcase-listing tools.

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 at all — no statement about when paginated testcase retrieval is appropriate versus the sibling listing tools, no prerequisites, and no note on how the 'deleted' or 'is_archive' filters should drive selection. The agent must infer all routing from the tool name alone.

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