Skip to main content
Glama

lts__ListHost

Retrieve Huawei Cloud LTS hosts and filter results by status, IP, name, version, or host ID using a project ID to inspect host inventory and plugin health.

Instructions

[LTS] 查询主机列表

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": {
      "filter": "<filter>",
      "project_id": "<project_id>"
    },
    "name": "lts__ListHost"
  }
}

Input Schema

NameRequiredDescriptionDefault
filterYes查询主机信息过滤参数
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
host_id_listNo主机ID列表。可以根据主机ID列表进行批量过滤

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure, yet it provides nothing beyond the name: no note on whether results are paginated, whether it is read-only, how many hosts may be returned, or what happens with an oversized filter. It effectively restates the tool name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short bracketed phrase is technically concise but is under-specified rather than efficient; there is no structure, no front-loaded statement of scope, and nothing that earns its place beyond the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a nested filter object, two required parameters, no annotations and no output schema, the description says nothing about results, pagination or filtering semantics. An agent cannot confidently call it correctly using this definition alone.

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 the schema already documents filter, project_id, host_id_list and the nested status/IP/name/version filters, establishing the baseline of 3. The description adds no extra meaning about parameter interaction or required combinations.

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

Purpose3/5

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

"[LTS] 查询主机列表" states a specific verb (query/list) and resource (hosts), so an agent knows the general operation, but the bracketed prefix is just a product tag and nothing distinguishes this from the sibling lts__ListHostGroup or explains what a 'host' means in this product.

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 description gives no when-to-use guidance, no prerequisites (such as needing a valid project_id), and no indication of how this differs from related listing tools like lts__ListHostGroup. The agent must infer everything 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