Skip to main content
Glama
adamhancock

BullMQ MCP Server

by adamhancock

query_dead_letter_queue

Query failed jobs stored in a dead letter queue with optional name filtering and result limit for inspection.

Instructions

Query jobs in the dead letter queue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax number of jobs to return
dlqKeyNoDead letter queue Redis keydlq:failed_jobs
jobNameNoFilter by job name (optional)
Behavior2/5

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

No annotations are provided, so the description carries full burden. It does not disclose whether the operation is read-only, any side effects, pagination behavior, or return format. The agent is left uninformed about what to expect from the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is a single sentence, which is concise but lacks structure. It does not waste words, but it is too short to convey critical usage details. Important information like parameter purpose or return type is missing, making it insufficiently front-loaded.

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

Completeness2/5

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

Given the tool has 3 parameters, no output schema, and no annotations, the description is incomplete. It does not explain the return format, default behavior (e.g., limit=10), or how it relates to sibling tools like move_failed_jobs_to_dlq. The agent lacks context for effective use.

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?

All three parameters (limit, dlqKey, jobName) have descriptions in the input schema (100% coverage). The tool description adds no additional semantic information beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 uses 'query jobs in the dead letter queue', which clearly identifies the resource (dead letter queue) and the action (query). It differentiates from siblings like get_jobs (likely main queue) and get_job (single job), though the verb is generic.

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?

No guidance on when to use this tool vs alternatives such as get_jobs or get_job. It does not state that this is for dead letter jobs specifically (though implied), nor does it provide context about prerequisites or when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamhancock/bullmq-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server