Skip to main content
Glama

list_heartbeats

Read-only

Retrieve all heartbeat and cron monitors with current status, last ping time, expected period, and grace period; optionally filter by agent UUID or local.

Instructions

List all heartbeat/cron monitors with their current status, last ping time, expected period, and grace period.

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
agent_idNoFilter by agent UUID, or 'local' for heartbeats received directly by the server. Omit to return all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.1

TDQS

A3.5/5.0
Behavior4/5

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

readOnlyHint=true already declares the safety profile, and the description adds value by naming the exact return contents (current status, last ping time, expected/grace period). No pagination or ordering behavior is disclosed, but the return-field disclosure is meaningful given there is no output 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?

A single efficient sentence, front-loaded with the verb and resource, with zero redundant text. It could integrate a filtering hint but is well-sized.

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 one-parameter read-only list tool with no output schema, the description covering the returned fields plus the annotation covering safety makes it essentially complete. Minor gap is the absence of any usage/alternative context.

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% for the single agent_id parameter, including the 'local' enum-like value, so the schema carries the semantics. The description adds nothing about the parameter; baseline 3 applies.

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?

States a specific verb ('List') and resource ('heartbeat/cron monitors') and enumerates the fields returned (status, last ping, period, grace). This clearly distinguishes it from siblings like list_alerts or list_agents, though it doesn't explicitly name a competing tool.

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?

The description offers no guidance on when to use this versus alternatives (e.g., get_trigger, pause_monitor) or any prerequisites. It also doesn't mention the agent_id filtering option, leaving usage context entirely to the schema.

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