Skip to main content
Glama

ces__DeleteAlarmTemplate

Deletes a custom Cloud Eye (CES) alarm template by its ID within a specified project, enabling cleanup of unused monitoring templates.

Instructions

[CES] 根据ID删除自定义告警模板。

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>",
      "template_id": "<template_id>"
    },
    "name": "ces__DeleteAlarmTemplate"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目编号。
template_idYes需要删除的自定义告警模板ID。

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 provided, so the description carries the entire burden of behavioral disclosure for a destructive operation. It says nothing about irreversibility, whether templates still bound to alarms can be deleted, required permissions, or what an error looks like — all material for a delete call.

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 resource and ID-based selector front-loaded; nothing is wasted. It is terse to the point of under-specification, but not padded.

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 tool with a fully documented schema and no output schema, the description covers the basics adequately. What is missing is consequence-related context — reversibility and preconditions — which is significant for a delete tool but not blocking for correct invocation.

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 both project_id and template_id documented, so the schema already does the heavy lifting. The description's 'by ID' adds only marginal meaning beyond what the two parameter descriptions state.

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 in 'delete custom alarm template by ID', which is clear and actionable. It does not, however, distinguish itself from the sibling ces__BatchDeleteAlarmTemplates, leaving the single-vs-multiple distinction implicit.

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?

The description gives no guidance on when to use this tool rather than BatchDeleteAlarmTemplates or other template-lifecycle siblings like ShowAlarmTemplate or UpdateAlarmTemplate. It implies usage only via the tool name and 'by ID', with no conditions, prerequisites, or exclusions.

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