Skip to main content
Glama

Choose how an alert sends results

set_alert_delivery
Idempotent

Works like Delivery style in the app. adaptive: the first immediate_per_hour results in a rolling hour go out at once (default 3), the rest wait for an hourly summary. instant: every result as soon as it is ready. hourly: one summary per hour. Results always stay in Poacher. Keeps the alert’s channels.

Permission: channels:manage.

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": {
      "alert_id": "<alert_id>",
      "delivery_mode": "<delivery_mode>"
    },
    "name": "set_alert_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
alert_idYesAlert ID.
delivery_modeYes`adaptive`, `instant` or `hourly`. `legacy` only keeps an alert’s earlier limits; it cannot be chosen again.
immediate_per_hourNo`adaptive` (or `legacy`): results sent immediately per rolling hour.
minimum_gap_secondsNo`legacy` only: minimum seconds between messages.

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With annotations already declaring mutating-but-idempotent and non-destructive, the description adds real context beyond them: a required permission ('channels:manage'), the guarantee that results stay in Poacher, that existing channels are untouched, and the one-way `legacy` state. It does not say whether existing queued results are re-delivered under a new mode, which is the main remaining ambiguity.

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?

Short, front-loaded and mode-by-mode, with backticked enum values that map cleanly onto the schema. The opening 'Works like Delivery style in the app' is filler for an agent that cannot see the app UI, but it occupies only one clause.

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?

An output schema exists, so return values need no explanation, and the description covers permissions, side effects and the legacy restriction. For a 4-parameter mutation this is close to complete; only the effect on already-in-flight deliveries and sibling routing are unaddressed.

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 all four parameters are documented in the schema; the baseline is 3. The description does add one fact not obviously in the schema — the rolling-hour default of 3 for `adaptive` — and reinforces the legacy constraint, but immediate_per_hour and minimum_gap_seconds are left entirely to the schema.

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?

States the resource and effect clearly: it sets how an alert delivers results, with the concrete mode vocabulary spelled out. It implicitly separates itself from set_alert_channels via 'Keeps the alert's channels', but never names that sibling, so differentiation is inferred rather than explicit.

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?

Guidance is about choosing a mode value (`adaptive` vs `instant` vs `hourly`) rather than when to call this tool instead of set_shared_delivery or get_alert_delivery. The statement that channels are preserved does tell an agent this is not a channel-editing call, but no explicit when-not or alternative routing is given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources