Skip to main content
Glama

lts__UpdateAccessConfig

Modify an existing LTS log access configuration to adjust collection rules, parsing processors, host groups, or tags for accurate log ingestion.

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": {
      "access_config_id": "<access_config_id>",
      "project_id": "<project_id>"
    },
    "name": "lts__UpdateAccessConfig"
  }
}

Input Schema

NameRequiredDescriptionDefault
demo_logNo示例日志
log_splitNo日志拆分
cluster_idNoCCE集群ID,CCE类型时,为必填
processorsNoIC结构化解析器
project_idYes项目ID,获取方式请参见:[获取帐号租户ID、项目资源集ID、日志组ID、日志流ID](lts_api_0006.xml)。None
demo_fieldsNo示例日志解析字段
component_idNoServiceStage组件ID
application_idNoServiceStage应用ID
binary_collectNo二进制采集
environment_idNoServiceStage环境ID
processor_typeNoIC结构化解析类型
encoding_formatNo编码格式,默认UTF-8
host_group_infoNo日志接入主机组ID列表
access_config_idYes日志接入ID
access_config_tagNo标签信息。KEY不能重复,最多20个标签
access_config_nameNo日志接入名称。
incremental_collectNo是否增量采集 true为是 false为否(全量采集)
access_config_detailNo日志接入详细信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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 and delivers almost none. It implies a mutation but never states permission requirements, whether omitted fields are cleared or preserved, or what happens to an in-progress collection config when the access config changes.

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?

A single four-character Chinese phrase is not conciseness but under-specification; there is no structure, no front-loaded scoping, 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?

For a mutation tool with 18 parameters, deep nested objects (processors, access_config_detail with CCE/Windows branches), no annotations, and no output schema, a one-phrase description is completely inadequate. An agent cannot determine required behavior, side effects, or error conditions from 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 the schema already documents all 18 parameters in detail, which establishes the baseline of 3. The description contributes nothing beyond that — notably it never explains the partial-update semantics that matter for an 18-parameter update call.

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?

"修改日志接入" only restates the tool name (UpdateAccessConfig) in Chinese with no added specificity: it says a log-access object is modified but never which aspects, and it draws no line versus lts__CreateAccessConfig, lts__DeleteAccessConfig, or lts__UpdateStructConfig.

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 at all — no prerequisites, no indication of whether this is a full replacement or partial update, and no pointer to sibling tools for related operations. The agent must infer everything from the schema.

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