Skip to main content
Glama

lts__CreateHostGroup

Creates a Huawei Cloud LTS host group by name and type under a project, with optional host IDs and tags to organize 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": {
      "host_group_name": "<host_group_name>",
      "host_group_type": "<host_group_type>",
      "project_id": "<project_id>"
    },
    "name": "lts__CreateHostGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
host_id_listNo主机组ID列表。主机类型必须与主机组类型一致
host_group_tagNo标签信息。KEY不能重复
host_group_nameYes主机组名称
host_group_typeYes主机组类型。windows:windows类型,linux:linux类型

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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, yet it discloses nothing: not whether the group name must be unique, what happens if it already exists, whether host_id_list hosts must be pre-registered, or what the response returns. For a mutation tool with zero annotation coverage this is a serious gap.

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?

It is short and front-loaded, but the brevity comes from under-specification rather than economy; a single noun phrase carries no actionable information. The bracketed service tag consumes a meaningful share of the text without helping an agent decide or invoke.

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 five-parameter create operation with no annotations and no output schema, the definition omits everything an agent needs beyond field names: creation preconditions, uniqueness/conflict behavior, required permissions, and what identifier is returned. The structured schema covers field formats but not the behavior of the operation.

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% and each of the five parameters (project_id, host_group_name, host_group_type, host_id_list, host_group_tag) is documented in the schema, including the linux/windows enum and length constraints. The description adds nothing beyond that, so the baseline of 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?

"[LTS] 创建主机组" restates the tool name (CreateHostGroup) with an LTS prefix and adds no scope, target resource detail, or distinguishing trait. Nothing separates it from siblings such as lts__UpdateHostGroup or lts__CreateLogGroup beyond the verb embedded in the name itself, making this effectively a tautology.

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 when-to-use guidance, no prerequisites (e.g. that a project_id must already exist), and no mention of alternatives or follow-up tools. 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