Skip to main content
Glama

AIS Agent Flight Recorder — dead-man alerts & resume for AI agents

heartbeat

Agent Flight Recorder — "still alive" ping for a registered monitor. Include capsule (any JSON ≤32KB: current step, done, next, ids) so a dead-man alert can carry resume state (stored on the key tier). status:"fail" reports a failure immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
secretNoMonitor secret from register_monitor (not needed when calling with the owning Gateway key)
statusNo
capsuleNoResume state: { step, done: [...], next, ids: {...} } — anything JSON
monitor_idYes

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds useful context: status:'fail' reports a failure immediately and the capsule is stored on the key tier for dead-man resume state. However, it does not mention side effects, expected response, or behavior when the monitor is not registered.

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, with the purpose front-loaded in the first phrase. The second sentence efficiently packs capsule guidance, storage location, and failure semantics without filler.

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?

The description covers purpose, capsule usage, and failure mode, which is a solid basis for a simple ping tool. However, with no output schema and no annotations, it omits the response format and error handling, so an agent may be unsure what to expect after invoking it.

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 description adds meaningful semantics beyond the schema: it defines the capsule shape (`{ step, done: [...], next, ids: {...} }`), the 32KB size limit, and clarifies that status:'fail' triggers immediate failure reporting. The monitor_id and secret are left to the schema, but the most nuanced parameters are enhanced.

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 clearly identifies the tool as a 'still alive' ping for a registered monitor, specifying the resource and the immediate-failure behavior of status:'fail'. This distinguishes it from the sibling tools like register_monitor and fetch_capsule by its core function.

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?

It states the tool is for a registered monitor, implying a prerequisite of register_monitor and framing the use case as periodic liveness pings. It does not explicitly list alternatives or when-not-to-use scenarios, but the context is clear enough.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool maps to a distinct operation: register, heartbeat, fetch capsule, fleet status, and delete. The only slight overlap is fleet_status previewing capsules and fetch_capsule returning the full capsule, but the descriptions make the distinction clear.

Naming Consistency4/5

Most tools follow a verb_noun snake_case pattern (register_monitor, delete_monitor, fetch_capsule), but fleet_status is noun_noun and heartbeat is a bare noun. The naming style is consistent and readable despite the minor deviations.

Tool Count5/5

Five tools is well-scoped for a focused dead-man alert and resume service. Each tool earns its place and covers a necessary part of the workflow without redundancy.

Completeness4/5

The core lifecycle is covered: register, heartbeat, fleet status, delete, and resume via fetch_capsule. The main gap is the lack of an update_monitor operation for changing alert targets or periods, but that can be worked around with delete/re-register.

Resources