Skip to main content
Glama

Agent Workforce

queue_rejoin

Agent Workforce: a worker back after a lost lease (crash, quota, outage) sends its checkpoint/result: late work is kept as provenance, never thrown away; RESUME / REJOINED (lease back, from newest checkpoint) / STAND_DOWN (replacement has it, your work attached) / ALREADY_DONE (no double completion). Header X-Queue-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/queue/rejoin, $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_rejoin"
  }
}

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. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnly=false, idempotent=false, destructive=false and openWorld=true; the description adds real substance beyond that: the four terminal outcomes (RESUME, REJOINED from newest checkpoint, STAND_DOWN, ALREADY_DONE), the guarantee that late work is retained as provenance, and the X-Queue-Key header requirement. It also discloses the execution context (AYNE playzone) and cost ($0.002 via x402), which annotations cannot express. The dense slash-delimited phrasing makes the outcome semantics harder to parse than necessary.

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?

Purpose is front-loaded, but the body is a run-on of slash-separated tokens and parentheticals, and the production URL plus pricing detail sits inline with core semantics. The outcome list is the most useful content and is the least readable part of the sentence.

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 usefully doubles as a return-value contract by naming the four statuses, which partly compensates for the absent output schema. However, for a mutation tool with five parameters where zero are marked required, it never clarifies which inputs are needed for which outcome, leaving a real gap for correct invocation.

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 the schema already labels all five parameters, and the description adds only that X-Queue-Key is sent as an HTTP header and that the checkpoint is resumed 'from newest checkpoint'. It says nothing about how item_id, queue_id and worker_id interact, or why zero parameters are marked required. Baseline 3 applies when the schema carries the load.

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?

States a specific verb and resource ('a worker back after a lost lease ... sends its checkpoint/result') and enumerates the four possible outcomes, so the agent knows this is the lease-recovery path. It does not name which sibling handles the non-crash case (e.g. queue_heartbeat or queue_claim), so sibling differentiation is implied rather than explicit.

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 a clear triggering condition with concrete examples: crash, quota, outage, i.e. a lost lease. It stops short of exclusions — nothing says 'do not call this if you still hold a valid lease, use queue_heartbeat instead' — so an agent must infer the boundary from the sibling names.

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