Skip to main content
Glama

Heartbeat monitor

heartbeat
Destructive

Dead-man's switch: ping at least every interval_seconds (default 300) plus grace. On a miss, status becomes missed and on_miss runs once: {"type":"notify"} (default), {"type":"enqueue","queue_id":...,"channel":..., "payload":...} or {"type":"put_key","key":...,"value":...}. No outbound HTTP. read(status, wait_seconds) waits for a change; ping re-arms.

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": {
      "action": "<action>"
    },
    "name": "heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
actionYes
statusNo
on_missNo
ttl_secondsNo
wait_secondsNo
grace_secondsNo
interval_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: status transitions from armed to missed, on_miss fires exactly once, and the three supported on_miss payload shapes are spelled out with the default being {"type":"notify"}. The "No outbound HTTP" note usefully clarifies the openWorldHint=false boundary. It does not disclose the cost of the destructive delete action, which the destructiveHint=true annotation flags but the description never explains.

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?

Dense and front-loaded — the mechanism and timing constraint come first, then the miss behavior, then the read/ping semantics. The embedded JSON snippets earn their space because they define the on_miss contract. Phrasing is telegraphic ("read(status, wait_seconds) waits for a change") but not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, destructive-flagged lifecycle tool with 0% schema coverage and no output schema, the description covers the miss/notify core well but leaves roughly half the parameters and three of five actions unexplained. An agent could call ping and read correctly, but would be guessing at create, touch, and delete.

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?

With 0% schema description coverage the description carries the full burden, and it partially discharges it: interval_seconds (default 300), grace, on_miss (with the exact three variants), wait_seconds and status/read semantics are all explained. However, id format, ttl_seconds, and the create/touch/delete meanings of the action enum are left entirely undocumented in both description and schema.

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?

Opens with a precise metaphor-plus-mechanism: "Dead-man's switch: ping at least every interval_seconds (default 300) plus grace," which tells an agent exactly what resource this manages and the failure model. It stops short of enumerating the full action set (create/touch/delete are never mentioned), so the tool's scope is only partly covered, but the core purpose is unmistakable.

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

Usage Guidelines3/5

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

Gives concrete operational guidance for the ping and read paths (ping at least every interval, read waits for a change and blocks up to wait_seconds). It does not say when to prefer this tool over a scheduling or lease-style sibling, nor when not to use it, so usage is implied rather than routed.

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