Skip to main content
Glama

AI SENSE Free Public Tools

Read heartbeat

read_heartbeat
Read-onlyIdempotent

See whether a monitored job, device or agent is on time: whether the heartbeat is armed, missed, fired or expired, running late, and its next deadline. It answers at once without waiting. The heartbeat ID is a 256-bit bearer secret. No authentication is required.

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": {
      "heartbeat_id": "<heartbeat_id>"
    },
    "name": "read_heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
heartbeat_idYesThe secret heartbeat ID returned by create_heartbeat.

Output Schema

NameRequiredDescriptionDefault
okYes
lateYes
missesYes
statusYes
on_missYes
deliveryNo
ping_urlYes
ping_countYes
status_urlYes
heartbeat_idYes
grace_secondsYes
missed_at_datetimeNo
created_at_datetimeYes
expires_at_datetimeYes
missed_at_timestampNo
created_at_timestampYes
expect_every_secondsYes
expires_at_timestampYes
miss_due_at_datetimeYes
terminal_at_datetimeNo
last_ping_at_datetimeYes
miss_due_at_timestampYes
terminal_at_timestampNo
last_ping_at_timestampYes
next_expected_at_datetimeYes
next_expected_at_timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent and closed-world, so the bar is lower, and the description still adds real context: 'It answers at once without waiting' discloses non-blocking latency behavior, and the note that the ID is a 256-bit bearer secret with no separate authentication sets the auth model. It stops short of describing error behavior for an unknown or expired ID, which would complete the picture.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with no waste: purpose and reported states first, latency second, security handling last. Nothing repeats the schema or annotations, and the most important framing is front-loaded.

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?

An output schema exists, so return values need no explanation, and annotations carry the safety profile. For a one-parameter read tool, the description covers purpose, returned states, latency, and credential handling — everything an agent needs to select and call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented with its 64-hex pattern and its origin in create_heartbeat. The description still adds meaning beyond the schema by framing the value as a bearer secret, signaling that it is sensitive and must be handled as a credential.

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 gives a specific verb and resource (see the state of a monitored heartbeat) and enumerates the exact states it reports: armed, missed, fired, expired, running late, plus the next deadline. That is far more precise than a restatement of the title, though it never names a sibling such as ping_heartbeat or create_heartbeat to make the boundary explicit.

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?

Usage is implied by 'See whether a monitored job, device or agent is on time,' which tells the agent this is the status-query tool rather than the registration or ping tool. There is no explicit when-to-use, when-not-to-use, or named alternative, so the agent must infer routing from sibling names.

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.