Skip to main content
Glama

cloudtest__ShowIteratorByDefect

Retrieve test plans linked to a specific defect by providing the defect ID and project ID.

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": {
      "defect_id": "<defect_id>",
      "project_id": "<project_id>"
    },
    "name": "cloudtest__ShowIteratorByDefect"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 delivers almost nothing: it implies a read-only lookup via '查询' but says nothing about whether results are paginated, how many plans may return, whether the defect must exist in the given project, or permission requirements. 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?

One short front-loaded phrase with zero waste, but it is terse to the point of under-specification; the bracket tag '[CLOUDTEST]' consumes part of an already minimal payload without adding meaning.

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 a required path-parameter pair and no output schema, the description should at minimum indicate what is returned (a list of test plans? their ids and names?) and whether results are bounded. Neither is covered, leaving an agent unable to predict the response shape.

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 defect_id and project_id both documented including a length/pattern constraint, so the baseline is 3. The description adds no extra meaning about how defect_id relates to project_id (cross-project defects, etc.).

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 and resource ('查询缺陷相关联测试计划' — query test plans associated with a defect), which usefully decodes the ambiguous tool name 'ShowIteratorByDefect' (iterator = test plan). It does not distinguish this from near-neighbours such as cloudtest__ListTestCasesByIssue or cloudtest__ShowIssuesByPlanId, 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 Guidelines2/5

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

No guidance on when to call this versus alternatives, no prerequisites, and no exclusions. The only implicit signal is that a defect_id is required, which hints at a defect-centric lookup but gives no routing logic.

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