Skip to main content
Glama

Update an alert rule

termix_alerts_update_alert_rule
Idempotent

Update an existing alert rule by modifying trigger type, threshold, cooldown, duration, notification channels, and enabled status to adjust monitoring responses.

Instructions

Update an alert rule

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
hostIdNoRestrict this rule to one host. Omit for all hosts.
enabledNo
channelsNoNotification channel ids to fire.
triggerTypeNo
thresholdValueNo0-100. Required by cpu/memory/disk_threshold triggers.
cooldownMinutesNo
thresholdDurationSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already convey readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description adds no additional behavioral facts. It does not state whether this is a partial update or full replacement, what effects occur on existing notifications, or what happens if the rule is not found.

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

Conciseness2/5

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

The description is brief but not usefully concise; it is under-specified. A single tautological sentence earns less credit than a structured description that front-loads the identifying parameter and update semantics.

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

Completeness1/5

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

This is an 8-parameter mutation tool with no output schema and no explicit rule identifier parameter, yet the description explains none of the selection or update semantics. An agent cannot reliably know how to target an alert rule or which fields are required for trigger-specific updates.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 38%, leaving five of eight parameters (name, enabled, triggerType, cooldownMinutes, thresholdDurationSeconds) undocumented. The description contributes no parameter information at all and fails to compensate for the gap, including the ambiguous meaning of cooldownMinutes vs thresholdDurationSeconds.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tautological: description restates name/title.

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 for when to update an alert rule versus creating one, or what preconditions apply. The sibling create_alert_rule is not referenced, and there is no mention that a rule must already exist or how it is selected.

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