Skip to main content
Glama
BullMQ Failed Job Inspector

BullMQ Failed Job Inspector

list_failed_jobs

Read-only

Retrieve a BullMQ queue's retained failed jobs, newest first, to inspect failure reasons, retry attempts, and timestamps through a read-only MCP client connection.

Instructions

List the configured BullMQ queue's retained failed jobs, newest first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_failed_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo

Output Schema

NameRequiredDescriptionDefault
jobsYes
limitYes
offsetYes
queue_nameYes
next_offsetYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine context beyond that: the results are failed-and-retained jobs, ordered newest first. It omits pagination/truncation behavior and whether the page reflects a live snapshot, which matter for a paged list.

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?

A single tight sentence with the resource and the ordering front-loaded; nothing is wasted. Brevity is slightly overdone given the unexplained pagination, but there is no filler.

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?

A read-only list tool with an output schema and safety annotations needs little prose, and the description covers purpose and ordering. It is still incomplete on pagination semantics, which is the one thing an agent must get right to page through failed jobs.

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

Parameters2/5

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

Schema description coverage is 0% and the description says nothing about the two parameters. Pagination is the main semantic question for a list tool (limit default 20, max 100, offset for paging), and the description neither mentions paging nor how results are bounded, so it fails to compensate for the coverage gap.

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?

States a specific verb (List) and resource (the configured BullMQ queue's retained failed jobs) plus an ordering guarantee (newest first). That is more precise than a generic 'list jobs', though there are no siblings to differentiate from and the description does not clarify what 'retained' means in terms of count or retention window.

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?

The description never says when to reach for this tool, what it excludes (e.g. active/completed jobs), or any prerequisites such as queue configuration. The only implicit signal is that it is for inspecting failures, which the agent must infer.

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