Skip to main content
Glama
Yusufihsangorgel

queue-inspector-mcp

List jobs

list_jobs
Read-only

Retrieve paginated jobs from a queue by state. Provides id, type, attempts, and truncated last error for each job.

Instructions

List jobs in a given state (paged). Returns id, type, attempts and a truncated last error. Valid states depend on the backend: asynq uses pending/active/scheduled/retry/archived/completed; bullmq uses waiting/active/delayed/prioritized/waiting-children/paused/completed/failed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum jobs to return.
queueYesQueue name, as reported by list_queues.
stateYesState to list, e.g. "failed" (bullmq) or "archived" (asynq).
offsetNoNumber of jobs to skip.
backendNoWhich backend owns the queue. Optional when the queue name is unique across backends.
Behavior4/5

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

Annotations declare readOnlyHint=true; the description adds that results are paged and include id, type, attempts, and a truncated last error. This provides behavioral context beyond the annotation, such as truncation behavior.

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?

The description is two sentences: the first states the core purpose, the second adds backend-specific state details. It is front-loaded and contains no extraneous information.

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

Completeness4/5

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

Given 5 parameters and no output schema, the description covers the return fields and pagination hint. It is sufficient for a list tool, though it could mention default sorting or ordering, but not necessary.

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 100%, so baseline is 3. The description adds value by enumerating backend-specific states and clarifying the optionality of the backend parameter. This supplements the schema descriptions.

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

Purpose5/5

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

The description clearly states the tool lists jobs filtered by state, with pagination. It specifies the verb (list), resource (jobs), and scope (by state, paged). It uniquely distinguishes from sibling tools like delete_job or get_job.

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

Usage Guidelines4/5

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

The description provides explicit valid states for each backend, guiding proper use. It does not include explicit when-not-to-use or alternatives, but the context is clear enough for correct invocation.

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/Yusufihsangorgel/queue-inspector-mcp'

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