This record as markdown: /tools/adamhancock-bullmq-mcp/pause-queue.md
What pause_queue does on BullMQ MCP Server
AI agents invoke pause_queue to trigger actions in BullMQ MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
Why pause_queue is rated High
Pausing a queue halts job processing, which is an operational state change that affects external systems (Redis-based job queues). It is not a simple data read or write, but an action that triggers a change in system behavior. It is not destructive (reversible by resuming), not financial, and not just a data mutation — it executes a control operation on the queue.
From the tool's definition pause_queue: Pause queue processing
Attacks that exploit this kind of access
The rule that runs pause_queue safely
PolicyLayer is an MCP gateway: it sits between your AI agents and BullMQ MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For pause_queue, this is the rule to start with:
pause_queue stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect BullMQ MCP Server, apply this rule, and every pause_queue call is checked against it from then on.
Questions about pause_queue
Pause queue processing. It is categorised as a Execute tool in the BullMQ MCP Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the BullMQ MCP Server MCP server in PolicyLayer and add a rule for pause_queue: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches BullMQ MCP Server. Nothing to install.
pause_queue is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the pause_queue rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for pause_queue. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
pause_queue is provided by the BullMQ MCP Server MCP server (adamhancock/bullmq-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on BullMQ MCP Server, and thousands of servers like it.
Across the catalogue