Skip to main content
Glama

cloudtest__ShowApiTestcaseHistories

Retrieve historical execution records for a specific test case, with pagination and optional test-plan filtering, to review past outcomes and track changes.

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

Input Schema

NameRequiredDescriptionDefault
limitNo每页显示的条目数量,最大支持200条
offsetNo起始偏移量,表示从此偏移量开始查询, offset大于等于1
plan_idNo测试计划id
project_idYes项目ID,固定长度32位字符(字母和数字)。
testcase_idYes测试用例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 supplied, so the description carries the full behavioral burden, and it discloses almost nothing. '获取' implies a read, but the description does not confirm read-only semantics, does not explain how paging behaves (limit defaults to 1, meaning a naive call returns a single record), and does not say whether results are ordered or capped. 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 no wasted clauses, and the resource is front-loaded after the bracketed tag. Its brevity, however, comes at the cost of under-specification rather than from disciplined editing. Removing the '[CLOUDTEST]' prefix would be a small improvement.

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 takes five parameters, including two required path IDs, has no annotations and no output schema, yet the description is one clause long. An agent gets no information about what the returned history records contain or how paging should be driven. This is materially under-described relative to the tool's complexity.

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 the baseline is 3: every parameter including project_id, testcase_id, plan_id, limit and offset is documented in the schema itself. The description adds no meaning beyond that, but it also does not need to for the parameters to be usable. The one nuance worth flagging in prose — that limit defaults to 1 — is left unmentioned.

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+resource pairing ('获取' + '用例历史执行数据'), so an agent knows it retrieves historical execution data for a test case. However, it offers no differentiation from nearby siblings such as cloudtest__ListTestCaseHistories or cloudtest__ShowCaseResult, which sound like they could return overlapping data. The '[CLOUDTEST]' prefix is pure noise and adds nothing to purpose.

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 mention of prerequisites such as required permissions or the need for an existing plan_id, and no pointer to an alternative tool for related queries. The agent is left to infer placement among the sibling history-listing tools entirely on its own.

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