Skip to main content
Glama

trigger-dev

Pause or resume a queue

trigger_pause_queue
Destructive

Pause a queue so its runs stop being dequeued, or resume it. The containment move when a task is failing in a loop. Trigger.dev: POST /api/v1/queues/{queue}/pause.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queueYesThe queue's name or id.
pausedYestrue to pause, false to resume.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations supply only destructiveHint=true; the description usefully clarifies the mechanism (dequeue stops) and implies reversibility via 'resume it'. But it omits key behavioral detail for a pause operation, such as what happens to already-running/in-flight runs and whether pause is idempotent.

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?

Three short sentences, front-loaded with the action and effect; the containment-use framing is placed early. The trailing API endpoint line is mildly redundant with the title but still informative.

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?

For a simple two-parameter toggle tool with no output schema and minimal annotations, the description covers purpose, effect, and a use case adequately. The remaining gap—impact on in-flight runs—is minor but would be worth adding.

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?

Schema description coverage is 100%, so both parameters are already fully documented, including the true=pause/false=resume mapping. The description adds no syntax or format information beyond the schema, so the baseline 3 applies.

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?

States a specific verb (pause) on a specific resource (queue) with the concrete effect ('runs stop being dequeued'), and explicitly covers the inverse operation (resume). It is clearly distinguishable from siblings like trigger_get_queue and trigger_list_queues.

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?

Gives a concrete when-to-use scenario: 'the containment move when a task is failing in a loop.' However, it offers no exclusions or named alternatives (e.g. cancel_run vs pause), so the agent must infer the boundary conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.