Skip to main content
Glama

Agent Workforce

queue_heartbeat

Agent Workforce: worker is alive; extends its lease and stores a checkpoint (e.g. a Locker id + step) for dead-agent recovery. Header X-Queue-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/queue/heartbeat, $0.002 via x402.)

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

Input Schema

NameRequiredDescriptionDefault
item_idNoitem id
queue_idNoqueue id
worker_idNoworker id
checkpointNocheckpoint
x_queue_keyNothe key returned by create (sent as a header on HTTP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / checkpoint / description
      Added value: +"checkpoint"
    • addedInput schema / properties / item_id / description
      Added value: +"item id"
    • addedInput schema / properties / queue_id / description
      Added value: +"queue id"
    • addedInput schema / properties / worker_id / description
      Added value: +"worker id"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag the write nature (readOnlyHint=false, idempotentHint=false, destructiveHint=false), and the description adds real context on top: the X-Queue-Key header requirement, the lease-extension effect, and the checkpoint's role in dead-agent recovery. It also discloses the paid production endpoint ($0.002 via x402) and the free AYNE playzone, which is genuinely useful for call planning. It stops short of describing the failure mode for an expired lease or the response shape.

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

Conciseness3/5

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

The behavioral core is front-loaded and dense, but the definition carries vendor and environment boilerplate ('By OMENZ', 'MCP calls run in AYNE, the free playzone') that competes with the operational content. A leaner phrasing could convey the same paid-endpoint information in less space.

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?

With five optional parameters, no output schema, and annotations covering the safety profile, the description supplies enough to call the tool correctly: auth header, side effects, and cost. The remaining gap is outcome behavior on lease expiry or checkpoint failure, which matters for a recovery-oriented tool.

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 already 100%, so the baseline is 3. The description earns a bump by giving the otherwise opaque 'checkpoint' parameter concrete semantics ('e.g. a Locker id + step') and by surfacing the X-Queue-Key header requirement in prose. It adds no guidance on item_id versus queue_id beyond their self-describing schema text.

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 states a concrete action set for the worker resource: mark alive, extend lease, and store a checkpoint for dead-agent recovery. That is specific enough for an agent to know what the call does. It does not, however, explicitly contrast itself with the sibling 'alive' tool, so the boundary between the two is left to inference.

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 rather than stated: a worker calls this to stay alive and to leave recovery state, which suggests a periodic keep-alive cadence. There is no explicit 'use this instead of X', no statement about when a heartbeat is required versus optional, and no note on what happens if the lease has already expired.

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