Skip to main content
Glama

cloudtest__ListBranches

Lists branches for a specified CloudTest project with pagination and optional sort controls, enabling branch review and selection.

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": {
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>"
    },
    "name": "cloudtest__ListBranches"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示的条目数量,最大支持200条
offsetYes起始偏移量,表示从此偏移量开始查询, offset大于等于0,小于等于20000
sort_typeNo排序方式
project_idYes项目ID,固定长度32位字符(字母和数字)。
sort_fieldNo排序字段

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 burden and delivers almost nothing. It implies a read operation by virtue of 'list', but says nothing about whether results are project-scoped, whether the operation is safe/idempotent, or what the paging behavior means in practice.

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 very short with no filler sentences, but the bracketed '[CLOUDTEST]' prefix consumes the only available space without conveying anything and the remainder is a bare label rather than a front-loaded explanation.

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?

For a five-parameter, project-scoped paginated list tool with a near-identical sibling (ListAllBranches), the definition leaves the agent without the scope or differentiation needed to call the right tool. The rich schema mitigates this somewhat, but the description itself is far from complete.

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 limit, offset, sort_type, sort_field and project_id all documented in the schema including enums and bounds. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 text "获取分支列表" does name a verb (get/list) and a resource (branches), so the basic action is inferable. However, it is essentially a translation of the tool name ListBranches and adds no scope information, and it does nothing to distinguish this from close siblings such as cloudtest__ListAllBranches or servicestage__ListBranches, which an agent could easily confuse it with.

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 statement of prerequisites (the required project_id), and no indication of how this differs from ListAllBranches. The agent gets no routing information at all.

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