Skip to main content
Glama

codeartsdeploy__ListHostGroupBaseInfos

Retrieves basic environment details for a specified application, supporting filtering by host cluster name, OS, and pagination.

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": {
      "application_id": "<application_id>",
      "project_uuid": "<project_uuid>"
    },
    "name": "codeartsdeploy__ListHostGroupBaseInfos"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNo操作系统:windows|linux
nameNo按主机集群名称搜索关键字
page_sizeNo分页查询每页条数
page_indexNo分页页码
project_uuidYes项目id
application_idYes应用id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/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, yet it says nothing about whether this is a read-only listing, what fields 'basic info' contains, whether results are paginated, or how permissions affect visibility. Only the word 查询 implies a read operation.

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 a bracketed service prefix and no filler; it is front-loaded and readable. The brevity is not wasteful in form, though it reflects under-specification rather than efficient communication.

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 6-parameter listing tool with no annotations and no output schema, the description should explain what 'basic info' includes, whether pagination is required, and how the application/path parameter scopes results. None of that is present, and the environment-vs-host-group ambiguity is unresolved.

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 every parameter (os enum, name pattern, page_size, page_index, project_uuid, application_id) already documented in the schema. The description adds no meaning about filtering behavior or paging defaults, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb (查询) and a scope (应用下), but names the resource as 环境基本信息 (environment basic info) while the tool is named ListHostGroupBaseInfos and the schema's `name` parameter is documented as a host-cluster name filter. That resource mismatch leaves an agent unable to tell whether this returns host groups, environments, or something else, and it does not distinguish itself from siblings like ListHostGroups or ListAssociateEnvironmentsInfos.

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?

There is no guidance on when to use this tool, when to use ListHostGroups or ListAssociateEnvironmentsInfos instead, or what prerequisites (project/application context) are needed. Usage must be inferred entirely from the name.

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