Skip to main content
Glama

codeartsdeploy__ListHostClusters

Query and filter CodeArts Deploy host clusters by project, name, OS, proxy mode, resource pool, and pagination to review deployment targets.

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

Input Schema

NameRequiredDescriptionDefault
osNo操作系统:windows|linux
nameNo主机集群模糊查询信息
page_sizeNo每页显示的条目数量,默认为10
sort_typeNo排序方式:DESC、ASC,默认为DESC
page_indexNo页码数
project_idYes项目id
sort_fieldNo排序字段:nick_name|name|owner_name|create_time,不传使用默认排序
is_proxy_modeNo是否为代理机
slave_cluster_idNo自定义资源池id

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. It does not state that this is a read-only operation, whether project_id requires prior lookup, how pagination behaves, or what the result set looks like, leaving meaningful gaps for a 9-parameter query tool.

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 single sentence contains no filler and the purpose is front-loaded, but the sizing is arguably too lean for a tool with nine parameters. It is efficient rather than well-structured, since there is no structure beyond a service tag and one clause.

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 no annotations and no output schema, the description should at least characterize the returned list or the safety profile. Given a nine-parameter tool, one sentence saying 'query by conditions' leaves the agent without the context it needs, even though the schema itself is well documented.

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 all nine parameters including os, name, sort_field and page_size are already documented in the schema. The description only says '按条件' (by conditions), which adds no format or semantics beyond what the schema provides; baseline 3 is appropriate.

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 pairs a specific verb ('查询' / query) with a specific resource ('主机集群列表' / host cluster list) and adds the qualifier '按条件' (by conditions). This clearly separates it from siblings like ShowHostClusterDetail or CreateHostCluster, though it does not explicitly name those alternatives.

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 when to prefer ShowHostClusterDetail over this list call, and no prerequisites or exclusions. The usage is only implied by the word '列表' (list).

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