Skip to main content
Glama

codeartsdeploy__UpdateHostCluster

Updates a CodeArts Deploy host cluster's name, description, or slave cluster settings by cluster ID.

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": "<name>"
    },
    "name": "codeartsdeploy__UpdateHostCluster"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes主机集群名称
group_idYes主机集群id
descriptionNo主机集群描述
slave_cluster_idNoslave集群id,默认为null时使用八爪鱼slave集群,用户自定义slave时为slave集群id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 provides none. It does not say whether the edit is partial or full-replacement, whether omitted fields are cleared, whether permissions are required, or whether the change is reversible. For a mutation tool with zero annotation coverage this is a substantial gap.

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 is front-loaded and free of waste, so it is not verbose. But it is under-specified rather than concise: the brevity comes at the cost of the information an agent needs. Brevity alone cannot earn a high score here.

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?

This is a four-parameter mutation with no annotations and no output schema, so the description is the only place behavioral context can live. It supplies none of it, leaving the agent to guess at permissions, merge semantics, and the effect on the cluster's hosts. The complete schema coverage mitigates the parameter side but not the behavioral side.

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%, including the pattern and length constraints and the slave_cluster_id default behavior, so the schema does the heavy lifting. The description adds no meaning beyond the schema. Baseline 3 applies when the schema fully documents the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and a resource ("编辑主机集群" / edit host cluster), which separates it from CreateHostCluster, DeleteHostCluster and ShowHostClusterDetail by verb alone. However, it says nothing about what aspects of the cluster are editable, so the agent must open the schema to learn the tool's actual scope. It is minimally informative rather than clear.

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 the sibling mutation tools (UpdateDeploymentHost, UpdateHostGroupPermissions, UpdateHostInfo) or versus CreateHostCluster. No prerequisites, no preconditions, and no exclusions are stated. The verb implies an update on an existing cluster, but that is inference, not guidance.

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