Skip to main content
Glama

lts__UpdateSwitch

Updates the log convergence switch for a Huawei Cloud Log Tank Service project. Use it as an administrator or delegated administrator to enable or disable log aggregation.

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": {
      "log_converge_switch": "<log_converge_switch>",
      "project_id": "<project_id>"
    },
    "name": "lts__UpdateSwitch"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID,账号ID,日志组ID、日志流ID,获取方式请参见:[获取项目ID,获取账号ID,日志组ID、日志流ID](lts_api_0006.xml)
log_converge_switchYes开关参数

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It discloses the important authorization constraint (admin/delegated admin only), which is genuinely valuable. However, it says nothing about what happens when the switch is toggled, whether the change is reversible, the scope of impact on log convergence, or whether other configuration must exist first. For a mutation tool with zero annotation coverage, this leaves significant gaps.

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?

The description is very short, and the permission constraint is presented up front. It contains no filler or repetition. It is slightly marred by irregular spacing and a mixed-language format, but it remains front-loaded and efficient.

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

Completeness3/5

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

For a two-parameter mutation tool with full schema coverage and no output schema, the description covers the essentials: what it changes and who may call it. It still omits the effect of the switch state and any side effects, which would matter for an agent deciding whether to invoke it.

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 both project_id and log_converge_switch are already documented in the schema, which sets the baseline at 3. The description adds no information about the accepted values of the switch (e.g. on/off encodings) or the format of project_id beyond what the schema already states.

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?

The description names a specific action and target — '修改日志汇聚开关' (modify the log convergence switch) — in addition to the tool name. This is clearly a mutation of a single named setting. However, it does not distinguish this tool from the closely related sibling lts__UpdateLogConvergeConfig, so the agent must infer the distinction from the name alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states an eligibility prerequisite: only an administrator or delegated administrator may call it. That is useful context for usage. However, it gives no guidance on when to choose this tool instead of the related lts__UpdateLogConvergeConfig, and no preconditions beyond the caller's identity.

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