Skip to main content
Glama

codeartsdeploy__BatchDeleteHosts

Remove multiple hosts from a CodeArts Deploy host cluster by specifying the cluster ID and host IDs, supporting cleanup or batch host deletion.

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": "codeartsdeploy__BatchDeleteHosts"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes主机集群id
host_id_listNo主机id列表

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 for a destructive operation. It does not disclose whether deletion is permanent, what permissions are required, whether partial failures are possible across the up-to-200 host IDs, or what happens to hosts still attached to environments.

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 short sentence with the resource and action front-loaded and no wasted wording. It is efficient, though its brevity leaves gaps that other dimensions penalize.

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 destructive batch tool with no annotations and no output schema, the description is too thin. It omits irreversibility, permission requirements, partial-failure semantics, and the effect on hosts still referenced by environments, leaving the agent without the context needed to call it safely.

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 both group_id and host_id_list are already documented in the schema. The description implies the cluster/host relationship but adds no format, constraints, or semantics beyond what the schema supplies, 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: batch deletion of hosts within a host cluster. The 'batch' qualifier and the cluster scoping distinguish it from single-host deletion tools like DeleteHost and from DeleteHostCluster, so an agent can place it correctly without opening the schema.

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?

No guidance on when to use this versus single-host deletion (DeleteHost) or when to remove an entire cluster (DeleteHostCluster). There is no mention of prerequisites, such as whether hosts must be offline or removed from environments first, and no warning about irreversibility.

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