Skip to main content
Glama

codeartsdeploy__CreateDeploymentGroup

Creates a host cluster in a CodeArts Deploy project using OS, region, and project details, with optional proxy and slave cluster configuration.

Instructions

[CODEARTSDEPLOY] 在项目下新建主机集群。该接口于2024年09月30日后不再维护,推荐使用新版CreateHostCluster接口。

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

Input Schema

NameRequiredDescriptionDefault
osYes操作信息:windows|linux
nameYes主机集群名
project_idYes项目id
descriptionNo描述
region_nameYes局点信息
is_proxy_modeNo主机集群是否为代理类型
slave_cluster_idNoslave集群id,默认为null时使用默认slave集群,用户自定义slave时为slave集群id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/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 does add genuine lifecycle context (deprecated as of 2024-09-30, superseded) and makes clear the call creates a resource scoped to a project, but it says nothing about required permissions, failure modes, idempotency, or what the response contains for a 7-parameter mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero waste: the purpose comes first and the deprecation routing second. Nothing is padded and nothing needs reordering.

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

Completeness4/5

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

For a create tool with full schema documentation and no output schema, the description covers purpose, scope and lifecycle status well. The remaining gap is preconditions and expected outcome of the create, which matters more here because no annotations exist to cover safety or side-effect information.

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 enums and constraints already documented for os, is_proxy_mode, slave_cluster_id and the rest, so the baseline is 3. The description adds no parameter-level meaning beyond the schema, such as how region_name interacts with project_id or when a custom slave_cluster_id is appropriate.

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

Purpose5/5

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

States a specific verb and resource (create a new host cluster under a project) and explicitly names the successor API CreateHostCluster, which lets an agent distinguish this legacy tool from that sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear when-not-to-use signal: the interface is unmaintained after 2024-09-30 and CreateHostCluster is recommended instead. What is missing is positive guidance on the conditions under which this legacy call is still appropriate and any prerequisites (e.g. permission or capacity checks) before calling.

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