Skip to main content
Glama

codeartsdeploy__ShowDeploymentHostDetail

Retrieves deployment host details by host ID and host cluster group ID for legacy CodeArts Deploy queries; use ShowHostDetail for current API needs.

Instructions

[CODEARTSDEPLOY] 根据主机id查询主机详情。该接口于2024年09月30日后不再维护,推荐使用新版ShowHostDetail接口。

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__ShowDeploymentHostDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
host_idYes主机id
group_idYes主机集群id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It provides valuable lifecycle context, namely the deprecation date and the replacement tool, but says nothing about auth requirements, whether it is read-only, or what the response contains. For a lookup tool of this kind, the deprecation note is the main real addition.

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 short sentences: it states the purpose first, then the deprecation and replacement. Every sentence adds information, with no filler or repetition.

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 simple two-parameter read tool whose schema is fully documented and which has no output schema, the definition covers most of what an agent needs. The main gap is that it does not mention the second required path parameter, group_id.

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%: host_id and group_id are both documented with their patterns. The description mentions only the host id and says nothing about group_id, which is also required. With the schema doing the work, a baseline 3 is appropriate.

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 uses a specific verb+resource combination, '根据主机id查询主机详情', so the agent knows it retrieves host detail keyed by host id. It also names the superseding sibling tool, ShowHostDetail, which separates it from other host tools. What it does not clarify is whether the returned fields differ from the new interface.

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?

It explicitly says the endpoint has not been maintained since 2024-09-30 and recommends ShowHostDetail instead, which is actionable routing guidance. It does not say when this legacy tool is still the right choice, so legacy-compatibility use is left to inference.

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