Skip to main content
Glama

lts__UpdateHostGroup

Modify a Log Tank Service (LTS) host group's name, host list, or tags to keep log collection targets accurate.

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_id": "<host_group_id>",
      "project_id": "<project_id>"
    },
    "name": "lts__UpdateHostGroup"
  }
}

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_idYes主机组ID
host_group_tagNo主机组标签。KEY不能重复
host_group_nameNo主机组名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.2/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 for a mutation tool, and it discloses nothing. It does not say whether omitted fields are cleared or preserved, whether host_id_list replaces or appends to the existing membership, whether tags must be wholly resubmitted, or what permissions/irreversibility apply.

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?

It is a single short label with zero waste and the resource is front-loaded, but this is under-specification rather than disciplined conciseness. There is no structure to speak of and nothing an agent can act on beyond the name.

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?

The tool takes five parameters including a 1000-item host list and a tag array, is a destructive mutation, has no annotations and no output schema. For that complexity, a bare four-word description leaves the agent without the semantics needed to call it safely.

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 per-field descriptions for project_id, host_group_id, host_id_list, host_group_tag, and host_group_name, so the baseline is 3. The description adds no meaning beyond the schema — notably it does not clarify the replace-vs-merge semantics of host_id_list or the duplicate-key constraint on host_group_tag.

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] 修改主机组" gives a verb (modify) and a resource (host group), so the domain is identifiable. But it essentially restates the tool name UpdateHostGroup and says nothing about what aspects of the group are modifiable, nor how it differs from siblings like lts__UpdateLogGroup or lts__CreateHostGroup.

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 versus ListHostGroup, CreateHostGroup, or DeleteHostGroup, and no prerequisites or preconditions are stated. An agent must infer from the verb alone that this is the mutation path for existing groups.

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