Skip to main content
Glama

AI SENSE Free Public Tools

Release agent queue job

release_agent_queue_job
Destructive

Return a claimed job to pending using the worker token and its current receipt. On the fifth claim it becomes failed. The receipt is invalidated. Stale receipts conflict.

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id of the claimed job.
receiptYesThe receipt from the current claim. A newer claim or a release makes it stale.
queue_idYesThe queue_id from create_agent_queue, or from create_agent_run for a run with delegated steps.
worker_tokenYesThe worker_token from create_agent_queue or create_agent_run, shown once. It claims jobs and acknowledges, renews or releases them.

Output Schema

NameRequiredDescriptionDefault
okYes
jobYes
queue_idYes
expire_timestampYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / job_id / description
      Added value: +"The job_id of the claimed job."
    • addedInput schema / properties / queue_id / description
      Added value: +"The queue_id from create_agent_queue, or from create_agent_run for a run with delegated steps."
    • addedInput schema / properties / receipt / description
      Added value: +"The receipt from the current claim. A newer claim or a release makes it stale."
    • addedInput schema / properties / worker_token / description
      Added value: +"The worker_token from create_agent_queue or create_agent_run, shown once. It claims jobs and acknowledges, renews or releases them."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the receipt is invalidated by the call, stale receipts produce a conflict, and repeated claims escalate to a failed state on the fifth claim — all of which matter for a destructive, non-idempotent operation.

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?

Four short sentences, front-loaded with the core action and effect, no filler. A couple of telegraphic fragments ('The receipt is invalidated. Stale receipts conflict.') are dense but still parse cleanly.

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 destructive, strictly-validated four-parameter mutation with an output schema, the description covers the failure and conflict semantics an agent needs before calling. Minor gaps remain around whether the worker immediately loses the job and what a conflict response looks like, but the output schema carries the return side.

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 all four parameters are already documented, including the receipt-staleness note and the worker_token's provenance. The description adds only the relational detail that the token and receipt must be the current pair, which is marginal beyond the schema baseline.

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 and resource: 'Return a claimed job to pending using the worker token and its current receipt.' An agent can distinguish this from claim_agent_queue_job, ack_agent_queue_job, and renew_agent_queue_job without opening any schema, since those do not return a job to pending.

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 semantics of returning a job to pending, and the fifth-claim failure rule hints at retry behavior, but the description never explicitly contrasts this with ack_agent_queue_job (terminal success) or renew_agent_queue_job (extend the claim). The agent must infer when to release versus acknowledge.

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.