Skip to main content
Glama

Agent Workforce

queue_complete

Agent Workforce: worker finishes its leased job with a result; repeating jobs are rescheduled automatically. Header X-Queue-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/queue/complete, $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_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultNoresult
item_idNoitem id
queue_idNoqueue id
worker_idNoworker id
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 / item_id / description
      Added value: +"item id"
    • addedInput schema / properties / queue_id / description
      Added value: +"queue id"
    • addedInput schema / properties / result / description
      Added value: +"result"
    • 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 declare a non-read-only, non-idempotent, open-world mutation, so the bar is lower. The description still adds real value: the automatic rescheduling of repeating jobs (a side effect not in annotations), the required X-Queue-Key header and where it comes from, the production endpoint, and the x402 cost. It does not warn about retry behavior despite idempotentHint=false.

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?

The core sentence is front-loaded and dense with the important facts. The closing parenthetical of authorship, free playzone, production URL, and pricing is operational boilerplate that dilutes focus but does carry some genuine context.

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 five-parameter mutation with no output schema, the definition covers the action, the automatic reschedule side effect, auth header, and endpoint/cost. Missing pieces are the result payload shape and what to do when the job should not complete, but overall it is sufficient to call correctly.

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 description coverage is 100%, so the schema already labels all five parameters. The description only reiterates the X-Queue-Key header and does not clarify which inputs are needed for a successful completion — notable given that zero parameters are marked required for a mutation.

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 concrete action and object: a worker finishes its leased job with a result, plus the distinct side effect that repeating jobs are rescheduled. That separates it in spirit from queue_fail and queue_heartbeat, though it never names those siblings explicitly.

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 by 'worker finishes its leased job with a result' — you call it on success, not on failure. But there is no explicit when-to-use/when-not guidance and no pointer to queue_fail or queue_heartbeat for the alternative outcomes, leaving the agent to infer the routing.

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