Skip to main content
Glama

codeartsdeploy__DeleteHost

Deletes a specified host from a host cluster using its host ID and cluster group ID.

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

Input Schema

NameRequiredDescriptionDefault
host_idYes主机id
group_idYes主机集群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 supplied, so the description carries the full behavioral burden, yet it says nothing about irreversibility, required permissions, rate limits, or what happens to the host's cluster membership and associated records. It only restates the mutation implied by the name.

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 front-loaded sentence with the action first and the scoping qualifier after it; no filler or redundant phrasing. It is terse, but every word carries 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?

The two parameters are fully documented in the schema, so the definition is sufficient to construct a valid call. However, for a destructive operation with no annotations and no output schema, the absence of any note on prerequisites or side effects leaves a meaningful gap.

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 both host_id and group_id documented and constrained by a 32-character pattern, so the schema does the heavy lifting. The description merely echoes that the id identifies the host and adds no format, sourcing, or lookup guidance beyond the schema.

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 names a specific verb (删除/delete) and resource (主机/host) and adds scope with 主机集群下主机 (a host within a host cluster), which distinguishes it from DeleteHostCluster. It does not differentiate from close siblings such as DeleteDeploymentHost or DeleteHostFromEnvironment, so it stops short of a 5.

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?

The text offers no when-to-use guidance, no exclusions, and no named alternative tool. An agent must guess whether this or DeleteDeploymentHost / DeleteHostFromEnvironment / BatchDeleteHosts is the correct operation for a given host.

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