Skip to main content
Glama

codeartsdeploy__DeleteDeploymentHost

Deletes a deployment host by host ID and host group ID to remove obsolete host records; the API is deprecated after Sep 30, 2024.

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

Input Schema

NameRequiredDescriptionDefault
host_idYes主机id
group_idYes主机集群id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 disclosure burden for a destructive mutation. It states only that deletion happens and that the API is deprecated; it says nothing about whether the operation is irreversible, whether the host is also removed from environments/groups, what permissions are required, or what happens if the host is still in use. The deprecation warning is the one genuinely useful behavioral fact.

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 action front-loaded and the deprecation caveat immediately after. Nothing is wasted, though it omits rather than over-explains; brevity here reflects under-specification more than tight writing craft.

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 destructive, unannotated, output-schema-less mutation, which puts a high disclosure burden on the text. The description covers only the basic action and a deprecation date, leaving side effects, irreversibility, permission requirements, and the role of group_id unexplained — inadequate for a delete operation with no annotation support.

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 host_id and group_id are already self-documented with patterns. The description mentions only host_id ('根据主机id') and adds no constraints or format details beyond the schema, so the baseline 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 in Chinese: delete a host by host id ('根据主机id删除主机'). It is unambiguous about what the tool does, but gives no differentiation from close siblings such as DeleteHost, BatchDeleteHosts, or DeleteHostFromEnvironment, so an agent cannot tell which delete variant to pick from the text alone.

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?

No explicit when-to-use or when-not-to-use guidance is given, and no alternative tool is named. However, the deprecation note ('该接口于2024年9月30日后不再维护') implicitly tells the agent to avoid this endpoint when a maintained alternative exists, which is meaningful usage signal even if incomplete.

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