Skip to main content
Glama

List heartbeat monitors

list_heartbeats
Read-onlyIdempotent

Find heartbeat cron and dead-man's-switch monitors to get their IDs or ping URLs and identify jobs that are late or down.

Instructions

Find heartbeat (cron / dead-man's-switch) monitors. Each has id, name, state (PENDING until a success ping makes it UP or a /fail ping makes it DOWN; later UP, DOWN or PAUSED), period_seconds, grace_seconds, ping_url, last_ping_at, last_success_at, overdue_at, tags and channel_ids. Use it to get a heartbeat's id or ping_url, or to see which jobs are late (sort status puts DOWN first). Probed URLs and hosts are monitors: use list_monitors for those. For one heartbeat's full record, with its last run's duration, use get_heartbeat. Returns a page: items plus total, page, size and pages. A read-only credential, or a member who may not manage heartbeats, sees ping_url masked (…/v1/heartbeat/********).

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

Input Schema

NameRequiredDescriptionDefault
qNoCase-insensitive substring of the name, 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: DOWN, PENDING, UP, PAUSED, newest first within each), name, or created_at (newest first).
tag_matchNoall (the default): an item must carry every tag in tag. any: at least one of them.

Output Schema

NameRequiredDescriptionDefault
pageYes
sizeYes
itemsYes
pagesYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.6.0
    • addedOutput schema / properties / items / items / properties / channel_ids / description
      Added value: +"Bound notification channels. Empty means every working channel of the organization is alerted."
    • removedOutput schema / properties / items / items / properties / notification_cooldown_seconds
      Removed value: -{
      -  "type": "integer"
      -}
    • changedOutput schema / properties / items / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "state",
      -  "period_seconds",
      -  "grace_seconds",
      -  "ping_url",
      -  "last_ping_at",
      -  "last_success_at",
      -  "last_start_at",
      -  "last_duration_ms",
      -  "overdue_at",
      -  "notification_cooldown_seconds",
      -  "is_active",
      -  "created_at",
      -  "updated_at"
      -]New value: +[
      +  "id",
      +  "name",
      +  "state",
      +  "period_seconds",
      +  "grace_seconds",
      +  "ping_url",
      +  "last_ping_at",
      +  "last_success_at",
      +  "last_start_at",
      +  "last_duration_ms",
      +  "overdue_at",
      +  "is_active",
      +  "created_at",
      +  "updated_at"
      +]
  2. Changed7 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, 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: DOWN, PENDING, UP, PAUSED, newest first within each), name, or created_at (newest first)."
    • 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."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "properties": {
      +          "channel_ids": {
      +            "items": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "created_at": {
      +            "type": "string"
      +          },
      +          "grace_seconds": {
      +            "type": "integer"
      +          },
      +          "id": {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "is_active": {
      +            "type": "boolean"
      +          },
      +          "last_duration_ms": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "last_ping_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "last_start_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "last_success_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "notification_cooldown_seconds": {
      +            "type": "integer"
      +          },
      +          "overdue_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "period_seconds": {
      +            "type": "integer"
      +          },
      +          "ping_url": {
      +            "type": "string"
      +          },
      +          "state": {
      +            "description": "Known values: PENDING, UP, DOWN, PAUSED.",
      +            "type": "string"
      +          },
      +          "tags": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "updated_at": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "state",
      +          "period_seconds",
      +          "grace_seconds",
      +          "ping_url",
      +          "last_ping_at",
      +          "last_success_at",
      +          "last_start_at",
      +          "last_duration_ms",
      +          "overdue_at",
      +          "notification_cooldown_seconds",
      +          "is_active",
      +          "created_at",
      +          "updated_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "page": {
      +      "type": "integer"
      +    },
      +    "pages": {
      +      "type": "integer"
      +    },
      +    "size": {
      +      "type": "integer"
      +    },
      +    "total": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "items",
      +    "total",
      +    "page",
      +    "size",
      +    "pages"
      +  ],
      +  "type": "object"
      +}
  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?

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses a state machine (PENDING → UP/DOWN via success or /fail ping, later PAUSED), the masking behavior for read-only credentials or unauthorized members (…/v1/heartbeat/********), and the paged return shape. These are behavioral traits the agent could not learn from the annotations or schema.

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 and disambiguation, then usage, then return/masking details — a sensible order. It is a single dense paragraph, and the enumerated result-field list is partially redundant given an output schema exists, but no sentence is filler.

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 six-parameter filtered list tool with full schema coverage and an output schema, the description covers purpose, alternatives, state semantics, permissions-driven masking, and pagination. Nothing an agent needs to call it correctly or interpret results is missing.

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 coverage is 100%, so every parameter is already documented, including that sort=status orders DOWN first and that paging should continue until total rows are seen. The description restates those same facts rather than adding new meaning (e.g., tie-breaking under sort=name, or interaction between q and tag). Baseline 3 is appropriate.

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 opens with a specific verb+resource ("Find heartbeat (cron / dead-man's-switch) monitors") and immediately disambiguates from the most confusable sibling by stating that probed URLs and hosts are monitors, not heartbeats. An agent can distinguish this from list_monitors and get_heartbeat without opening any 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?

It gives three concrete use cases (get a heartbeat's id or ping_url, see which jobs are late) and explicitly routes the agent elsewhere twice: "use list_monitors for those" and "For one heartbeat's full record... use get_heartbeat." When-not guidance is stated, not implied.

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