Skip to main content
Glama

waf__UpdateLtsInfoConfig

Enable or disable WAF full logging and set the LTS log group, access log stream, and attack log stream for a specified LTS configuration.

Instructions

[WAF] 配置全量日志lts,该接口可用来开启与关闭waf全量日志以及配置日志组和日志流。日志组id和日志流id可前往云日志服务获取。配置的日志流id要属于所配置的日志组。

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": {
      "ltsconfig_id": "<ltsconfig_id>",
      "project_id": "<project_id>"
    },
    "name": "waf__UpdateLtsInfoConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabaleNo该参数废弃,请忽略
enabledNo是否开启全量日志
ltsIdInfoNo日志组与日志流id信息
project_idYes项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID
ltsconfig_idYeslts配置信息id,通过ShowLtsInfoConfig获取
enterprise_project_idNo您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the enable/disable and configuration scope and a validation constraint, but omits permissions required, reversibility or side effects of disabling logging, and update semantics for omitted fields.

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

Conciseness5/5

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

The description is three tight sentences: purpose and capabilities first, then ID source, then the key relationship constraint. Every sentence adds useful information and there is no redundant filler.

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

Completeness4/5

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

For a 6-parameter mutation tool with a nested object and no output schema, the description covers the operation scope, ID prerequisites, and the critical group/stream relationship. It still lacks permission and side-effect details, but the full schema coverage compensates for parameter-level gaps.

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 all parameters are already documented in the input schema. The description mentions log group and stream IDs and their relationship, but adds no meaningful syntax or usage semantics beyond what the schema provides, making 3 the appropriate baseline.

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

Purpose5/5

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

The description states a specific verb and resource: configure WAF full-log LTS, and explicitly scopes it to enabling/disabling WAF full logs and configuring log groups and streams. This distinguishes it from the read-oriented sibling ShowLtsInfoConfig without ambiguity.

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?

It gives useful operational context, including where to obtain log group and stream IDs and the constraint that the stream must belong to the group. However, it does not say when to use this tool instead of ShowLtsInfoConfig or other LTS update tools, nor does it state explicit exclusions.

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