Skip to main content
Glama

codeartsdeploy__UpdateHostInfo

Update host information in a CodeArts Deploy host group by host ID, including IP address, SSH port, name, and authentication details.

Instructions

[CODEARTSDEPLOY] 根据主机id编辑主机集群下主机信息。

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>",
      "host_id": "<host_id>",
      "host_name": "<host_name>",
      "ip": "<ip>",
      "port": "<port>"
    },
    "name": "codeartsdeploy__UpdateHostInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYes主机ip,如:161.17.101.12
portYesssh端口,如:22
syncNo是否同步主机信息
host_idYes主机id
as_proxyNo是否为代理主机
group_idYes主机集群id
host_nameYes主机名称
authorizationNo登录主机鉴权,使用密码登录则填写密码即可,使用密钥则填写密钥,二选一即可。
proxy_host_idNo代理主机id
install_icagentNo是否安装icAgent

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 burden. It implies a mutation but discloses nothing about required permissions, whether this is a full overwrite or partial update, how supplied authorization credentials affect the stored credentials, what sync/as_proxy/install_icagent change on the host, or whether the change is reversible. The terse sentence leaves all of that undocumented.

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 sentence with zero filler, front-loading the identifying key (host id) and scope (within a host cluster). It is efficient, though its brevity for a 10-parameter mutation tool borders on under-specification.

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 10-parameter mutation tool with a nested credential object and no annotations or output schema, the description is far too thin. It should at minimum note that authentication details are supplied per host and that some fields take effect only when paired with the optional flags.

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 per-property descriptions for ip, port, host_id, group_id, host_name, the nested authorization object, and the optional flags. The description adds nothing beyond the schema, 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: edit ('编辑') host information within a host cluster, identified by host id. An agent can tell this is a host-mutation tool rather than a cluster or permission tool. It does not differentiate itself from the close sibling UpdateDeploymentHost, which by name alone appears to also edit host records.

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, and no mention of alternatives such as UpdateDeploymentHost or CreateHost. The only contextual hint is that the host belongs to a cluster, which is already implied by the required parameters.

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