Skip to main content
Glama

lts__UpdateNotificationTemplate

Updates an existing Log Tank Service (LTS) notification template by name, letting you revise its description and channel-specific alert message content.

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": {
      "domain_id": "<domain_id>",
      "locale": "<locale>",
      "name": "<name>",
      "project_id": "<project_id>",
      "source": "<source>",
      "templates": "<templates>"
    },
    "name": "lts__UpdateNotificationTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
descNo模板描述,必填,只含有汉字、数字、字母、下划线不能以下划线开头和结尾,长度为0--1024
nameYes通知规则名称,必填,只含有汉字、数字、字母、下划线、中划线,不能以下划线等特殊符号开头和结尾,长度为 1 - 100,创建后不可修改
typeNo保留字段,非必填,只支持sms(短信),dingding(钉钉),wechat(企业微信),email(邮件)和webhook(网络钩子)
localeYes语言,必填,目前可填zh-cn和en-us
sourceYes模板来源,目前必填为LTS,否则会筛选不出来
domain_idYes账号id,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。
templatesYes模板正文,为一个数组
project_idYes项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/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 disclosure burden, and it discloses almost nothing. It does not say whether the update is a full replace or a partial merge on the `templates` array, whether omitted fields are cleared, what permissions are required, or that `name` cannot be changed post-creation. The mutating nature is only implied by the verb.

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?

A single short sentence with the service tag front-loaded and zero filler; it is not padded or meandering. Brevity here reflects under-specification rather than poor structure, so the structure itself is fine but the content is thin.

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

Completeness2/5

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

This is a mutation over a nested template array with 6 required parameters, no annotations, and no output schema, so the description should do far more work. It omits update semantics, required permission/auth context, and any note on how the nested `templates` list is merged or replaced. The schema is rich, but the description adds virtually nothing on top of it for a write operation.

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 every one of the 8 parameters (including the nested `templates` sub-object) is already documented in the schema, which sets the baseline at 3. The description adds nothing — its only parameter-related statement ("by name") is not further explained and tensions with the schema's immutability note. No credit earned above baseline.

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?

States a specific verb and resource ("修改通知模板" / modify notification template), which distinguishes it from the Create/Delete/List/Show siblings sharing the same resource. The added clause "根据名称进行修改" is vague and arguably conflicts with the schema note that `name` is immutable after creation, so the agent gets no confident statement of how the target template is identified. No differentiation from lts__UpdateStructTemplate or the other Update* siblings.

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, no prerequisites, and no named alternative for related operations. The only hint is the ambiguous "modify by name" clause, which does not tell the agent whether to call this versus CreateNotificationTemplate or UpdateStructTemplate. For a mutating tool with 30+ siblings this is a real gap.

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