Skip to main content
Glama

OMENZ agent tools

queue_claim

Agent Workforce: a worker claims the highest-priority ready job and gets a LEASE (it is now responsible). Expired leases come back with the last checkpoint so a replacement can resume. Header X-Queue-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/queue/claim, $0.001 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_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
queue_idNo
worker_idNo
x_queue_keyNothe key returned by create (sent as a header on HTTP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does real work: it discloses that claiming creates a lease with responsibility, that expired leases are re-claimable with a checkpoint, that an X-Queue-Key header is required, and that the production endpoint costs $0.001 via x402 while MCP calls run free in AYNE. It does not state lease duration, whether repeated claims are idempotent, or failure behavior, which keeps it from a 5.

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 action and lease semantics are front-loaded in the first two sentences, and the parenthetical endpoint/pricing note is genuinely useful operational context. Minor waste from "By OMENZ." and some redundancy between "Header X-Queue-Key" and the schema description.

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?

For a three-parameter mutation-like tool with no annotations and no output schema, the description should explain what a claim returns (job payload, lease token, checkpoint format). It covers the conceptual behavior and environment but leaves the response shape and lease lifecycle details underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% – only x_queue_key has a description – and the description does not compensate: it merely restates "Header X-Queue-Key" without explaining the queue_id or worker_id parameters, their expected format, or whether worker_id must be pre-registered. An agent must guess at two of the three inputs.

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 gives a specific verb and resource ("a worker claims the highest-priority ready job") plus the essential outcome ("gets a LEASE (it is now responsible)"), which lets an agent distinguish claiming from bidding, awarding, or completing in the sibling set. It stops short of naming an explicit alternative, but the selection rule (highest-priority ready job) is concrete enough to act on.

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 the workforce framing: a worker calls this to take on work, and "expired leases come back with the last checkpoint so a replacement can resume" hints at the recovery scenario. There is no explicit statement of when not to call it, what to call instead (e.g. queue_bid vs queue_award), or prerequisite steps before claiming.

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