Skip to main content
Glama

codeartsdeploy__UpdateDeploymentGroup

Updates a host cluster's details by cluster ID, including its name, description, and custom slave resource pool ID.

Instructions

[CODEARTSDEPLOY] 根据主机集群id修改主机集群信息。该接口于2024年9月30日后不再维护。

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__UpdateDeploymentGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes主机集群名
group_idYes主机集群id
descriptionNo描述
slave_cluster_idNo自定义slave资源池id
auto_connection_test_switchNo自动测试功能已下架,该字段已失效

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden. It discloses the important behavioral fact that the API is deprecated after 2024-09-30, which appears nowhere in the schema. However, it never states required permissions, whether omitted fields are cleared (full replace vs. partial update), or whether changes are reversible.

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?

Two short sentences with the operation stated first and the deprecation caveat second — no filler. The [CODEARTSDEPLOY] prefix is noise, but it is a consistent namespace convention and does not obscure meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 parameters, 100% schema coverage, and no output schema, the description covers the essentials. But for a mutation tool with zero annotations, it should say whether this replaces all fields or patches only the supplied ones, and what permissions it needs.

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 is already documented, including the enum and the note that auto_connection_test_switch is no longer valid. The description only repeats the group_id key implicitly and adds no new semantic detail, so the baseline of 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 and resource (修改主机集群信息 — modify host cluster information) and identifies the lookup key (主机集群id). It clearly separates the tool from the Create/Delete/Show siblings, though it does not distinguish itself from the similarly named UpdateHostCluster.

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?

Use is only implied: call it with a host cluster id when you need to modify that cluster. There is no explicit when-not guidance or mention of alternatives. The deprecation sentence (unmaintained after 2024-09-30) does act as a caution signal about when to prefer other paths.

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