Skip to main content
Glama

codeartsdeploy__ListAssociateEnvironmentsInfos

Retrieve information about environments associated with a CodeArts Deploy host cluster by group ID, with optional pagination.

Instructions

[CODEARTSDEPLOY] 查询主机集群关联环境信息。

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": {
      "group_id": "<group_id>"
    },
    "name": "codeartsdeploy__ListAssociateEnvironmentsInfos"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes主机集群id
page_sizeNo每页查询条数
page_indexNo页码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 fact that it is a query. It does not state that results are paginated (only inferable from page_size/page_index), whether the operation is read-only and safe, what permissions are needed, or what happens when the group has no associated environments.

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 short sentence with the [CODEARTSDEPLOY] prefix and no filler, front-loading the operation and scope. It is efficient, though so terse that it borders on under-specification rather than tight writing.

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 is simple (3 parameters, one required, no nesting) and the schema is fully documented, which covers the input side. However, with no annotations and no output schema, the description should say something about the returned environment information and pagination semantics, and it does neither.

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 group_id, page_size, and page_index all documented in the schema, so the baseline of 3 applies. The description adds no extra meaning such as the id format or default/maximum page behavior beyond what the schema already states.

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 names a specific verb and resource ('查询主机集群关联环境信息' – query environments associated with a host cluster), which is more precise than a bare 'list environments'. It does not, however, distinguish itself from close siblings such as ListEnvironments or ListEnvironmentHosts, so an agent must infer the difference from the group_id requirement.

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 guidance on when to use this tool versus alternatives like ListEnvironments or ListEnvironmentHosts, and no stated preconditions (e.g., that a valid host-cluster id is required). The only implicit cue is the 'host cluster' scoping in the purpose sentence.

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