Skip to main content
Glama

list_dlq

Read-onlyIdempotent

Retrieve a channel's dead-letter queue of agent runs stopped for exceeding budget, newest first. Use it to triage failures by retrying, raising the budget, or giving up.

Instructions

A channel's agent-work dead-letter queue — runs stopped for exceeding their budget, newest first. Triage these (retry, raise the budget, give up).

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": {
      "channel_id": "<channel_id>"
    },
    "name": "list_dlq"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoclamped 1..=200
channel_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and closed-world, so safety is covered without the description. The description adds genuine context beyond that — that these are budget-terminated runs and that ordering is newest-first — but says nothing about whether the list is truncated or how limit interacts with truncation.

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?

Two short sentences, front-loaded with the resource definition, then the triage action. No redundant or filler wording.

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 simple read-only list tool with full annotations this is close to adequate, but with no output schema the description should say what an entry looks like or whether the 50-item default means results can be truncated. An agent cannot tell from the definition whether it has seen the whole queue.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: limit is documented inline ("clamped 1..=200") while channel_id carries only a uuid format hint. The description compensates by framing the result as "a channel's" queue, making the scoping role of channel_id clear; limit's meaning remains schema-only, which is acceptable given the inline note.

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 a concrete resource — a channel's agent-work dead-letter queue — and defines it operationally ("runs stopped for exceeding their budget"), which separates it from generic list_* siblings like list_blocked_threads or list_active_claims. It stops short of an explicit verb, but the scope and content are unambiguous.

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?

"Triage these (retry, raise the budget, give up)" gives post-retrieval guidance but not when-to-call guidance; nothing says when to prefer this over another list tool or what preconditions (e.g., channel exists, agent-work enabled) apply. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools