Skip to main content
Glama

cloudtest__ListTestcasePlans

Retrieves the test plans associated with specified test cases using their URIs or case numbers, helping you trace test coverage within a project branch.

Instructions

[CLOUDTEST] 根据测试用例URI或用例编号查询测试用例对应的测试计划

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": {
      "branch_uri": "<branch_uri>",
      "project_uuid": "<project_uuid>"
    },
    "name": "cloudtest__ListTestcasePlans"
  }
}

Input Schema

NameRequiredDescriptionDefault
branch_uriYes版本URI
project_uuidYes项目id
case_uri_listNo测试用例URI列表(测试用例URI和编号填其中一个即可)
case_number_listNo测试用例编号列表(测试用例URI和编号填其中一个即可

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.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, and it discloses almost nothing beyond the query intent. It does not state that the operation is read-only, whether results are paginated, whether case_uri_list and case_number_list are alternatives or unioned, or what happens when a case belongs to multiple plans.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the lookup key is stated before the returned resource. The '[CLOUDTEST]' prefix is arguably noise but reads as a system naming convention rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter read-only lookup with no output schema and no annotations, the definition covers the essential intent but leaves return shape, pagination, and the interaction between the two optional list parameters unaddressed. It is adequate to call correctly but not complete enough to predict what comes back.

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 schema already documents all four parameters, including the 'URI or number, one of them is enough' note. The description merely restates that the lookup may use URI or number and adds no syntax, format, or precedence detail beyond the schema; baseline 3 applies.

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 gives a specific verb (查询, query) and resource (测试计划, test plans), plus the key by-which dimension (by case URI or case number). An agent can tell this is a case→plan lookup rather than a plain plan listing. It does not explicitly contrast with siblings such as cloudtest__ShowPlans, so it stops short of a 5.

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

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied: call it when you already have test case URIs or numbers and want the plans those cases belong to. There is no explicit when-not guidance, no statement about what to do if you only have a plan and want its cases, and no mention of the sibling that lists plans directly.

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