Skip to main content
Glama

queue_setup_workers

Configure and launch worker processes for a specific queue, setting concurrency levels and enabling graceful shutdown to manage job execution reliably.

Instructions

Generate worker processes with concurrency control and graceful shutdown

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoAPI key for authentication
sandboxedNoWhether to run workers in sandboxed child processes
queue_nameYesQueue name the worker processes
concurrencyNoNumber of concurrent jobs
Behavior3/5

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

With no annotations, the description carries the full burden and does add some behavioral context: concurrency control and graceful shutdown describe how the generated workers behave. However, it does not disclose the tool's own side effects, authentication expectations (despite an api_key parameter), or whether it is idempotent or modifies existing worker setup.

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 a single, front-loaded sentence that communicates the core action and two meaningful behavioral characteristics in about ten words. Every word earns its place; there is no filler.

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?

For a tool that sets up workers, the description is too thin to be fully actionable: it omits what 'setup' produces, what framework or queue system it targets, whether existing files/processes are changed, and what the agent should expect as a result. The parameter schema is strong, but the description does not supply the operational context needed to invoke the tool confidently among many similar siblings.

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 coverage is 100%, so the schema already describes all four parameters, including defaults for concurrency and sandboxed. The description adds little beyond using the vague phrase 'concurrency control' to hint at the concurrency parameter, so it stays at the baseline.

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 states a concrete action ('Generate') and a specific resource ('worker processes'), with two functional qualifiers (concurrency control, graceful shutdown). It is not a tautology, but it does not distinguish this tool from sibling tools like queue_setup_bullmq or jobq_setup_workers.

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?

There is no guidance on when to choose this tool over the many worker-related siblings, and no exclusions or preconditions are mentioned. The only usage signal is the action itself, leaving the agent to guess when queue_setup_workers is preferred.

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/barnburner121/claude-plugin-marketplace'

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