Skip to main content
Glama

codeartsdeploy__CreateHost

Creates a new host in a specified CodeArts Deploy host cluster, configuring its IP, OS, SSH port, and password or key authentication for deployment access.

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": {
      "as_proxy": "<as_proxy>",
      "authorization": "<authorization>",
      "group_id": "<group_id>",
      "host_name": "<host_name>",
      "ip": "<ip>",
      "os": "<os>",
      "port": "<port>"
    },
    "name": "codeartsdeploy__CreateHost"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIP,请输入弹性ip格式:161.17.101.12
osYes操作系统:windows|linux,需要和主机集群保持一致
portYesssh端口,如:22
as_proxyYes是否为代理机
group_idYes主机集群id
host_nameYes主机名称
authorizationYes登录主机鉴权,使用密码登录则填写密码即可,使用密钥则填写密钥,二选一即可。
proxy_host_idNo代理机id
install_icagentNo免费启用应用运维服务(AOM),提供指标监控、日志查询、告警功能(自动安装数据采集器 ICAgent,仅支持华为云linux主机)

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 provided, so the description carries the full behavioral burden, and it discloses almost nothing. For a mutation tool it does not say whether the host is connectivity-validated before creation, whether the IP must be unique within the cluster, what permissions are required, or what happens with the install_icagent side effect.

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 no filler; the scope qualifier appears before the action. The only overhead is the '[CODEARTSDEPLOY]' tag prefix, and the brevity borders on under-specification rather than waste.

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 9 parameters, 7 required, a nested auth object, no annotations and no output schema, this is a high-complexity tool served by one short sentence. Nothing tells the agent about creation preconditions, failure modes, or what the call returns, so the definition is thin for the complexity involved.

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 one of the 9 parameters including the nested authorization object is documented in the schema itself. The description adds no extra meaning about how group_id, as_proxy, or proxy_host_id interact, 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?

The description states a specific verb+resource ('新建主机' = create host) and scopes it ('在指定主机集群下'), which implicitly separates it from the sibling CreateHostCluster. It stops short of naming any alternative sibling (CreateDeploymentHost, ImportHostToEnvironment), so an agent must infer which create-flavored tool applies.

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 prerequisites (e.g. that the target host cluster must already exist), and no exclusions pointing to CreateDeploymentHost or ImportHostToEnvironment. The agent is left to guess the conditions under which this tool is the right one.

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