Skip to main content
Glama

AI SENSE Free Public Tools

Renew agent queue job

renew_agent_queue_job

Move the active claim deadline using the worker token and current receipt. Visibility accepts 30-900 seconds, defaults to 60 seconds and is capped by the original queue expiry. A stale or expired receipt is a conflict. Queue lifetime is never extended.

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.
visibility_timeoutNoClaim visibility in seconds, capped by the fixed queue expiry.

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

A4.2/5.0
Behavior4/5

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

Annotations only declare write, non-idempotent, non-destructive, closed-world; the description adds real substance with the 30-900s range, the 60s default, the cap at the original queue expiry, conflict semantics for stale receipts, and the explicit guarantee that queue lifetime is not extended. The main remaining gap is whether a successful renewal rotates or preserves the receipt, which matters given 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action, then the constraint, then the failure mode, then the invariant. No filler and nothing buried.

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 non-idempotent mutation with full schema coverage, annotations, and an output schema, the description covers limits, defaults, failure, and invariants well. The one unresolved point an agent would want is post-renewal receipt validity, which the output schema may cover but the description leaves unstated.

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 every parameter is already documented, including the visibility_timeout bounds and default. The description largely restates the visibility constraints and adds only light framing around the worker token and receipt being the credentials for the call.

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: move the active claim deadline, using the worker token and current receipt. This clearly separates it from acquire/claim (initial claim), release_agent_queue_job (give up), and renew_lease (a different lease subsystem).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies the correct usage context (you hold an active claim with a receipt) and states the failure condition: a stale or expired receipt is a conflict. It does not explicitly name the alternative tools for other lifecycle stages, so an agent must infer that claim/release are the siblings for those cases.

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.