Skip to main content
Glama

ces__UpdateAlarmTemplate

Updates a custom Cloud Eye alarm template by revising its alert policies, name, or description to keep metric and event monitoring thresholds aligned with current requirements.

Instructions

[CES] 修改自定义告警模板

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": {
      "policies": "<policies>",
      "project_id": "<project_id>",
      "template_id": "<template_id>",
      "template_name": "<template_name>"
    },
    "name": "ces__UpdateAlarmTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
policiesYes告警模板策略列表
project_idYes租户ID
template_idYes告警模板ID
template_nameYes告警模板的名称,以字母或汉字开头,可包含字母、数字、汉字、_、-,长度范围[1,128]
template_typeNo自定义告警模板类型 0:指标 2: 事件
template_descriptionNo告警模板的描述,长度范围[0,256],该字段默认值为空字符串

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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, and it discloses nothing beyond 'modify'. For a mutation touching a nested policy array (up to 1000 items), it says nothing about whether policies are replaced or merged, required permissions, or reversibility. Only the bare fact of mutation is conveyed.

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

Conciseness3/5

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

One short phrase with a bracketed service tag and zero filler, so nothing is wasted. However, there is no structure beyond a noun phrase, and the extreme brevity reflects under-specification rather than disciplined conciseness.

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?

For a mutation tool with 6 parameters, 4 required, deeply nested policy objects, and no output schema and no annotations, this description is far too thin. An agent gets no information about replacement semantics, error conditions, or the effect on existing alarms bound to the template.

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 coverage is 100%, with detailed descriptions for project_id, template_id, template_name, policies, and the nested policy fields, so the schema already does all the work. The description adds no meaning beyond the schema, which is the baseline-3 case.

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 contains the specific verb '修改' (modify) and resource '自定义告警模板' (custom alarm template), which distinguishes it from CreateAlarmTemplate, DeleteAlarmTemplate, and ShowAlarmTemplate siblings. It does not name those siblings explicitly, but the verb-resource pairing is unambiguous.

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 CreateAlarmTemplate or the association-update sibling, no prerequisites, and no mention of what conditions must hold (e.g., template must already exist, policies replace existing ones). The agent must infer all routing decisions.

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