Skip to main content
Glama

AgentRail

Heartbeat

agentrail_heartbeat
Idempotent

Free. Report that this agent is alive (keeps it shown as active to its owner) and read its approval status. Call every few minutes while running, and after registering to poll until status is "active".

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": "agentrail_heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
statusYes
messageNo
received_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the write-but-safe profile is already covered. The description adds non-structured facts the agent needs: the call is free, it refreshes an owner-visible 'active' state, and it returns approval status. It does not say how long liveness persists before expiring, which is the one behavior an agent might still want.

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?

Two sentences, no waste, and the cost fact ('Free.') is front-loaded before the action. The cadence guidance is placed in the same sentence as the action it modifies, so an agent can act on it immediately.

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 zero-parameter heartbeat with an output schema, the description covers purpose, cost, cadence, and the post-registration workflow, which is nearly everything needed to call it correctly. The only gap is the liveness expiry window, a minor omission given the return schema carries status.

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?

The tool takes zero parameters, so there is no parameter meaning for the description to carry and the baseline of 4 applies. Nothing in the description misdescribes inputs, and no hidden arguments are implied.

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?

Names both the verb and the resource precisely: 'Report that this agent is alive' plus 'read its approval status'. It also states the externally visible effect ('keeps it shown as active to its owner'), which lets an agent distinguish this from sibling tools like agentrail_register_agent or agentrail_get_venue_health without opening a schema.

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

Usage Guidelines4/5

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

Gives concrete call timing ('every few minutes while running') and a post-registration polling loop until status is 'active', which effectively routes the agent away from over- or under-calling. It stops short of naming an explicit alternative or a when-not condition, so it is clear context rather than a full decision rule.

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