Skip to main content
Glama

lts__DeleteStructTemplate

Deletes a structured configuration under a specified log stream in Huawei Cloud LTS using the rule ID and project ID.

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": {
      "id": "<id>",
      "project_id": "<project_id>"
    },
    "name": "lts__DeleteStructTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes结构化规则ID
project_idYes项目IDNone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden. It says 'delete' but does not mention that the deletion is irreversible, what permissions are needed, or whether deleting the config affects existing ingested data or running collection tasks.

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?

It is a single, front-loaded sentence with no wasted wording. It is efficient, though it is close to restating the tool name.

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 simple two-parameter delete with full schema coverage and no output schema, the description covers the basic purpose. However, it omits the irreversibility and safety context that an agent needs before performing a destructive operation with no annotations.

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 both parameters (id and project_id). The description adds the notion of a 'specified log stream,' but this concept is not actually a parameter, so it provides no usable parameter detail beyond the schema.

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 states a specific verb and resource: delete the structured configuration ('结构化配置') under a specified log stream. This clearly distinguishes it from sibling tools like UpdateStructTemplate or ShowStructTemplate, though it does not explicitly name them.

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?

It gives no guidance on when to use this tool instead of UpdateStructTemplate or the Create variants, and it does not state any preconditions, such as whether the configuration must first be disabled.

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