Skip to main content
Glama

codeartsdeploy__CreateHostCluster

Creates a host cluster in a CodeArts Deploy project, defining its name, OS, and proxy access mode to organize deployment hosts.

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": {
      "is_proxy_mode": "<is_proxy_mode>",
      "name": "<name>",
      "os": "<os>",
      "project_id": "<project_id>"
    },
    "name": "codeartsdeploy__CreateHostCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
osYes操作系统:windows|linux
nameYes主机集群名
project_idYes项目id
descriptionNo描述
is_proxy_modeYes主机集群是否为代理机接入模式, 1:是 0:否
slave_cluster_idNoslave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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: it does not say whether the cluster name must be unique, whether the operation is reversible, what permissions are required, or what happens if is_proxy_mode is set. Only the mutation semantics of 'create' are conveyed, which the name already implies.

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 zero waste and a clear verb-resource-scope structure. It is not padded, though its brevity borders on under-specification for a six-parameter write tool.

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 mutation tool with six parameters, four required, no annotations, and no output schema, the description should cover at least preconditions, uniqueness or conflict behavior, and any notion of what is created. None of that is present, leaving a significant gap relative to the tool's complexity.

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 every parameter (os enum, name length bounds, project_id pattern, is_proxy_mode 0/1, slave_cluster_id default) is already documented in the schema. The description adds no syntax, default, or interaction details beyond it, so the 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?

States a specific verb and resource (新建主机集群 / create host cluster) plus scope (在项目下 / under a project), which distinguishes it from list/detail siblings. It does not differentiate itself from other create-flavored siblings such as CreateHost or CreateDeploymentHost, 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 only implied by the name and the 'under a project' scoping; there is no explicit statement of when to call this versus CreateHost, CreateDeploymentHost, or CreateHostGroup. No prerequisites (project existence, permissions) or when-not-to-use guidance are given.

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