Skip to main content
Glama

PitCanary

List alerts

list_alerts
Read-onlyIdempotent

Returns the alert rules that are currently in a given state, with what tripped each one and when. Defaults to firing, which is the question people usually mean; pass status to ask for the ones somebody has acknowledged, snoozed or resolved instead. Alerts are rules a person set on a room, so an empty answer means nothing is tripped, not that nothing is wrong. Pass a room_id to narrow it to one room. Requires a PitCanary account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoWhich standing to list. Defaults to firing. One state at a time; there is no all.
room_idNoNarrow to one room. Leave it out for the whole account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered; the description adds real context beyond them: an auth requirement ('Requires a PitCanary account') and, importantly, that an empty result means nothing is tripped rather than nothing being wrong. It does not mention result volume or pagination for a list operation.

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?

The return shape is front-loaded, followed by default behavior, then scoping, then the auth note — a sensible order with no filler. The sentence explaining that alerts are rules a person set on a room is slightly digressive but does set up the empty-result caveat.

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?

With a fully described two-parameter schema and rich annotations, the description covers return content, defaults, scoping, the misleading-empty-result caveat and account requirements. Only listing mechanics such as result limits are left unaddressed, which is minor here.

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?

Schema coverage is 100%, so baseline is 3, and the description goes slightly beyond it by framing why firing is the default and by clarifying that room_id narrows from the whole account. The one-state-at-a-time restriction is also stated, though it already appears in the schema.

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?

States a specific verb and resource ('Returns the alert rules') plus what each result carries ('what tripped each one and when'), which lets an agent tell it apart from the device/room/history listing siblings.

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?

Gives explicit guidance on the status parameter — default is firing, 'the question people usually mean', and passing status is for ack/snooze/resolve cases — and explains when to add room_id versus omit it for the whole account. It stops short of naming any alternative tool to use instead, but no obvious competing sibling is implied.

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