Skip to main content
Glama

lts__ListHostGroup

Lists host groups in Huawei Cloud LTS using project ID and filters like tags, host names, group names, types, or IDs to identify log collection targets.

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

Input Schema

NameRequiredDescriptionDefault
filterYes主机组过滤参数
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
host_group_id_listNo主机组ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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, yet it discloses nothing about read-only semantics, pagination/limits, authorization or project scoping, or the shape of the result. Only the implicit "list" naming suggests 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.

Conciseness3/5

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

A single bracketed prefix plus a short phrase – there is no wasted wording, but also no front-loaded substance. Brevity here reflects under-specification rather than disciplined editing.

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 tool with nested filter objects, required project scoping, and no output schema, the description says nothing about return contents or filtering behavior. The rich schema partially compensates, but the definition remains thin overall.

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 filter, project_id, and host_group_id_list are already documented in the schema with enums, patterns, and nested tag semantics. The description adds no meaning beyond that, which is the baseline case.

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 ("查询主机组列表" / query host group list), so the agent knows this returns host groups rather than logs, streams, or consumer groups. It does not distinguish itself from other host-group list tools in the broader catalog, but the operation itself is unambiguous.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives such as the create/update/delete host-group siblings. The agent must infer usage from the name alone.

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