Skip to main content
Glama

codeartsdeploy__UpdateDeploymentHost

Updates deployment host information by host ID and cluster ID. This CodeArts Deploy API is no longer maintained after September 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__UpdateDeploymentHost"
  }
}

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 behavioral burden. It discloses the useful fact that the endpoint is unmaintained, but says nothing about which host fields actually get changed, required permissions, reversibility, or what happens to unspecified fields — and the schema offers no body fields to infer this from.

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 lifecycle warning immediately after. The bracketed service prefix is conventional noise, but nothing else is wasted.

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 mutation tool with no annotations, no output schema, and no updatable-field parameters, the description is too thin: an agent cannot know what an 'update' call would actually change or what a successful response means. Only the deprecation warning fills a real 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 coverage is 100% and both parameters already document themselves as host id and host cluster id with strict patterns. The description restates the host-id key without adding format, constraint, or interaction detail, 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?

States a specific verb and resource: modify host information keyed by host id. An agent can tell this is a host-level update, but the description does not distinguish it from the near-identical sibling codeartsdeploy__UpdateHostInfo, so it falls 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 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 and no named alternative. The deprecation notice ('no longer maintained after 2024-09-30') implicitly signals the agent should prefer a supported path, but that inference is left to the reader.

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