Skip to main content
Glama

WatchFor

List alert rules

list_alert_rules
Read-onlyIdempotent

A monitor's alert rules (system defaults + custom), each with its id. Rules define when incidents fire.

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

Input Schema

NameRequiredDescriptionDefault
monitor_idYesMonitor id (UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description adds genuine value by disclosing that the result mixes system-default rules with custom ones and that each carries an id, which an agent would not know from annotations alone, but it says nothing about ordering, pagination, or result size.

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?

Two short sentences with no filler, and the scope (system defaults + custom) is front-loaded before the definitional aside. Slightly telegraphic, but every clause carries information.

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 single-parameter read tool with full schema coverage and rich annotations, the description supplies what annotations cannot: the composition of the returned list and the presence of ids. Nothing essential to calling it correctly is missing, though a note on ordering or empty results would round it out.

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% and the single monitor_id parameter is documented as a UUID in the schema, so the schema carries the burden. The description adds only the contextual point that results are scoped to 'a monitor', which is marginal but consistent.

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 names a specific verb-resource pair (listing a monitor's alert rules) and clarifies scope by noting both system defaults and custom rules are included, with ids returned. It implicitly distinguishes itself from the create/update/delete_alert_rule siblings, though it never names them.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of prerequisites (e.g., needing a valid monitor id), and no routing to alternatives such as fetching a monitor's full details. Usage is only inferable from the resource name and the sibling set, not from the text.

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.