Skip to main content
Glama

PitCanary

Handle an alert

set_alert_status
DestructiveIdempotent

Acknowledges, snoozes or resolves one firing alert. An alert re-fires while the condition that caused it still holds, so resolving one that is still true only quiets it until the next check. Requires a PitCanary account.

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>",
      "status": "<status>"
    },
    "name": "set_alert_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoHow long to snooze for, 1 to 168 hours. Only used when snoozing.
statusYesWhat to do with it.
alert_idYesThe alert id, as returned by list_alerts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare the mutating, destructive, idempotent profile, so the description's job is to add context — and it does: the alert re-fires while the underlying condition holds, so 'resolve' is temporary quieting, and a PitCanary account is required. It does not state what state is left behind (who acknowledged it, whether snooze is cancellable), so it adds useful but not complete behavior detail.

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?

Three short sentences, front-loaded with the action set, followed by the most decision-relevant caveat and the account prerequisite. Nothing is redundant with the schema and no sentence could be dropped without losing meaning.

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 three-parameter state-change tool with no output schema and full annotation coverage, the description supplies the essential semantics: what the three verbs mean and the re-fire caveat. Only the post-call result (what the alert record looks like afterward, who is recorded as acknowledger) is unaddressed, which is minor here.

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 description coverage is 100%, with the hours bound and the status enum fully documented inline, so the baseline is 3. The description implies the snooze/hours relationship only through the word 'snoozes' and says nothing about the 1-168 hour range or what alert_id must reference beyond the schema's own note.

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 opens with a specific compound verb set and resource: 'Acknowledges, snoozes or resolves one firing alert.' That maps one-to-one onto the status enum and clearly separates it from configuration-style siblings like set_alert_rules. It stops short of naming a sibling tool as an alternative, so it is clear but not maximally differentiated.

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?

The re-fire explanation gives real decision guidance: resolving a still-true alert only quiets it, which tells the agent it is a suppression action rather than a fix. It does not set explicit when-to-use versus when-not-to-use conditions or name alternatives, so it sits just below the top band.

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