Skip to main content
Glama

pls_delete_alarm_rule

pls_delete_alarm_rule
Destructive

Delete alarm rules by providing IDs and a required confirmation. This action is irreversible so use carefully.

Instructions

【🔧 管理】删除告警规则实体。

参数:

  • confirm: 二次确认(必填),必须传 "确认"

  • ids: ID数组(必填),要删除的实体ID列表

  • 根据实体类型传入对应字段

返回: {success: true/false, entity: 实体名称, action: 操作类型}

提示: 删除不可撤销!

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo告警规则ID(更新/删除时必填,长整型以字符串传入)
idsYes要删除的实体ID列表(长整型以字符串传入)
nameNo规则名称
confirmYes⚠️ 写操作需二次确认,必须传 "确认"
alarmTypeNo告警类型: 0-入侵, 1-越界, 2-超限, 3-低位, 4-超时, 5-低电, 6-超速
thresholdsNo阈值
monitoredPeriodNo受控时段, 如 "08:00-18:00"
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate destructiveHint: true, so the description's warning '删除不可撤销!' adds emphasis but not new information. The return structure is provided. No side effects or error behaviors are disclosed. Overall, minimal added value beyond annotations.

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?

The description is relatively short and front-loaded with the purpose. The emoji and formatting may be seen as clutter, but it's still concise. The vague '根据实体类型传入对应字段' could be removed for clarity.

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 destructive action with 7 parameters and no output schema, the description provides the return format and an irreversibility warning. However, it lacks details on error handling, permissions, and what happens to related data. The annotations help, but completeness is adequate but not thorough.

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%, so the schema fully documents all 7 parameters. The description only highlights 'confirm' and 'ids' as required, and vaguely mentions '根据实体类型传入对应字段'. Since the schema already provides descriptions, the description adds marginal semantic value.

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 clearly states it deletes alarm rule entities. The verb '删除' and resource '告警规则实体' are specific. However, the line '根据实体类型传入对应字段' suggests broader applicability, which may confuse. The tool name reinforces specificity, so it's mostly clear.

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?

No guidance is provided on when to use this tool versus other delete tools (e.g., pls_delete_tag, pls_delete_person). There is no mention of prerequisites, context, or alternatives. The description assumes the agent already knows when to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sweet-dog-cyber/pls-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server