Skip to main content
Glama
12happy MCP Server

12happy MCP Server

Official
by 12happyhq

Set who a monitor alerts

set_monitor_alerts
Idempotent

Replace a monitor's alert channels and optionally build escalation chains, such as sending Slack immediately and SMS after 10 minutes. Set an empty list to notify nobody.

Instructions

Replace the alert channels a monitor notifies, optionally as an escalation chain (alert Slack at once, SMS after 10 minutes). An empty list alerts nobody.

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": {
      "monitor_id": "<monitor_id>",
      "routes": "<routes>"
    },
    "name": "set_monitor_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
routesYes
monitor_idYesThe monitor id, from list_monitors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare a non-read-only, idempotent, open-world write, so the description carries real weight: it discloses that existing routes are REPLACED (not appended), that ordering/delays create an escalation chain, and that an empty list silences the monitor entirely. That is meaningful behavior beyond the annotations; it omits permission requirements and the 20-route cap, but those gaps are minor.

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

Conciseness5/5

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

Two compact sentences: the replacement operation and escalation model come first, and the empty-list edge case is a single clarifying clause. No filler or redundant restatement of the tool name.

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

Completeness4/5

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

For a two-parameter mutation tool with no output schema, the definition covers the operation, the escalation semantics, and the clearing behavior, which is what an agent needs to call it correctly. It could still mention channel-id provenance and the maximum number of routes, but the schema picks up most of that.

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

Parameters4/5

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

With only 50% schema description coverage, the description usefully adds that the routes array is an ordered chain and that delay_seconds means 'time before alerting this channel', a semantic the schema states only per-field. It does not restate on/delay_seconds syntax, which the schema already handles, and it does not explain the top-level routes container beyond the escalation framing.

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 gives a specific verb and resource ('Replace the alert channels a monitor notifies') plus the distinguishing detail that routes may form an escalation chain. It never names a sibling tool such as update_monitor or list_alert_channels, so the agent must infer the boundary between this tool and a general monitor update.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the word 'Replace' and the note that an empty list alerts nobody, which tells the agent how to clear alerts. There is no explicit when-to-use versus update_monitor/delete_monitor guidance and no statement of prerequisites (e.g., that channel ids must first come from list_alert_channels, which only appears in the schema).

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