Skip to main content
Glama

bus_heartbeat

Idempotent

Announce your agent is present and retrieve the live list of agents with online status. Call it periodically while working so others can see you are active.

Instructions

Mark this agent present right now and get the live agent list with each agent's online status. Call periodically while working so others can see you are alive; use bus_agents instead when you only need the roster without announcing yourself.

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": {
      "agent": "<agent>"
    },
    "name": "bus_heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesYour registered agent name.
tokenNoYour per-agent token, on a token-enforced bus.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.12
    • addedInput schema / properties / agent / description
      Added value: +"Your registered agent name."
    • addedInput schema / properties / token / description
      Added value: +"Your per-agent token, on a token-enforced bus."
  2. First observedv0.5.11

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, and destructiveHint=false, and the description is consistent with that: it discloses the write side effect (announcing presence) as well as the read side effect (returning the roster with statuses). It adds useful context beyond the annotations, though it does not mention auth failure behavior or whether calling it has any side effects on other agents' views.

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 filler: the first covers what the tool does, the second covers cadence and the sibling alternative. The primary action is front-loaded.

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?

There is no output schema, and the description compensates by naming the returned payload (live agent list with per-agent online status). For a two-parameter, non-destructive idempotent tool this is nearly complete; only edge behavior such as token rejection or stale-presence expiry is unaddressed.

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%, so both parameters (agent, token) are already documented in the schema and the description needn't repeat them. The description adds only implicit meaning — that `agent` identifies the caller being marked present — without format or token-enforcement detail, so baseline 3 applies.

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?

States two specific effects with concrete verbs: "mark this agent present right now" and "get the live agent list with each agent's online status." It also explicitly distinguishes itself from the sibling bus_agents, so an agent can pick correctly without inspecting schemas.

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

Usage Guidelines5/5

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

Gives an explicit calling cadence ("call periodically while working so others can see you are alive") and names the alternative with the exact condition that selects it ("use bus_agents instead when you only need the roster without announcing yourself"). When-to-use, when-not-to-use, and the substitute are all present.

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