Skip to main content
Glama

Acknowledge queue messages (deletes them)

queue_ack
DestructiveIdempotent

Done: the messages of these leases are deleted. A lease that ran out and was claimed again is listed in lost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queueYesQueue name: 1 to 64 characters from a-z 0-9 . _ -.
leasesYesLeases from queue_claim.
instance_idYesUtility instance id from buy or list_utilities.
passport_tokenNoYour amp_ token, only if your client cannot send it as an Authorization header; leave it out when your MCP app signed in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the deletion profile is covered structurally. The description adds genuine non-obvious behavior: leases that expired and were re-claimed appear in a "lost" list, which is not derivable from annotations or schema.

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?

Two short sentences with no waste. It is slightly weakened by the odd front-loaded "Done:" framing, which reads as a return-value note rather than a front-loaded statement of 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?

With no output schema, the mention of the "lost" list usefully documents part of the return value, and annotations cover the destructive/idempotent profile. Still, nothing is said about failure modes (e.g., invalid or already-acked leases) or what a successful ack returns beyond the lost case.

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 the schema already documents queue, leases, instance_id, and passport_token. The description adds no format, limit, or origin detail beyond what the schema states, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the effect of the operation ("the messages of these leases are deleted"), which lets an agent infer that acknowledging removes messages. However, it is phrased as a response summary ("Done:") rather than a description of what the tool does, and it never distinguishes queue_ack from siblings like queue_nack, queue_claim, or queue_dead.

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

Usage Guidelines2/5

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

There is no guidance on when to acknowledge versus nack, extend, or requeue a lease. No prerequisites or conditions are stated, so the agent must infer usage entirely from the queue_* naming family.

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