Skip to main content
Glama

List monitors

list_monitors
Read-onlyIdempotent

Find monitors by name, target, type, status or tag to get a monitor's id, see what is broken now, or list which SSL certificates expire first. Returns a paged set of short summary rows.

Instructions

Find monitors in the organization by name, target, type, status or tag. Each row is short: id, name, type, target, status, is_active, tags, interval_seconds, ssl_expires_at and last_checked_at. Use it first to get a monitor's id, or to answer what is broken now (status ["DOWN", "DEGRADED"]) or which certificates expire first (type ["SSL"], sort ssl_expiry). For one monitor's full settings use get_monitor; for heartbeats use list_heartbeats. Returns a page: items plus total, page, size and pages. An invalid value is a 422 naming the argument. Example: {"status": ["DOWN", "DEGRADED"], "size": 100}

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_monitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive substring of the name or the target, up to 255 characters.
tagNoKeep items carrying these tags: a JSON array of up to 10 tags, each up to 50 characters, lowercased before matching. tag_match decides whether all or any of them must match.
pageNoPage number, 1 or more; default 1.
sizeNoRows per page, 1 to 100; default 25. Keep paging until you have seen total rows.
sortNostatus (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest, ssl_expiry (soonest-expiring certificates first; monitors with no known expiry, non-SSL types or not checked yet, last), or response_time (slowest latest check first, across regions; monitors whose latest check measured no time, such as a timeout, or not checked yet, after them; paused monitors last).
typeNoKeep monitors of any of these types: a JSON array.
statusNoKeep monitors in any of these states: a JSON array. PENDING means no verdict yet.
tag_matchNoall (the default): an item must carry every tag in tag. any: at least one of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / sort / description
      Previous value: -"status (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest, or ssl_expiry (soonest-expiring certificates first; monitors with no known expiry, non-SSL types or not checked yet, last)."New value: +"status (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest, ssl_expiry (soonest-expiring certificates first; monitors with no known expiry, non-SSL types or not checked yet, last), or response_time (slowest latest check first, across regions; monitors whose latest check measured no time, such as a timeout, or not checked yet, after them; paused monitors last)."
    • changedInput schema / properties / sort / enum
      Previous value: -[
      -  "status",
      -  "up_first",
      -  "name",
      -  "newest",
      -  "oldest",
      -  "ssl_expiry"
      -]New value: +[
      +  "status",
      +  "up_first",
      +  "name",
      +  "newest",
      +  "oldest",
      +  "ssl_expiry",
      +  "response_time"
      +]
  2. Changed8 schema fields changedv0.6.1
    • addedInput schema / properties / page / description
      Added value: +"Page number, 1 or more; default 1."
    • addedInput schema / properties / q / description
      Added value: +"Case-insensitive substring of the name or the target, up to 255 characters."
    • addedInput schema / properties / size / description
      Added value: +"Rows per page, 1 to 100; default 25. Keep paging until you have seen total rows."
    • addedInput schema / properties / sort / description
      Added value: +"status (the default: PENDING, DOWN, DEGRADED, UP, PAUSED, then by name), up_first (healthy first), name, newest, oldest, or ssl_expiry (soonest-expiring certificates first; monitors with no known expiry, non-SSL types or not checked yet, last)."
    • addedInput schema / properties / status / description
      Added value: +"Keep monitors in any of these states: a JSON array. PENDING means no verdict yet."
    • addedInput schema / properties / tag / description
      Added value: +"Keep items carrying these tags: a JSON array of up to 10 tags, each up to 50 characters, lowercased before matching. tag_match decides whether all or any of them must match."
    • addedInput schema / properties / tag_match / description
      Added value: +"all (the default): an item must carry every tag in tag. any: at least one of them."
    • addedInput schema / properties / type / description
      Added value: +"Keep monitors of any of these types: a JSON array."
  3. First observedv0.5.4

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered; the description adds substantial context beyond that. It discloses the return shape (items plus total, page, size, pages), the exact short-row field set, the 422 error contract naming the offending argument, and detailed sort-ordering behavior including tie-breaking and where nulls/paused monitors land.

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?

Front-loaded with purpose, then return shape, usage, alternatives, paging, errors and a concrete example — a logical progression with no filler sentences. It is dense and long-ish, but every sentence carries distinct information given there is no output schema.

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 an 8-parameter, fully optional filter tool with no output schema, the description covers everything an agent needs: what it returns, how to page, how sorting behaves, how to recover from a 422, and which sibling to use instead. Nothing material is left to inference.

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%, so the schema already carries the per-parameter definitions and the description need not repeat them. What it adds is cross-parameter intent (status + size 100, type SSL + sort ssl_expiry) and paging advice to keep going until total rows are seen, which is useful but modest over an already complete 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 ("Find monitors in the organization") and enumerates the filter dimensions (name, target, type, status, tag). It explicitly distinguishes itself from get_monitor and list_heartbeats, so an agent can separate this from its closest siblings without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance with concrete intents: get a monitor's id first, answer what is broken now (status DOWN/DEGRADED), or rank certificates by expiry (type SSL, sort ssl_expiry). It also names the alternatives and the condition that selects them (get_monitor for full settings, list_heartbeats for heartbeats).

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