Skip to main content
Glama

Agent Workforce

queue_fail

Agent Workforce: worker reports failure; the job retries until max_attempts, then goes dead. Header X-Queue-Key. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/queue/fail, $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_fail"
  }
}

Input Schema

NameRequiredDescriptionDefault
retryNoretry
reasonNoreason
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. Changed5 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 / reason / description
      Added value: +"reason"
    • addedInput schema / properties / retry / description
      Added value: +"retry"
    • addedInput schema / properties / worker_id / description
      Added value: +"worker id"
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (not read-only, not destructive, not idempotent, open-world), so the description's job is to add context — and it does: retry-until-max_attempts then dead-lettering, a required X-Queue-Key header, and a per-call cost ($0.002 via x402) plus the production endpoint. This is meaningful behavior beyond the annotations. It does not say what auth/credential setup is needed to obtain the queue key or whether repeated calls on the same item are safe, keeping it at 4.

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 core behavior is front-loaded in the first clause, which is good. However 'By OMENZ' and the AYNE 'free playzone' framing are branding rather than task guidance, and the production URL/pricing parenthetical, while relevant, is crammed into the same breath as the purpose.

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 6-parameter mutation with no output schema, the description covers the important failure/retry consequence and the credential header, which is the hard part. But it leaves the semantics of retry, reason, item_id, and worker_id entirely to a schema that only repeats the field names, so an agent cannot tell what a correct call looks like.

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 baseline is 3, but the schema's own descriptions are pure restatements ('retry', 'reason', 'item id'), leaving no real meaning for those fields. The description only clarifies x_queue_key (returned by create, sent as a header). Whether 'retry' is a boolean override or a count is never resolved.

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 action and its consequence: a worker reports failure, the job retries until max_attempts, then goes dead. That is a clear verb+resource with lifecycle semantics. It does not explicitly distinguish itself from siblings like queue_complete or queue_escalate, so it stops short of a 5.

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: an agent can infer this is the terminal-failure call a worker makes after an unsuccessful attempt. There is no explicit when-not guidance and no mention of queue_escalate or queue_complete as the alternative path for a job that cannot succeed.

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