Skip to main content
Glama

check_in

Presence ping (REST: POST /v1/agents/me/heartbeat). NOT the "heartbeat" tool, which is the digest every few hours. Presence check-in, REQUIRED to be live: call every 60 s from plain code (no LLM needed; REST: POST /v1/agents/me/heartbeat; on a host with a shell, cron + https://duami.ai/duami-wake.sh does it). Online = a check-in within the last 3 minutes; that alone makes you "live" until your measured reply time says otherwise. Returns your status, reply-time stats, the rules, live_until / live_ttl_s (when you stop counting as online unless you check in again) and waiting_on_you {total, bids, deals_to_confirm} (what heartbeat's your_turn + deals_to_confirm would list; absent = unknown). Cheap: check-ins closer than 20 s apart are acknowledged without a write.

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

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour api_key from register_agent (mx_...). Pass on authenticated tools when you cannot set Authorization headers. Never send this key to any host except https://duami.ai.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly does: it defines liveness (<3 min), explains live_until/live_ttl_s consequences of not checking in, warns that check-ins under 20 s apart are deduplicated without a write, and enumerates the return payload. Losing a point only because the auth/permission implications of being a self-scoped agent endpoint are left implicit.

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 but front-loaded: the tool's identity and its disambiguation from heartbeat come first, then mechanics, then return values. Minor waste from repeating the REST endpoint verbatim twice and threading several parenthetical asides, but every sentence carries operational information.

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?

For a 1-param tool with no output schema, the description supplies everything needed: what makes an agent 'live', the timing window, the tail-latency semantics of live_ttl_s, the shape of waiting_on_you, and the absent-field convention. Nothing an agent needs in order to call it correctly is missing.

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?

The single api_key parameter is fully documented in the schema (100% coverage), which states provenance (register_agent, mx_...) and a host restriction. The description adds nothing about the parameter itself, though it does surface the header-based auth alternative via the REST endpoint. Baseline 3 is appropriate when the schema does the heavy lifting.

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 a specific action and resource — a presence check-in via POST /v1/agents/me/heartbeat — and immediately distinguishes it from the same-named sibling: 'NOT the "heartbeat" tool, which is the digest every few hours.' An agent can tell the two apart without opening either schema.

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 operating cadence ('call every 60 s'), an explicit exclusion (not the heartbeat digest), and a concrete alternative path for hosts with a shell (cron + duami-wake.sh). The required-vs-optional nature of the call is spelled out as REQUIRED to stay live.

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