Skip to main content
Glama

queue

queue
Read-only

Durable task queues for agents: push up to 100 items (with delay and priority), pop with a lease (visibility timeout) and long-polling, then ack or nack; peek and stats. Private to the wallet, or shared across wallets with a secret key. $0.002 per call, items kept 14 days. Costs $0.002 USDC per call (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"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
keyNoShared secret (16+ chars) to share the queue across wallets
maxNo
itemNo
itemsNo
queueNoQueue name, default 'default'
actionNopush, pop, ack, nack, peek, stats, purge
wait_sNo
delay_sNo
receiptNo
priorityNo0-9
visibility_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior1/5

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

The annotations declare readOnlyHint=true, yet the description explicitly advertises write operations ('push up to 100 items', ack/nack, and the schema's purge action), which modify queue state. This directly contradicts the read-only annotation. The pricing and retention details it adds are genuine context, but the contradiction dominates the score.

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 purpose is front-loaded and the operation list is dense but useful. However, the pricing is stated twice in near-identical terms ('$0.002 per call' and 'Costs $0.002 USDC per call (x402)'), which is redundant filler in an otherwise tightly packed block.

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 12-parameter action-dispatch tool with no output schema and no required parameters, the description covers the lifecycle, sharing model, retention, and cost reasonably well. It still omits the purge action, never explains the id/receipt parameters needed for ack/nack, and gives no sense of what pop or stats return.

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 only 33% across 12 parameters, so the description must compensate. It does map several concepts to params — 'delay and priority' (delay_s, priority), 'lease (visibility timeout)' (visibility_s), 'long-polling' (wait_s), and 'secret key' (key) — but the mapping is loose, and id, receipt, queue, max, and purge go unexplained.

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 names the resource (durable task queues for agents) and enumerates the concrete operations: push up to 100 items, pop with a lease, ack/nack, peek, and stats. An agent can immediately tell this is a queue service. It does not, however, distinguish itself from similarly-purposed siblings such as tasks or schedule, 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?

The push → pop → ack/nack lifecycle implies when to use it, and the private-vs-shared note hints at a selection context, but there is no explicit when-to-use/when-not guidance and no alternative tool is named. Usage is only inferable from the described workflow.

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