Skip to main content
Glama

lts__UpdateAomMappingRules

Updates LTS AOM mapping rules to adjust log collection routing for specified clusters, namespaces, workloads, and files.

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": {
      "project_id": "<project_id>",
      "rule_id": "<rule_id>",
      "rule_info": "<rule_info>",
      "rule_name": "<rule_name>"
    },
    "name": "lts__UpdateAomMappingRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYes接入规则id
rule_infoYes接入规则详情
rule_nameYes接入规则名称
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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. It does not disclose that this is a mutation, whether the update replaces the entire rule_info or merges, whether existing fields are destroyed, what permissions are needed, or whether the change is reversible. None of the behavioral context a destructive write tool requires is present.

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, but the single sentence is essentially a tautology of the tool name, so it does not earn its place. Brevity here reflects under-specification rather than disciplined editing.

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?

This is a mutation tool with a deeply nested rule_info payload (cluster, namespace, deployments, file/log-stream mappings), four required parameters, no annotations, and no output schema. A one-line restatement of the name is wholly inadequate for that complexity; the agent gets no information about replacement semantics, validation constraints, or failure modes.

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%, including nested objects for rule_info, files, and log_stream_info, so the schema already documents all four required parameters. The description adds no meaning beyond that, which is the expected baseline 3 when the schema does the heavy lifting.

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?

The description names a verb and a resource ('modify' + 'access rule' / 修改接入规则), so an agent knows the general operation. But it does nothing to distinguish this tool from its immediate siblings CreateAomMappingRules, DeleteAomMappingRules, ShowAomMappingRules and ShowAomMappingRule, and the bracketed '[LTS]' tag conveys no additional meaning.

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 tool versus the create/delete/show variants, no prerequisites, and no statement of what state the rule must be in. The sole sentence is a restatement of the name, leaving the agent to infer context entirely.

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