Skip to main content
Glama

hub_queue_ack

Confirm a delivered queue block was processed, not just read, by moving it from delivered to acked so senders can distinguish handled work from abandoned reads.

Instructions

Confirm that a delivered queue block was processed, not just read. Without this, a zombie session that reads a block and dies looks exactly like a processed one — the sender sees pending=0 but gets no reply. Ack moves the block from "delivered" to "acked" so the sender can distinguish the two. Call this after you have acted on the block — the ack is your proof of work, and the sender can poll for unacked blocks.

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": {
      "role": "<role>"
    },
    "name": "hub_queue_ack"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoblock id — the `· id` in the delivered block header, as "pine-12"; a bare number for a block from before 0.9.54
idsNoseveral block ids at once, e.g. every block a turn handled; with or instead of id
roleYesthe role whose queue the block was delivered to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.9.91
    • addedInput schema / properties / ids
      Added value: +{
      +  "description": "several block ids at once, e.g. every block a turn handled; with or instead of id",
      +  "items": {
      +    "type": [
      +      "string",
      +      "integer"
      +    ]
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "role",
      -  "id"
      -]New value: +[
      +  "role"
      +]
  2. Addedv0.9.88

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does well on the core behavior — the state transition, the zombie-session failure mode, and that senders can poll for unacked blocks. It is silent on what happens when the id is unknown, already acked, or owned by another role, and on error/idempotency behavior for a state-mutating call.

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?

Front-loads the purpose, then justifies it with the zombie-session failure mode, then gives the call timing. The 'proof of work' phrasing is slight flourish but reinforces the concept; otherwise there is no wasted sentence.

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?

For a state-changing tool with no annotations and no output schema, the description covers why it exists, when to call it, and what state changes. The remaining gap is return/error semantics — with no output schema, the agent cannot know what a successful ack returns or how failures surface.

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 id, ids, and role are already documented with format examples and the pre-0.9.54 bare-number case. The description adds no further parameter meaning — it never mentions the batch 'ids' path or what role implies. Baseline 3 is appropriate.

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 verb+resource: confirming a delivered queue block was processed rather than merely read. The delivered→acked state transition is named explicitly, which distinguishes it from the read-side siblings like hub_queue_wait without needing to open any schema.

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 clear timing guidance — 'Call this after you have acted on the block' — and explains the consequence of omitting it (sender sees pending=0 but no reply, zombie sessions indistinguishable). It doesn't name a specific sibling alternative, but the read-vs-processed contrast functionally covers the main routing decision.

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