Skip to main content
Glama

Ferrite

List a queue's dead letters

dead_letters
Read-onlyIdempotent

List a queue service's dead letters, oldest first: messages delivered as many times as the queue allows without being acknowledged, which no consumer can take and which keep their bytes against the service's volume_mib until removed. Each says its id, its attempts and its size, and for an ordered message its key, its number and whether it killed its key. total is the queue's whole count; page with after, the last id seen.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>",
      "service": "<service>"
    },
    "name": "dead_letters"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
afterNoList after this id
limitNo
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused
serviceYesThe queue service, as your spec names it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds real domain behavior: oldest-first ordering, the delivery-count condition that creates a dead letter, and that entries retain bytes against volume_mib until removed. It also discloses the per-entry return fields and the meaning of `total`, which matters since there is no output schema. Auth/rate-limit behavior on the `token` fallback is left to the 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?

Front-loaded with the action and ordering, then the definition and return shape, then pagination. Dense and mostly waste-free, though the opening sentence is long and packs definitional detail that could be split for faster scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, no-output-schema list tool, the description covers purpose, ordering, the returned fields, `total`, and the pagination cursor — the things an agent would otherwise have to guess. Remaining gaps (limit guidance, token fallback) are already handled in the schema.

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 60%, and the description adds meaning mainly for `after` ('the last id seen') and clarifies the non-parameter `total` returned count. `app`, `service`, and `limit` receive no explanation beyond the schema, so it neither compensates fully for the coverage gap nor is purely redundant.

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?

Specific verb plus resource plus scope: 'List a queue service's dead letters, oldest first', followed by a precise definition of what a dead letter is (delivered max times, unacknowledged, unconsumable, holds volume_mib). It does not name the sibling remove_dead_letters, so it falls just short of a 5 on differentiation, though 'until removed' hints at the mutation path.

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 through the pagination note ('page with `after`, the last id seen') and the fact that entries persist until removed, which hints that removal is a separate operation. There is no explicit when-to-use/when-not statement or named alternative for deleting versus listing dead letters.

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.