Skip to main content
Glama

Set a check's alert routing

set_check_channels
DestructiveIdempotent

Restrict which alert channels fire for a check, replacing the current list. [] restores the default: EVERY channel of the organization alerts. There is no way to mute a check here (pause it instead). Confirm with the user first.

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": {
      "check_id": "<check_id>",
      "channel_ids": "<channel_ids>"
    },
    "name": "set_check_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
check_idYesThe check's id (from list_checks).
channel_idsYesChannel ids from list_channels.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say destructive and idempotent; the description discloses what actually gets destroyed (the whole current channel list is replaced) and the surprising consequence that an empty array does not mean 'no alerts' but 'every channel of the organization alerts'. It also flags the confirm-with-user expectation, which is exactly the guidance an agent needs before a destructive write.

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?

Four short sentences, ordered by importance: what it does, the edge case, the thing it cannot do, the confirmation requirement. No filler or restatement of the title.

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

Completeness5/5

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

For a two-parameter destructive mutation with no output schema, the description covers purpose, replace semantics, the empty-array edge case, a misdirection guard, and a safety instruction. Nothing material for correct invocation is missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds non-obvious meaning the schema cannot express: the empty-array token ([]) is a sentinel that restores org-wide default routing rather than selecting zero channels. That single clarification prevents a serious miscall.

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

Purpose5/5

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

The description uses the specific verb 'Restrict' with the resource 'which alert channels fire for a check', and immediately clarifies the replace semantics ('replacing the current list'). This distinguishes it cleanly from the read-side sibling get_check_channels and from set-diff operations, without needing the schema.

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

Usage Guidelines4/5

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

It gives an explicit exclusion ('There is no way to mute a check here') and names the alternative ('pause it instead'), plus a workflow prerequisite ('Confirm with the user first'). What it lacks is a pointer to read the current routing via get_check_channels before replacing it, which is the natural companion step.

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