Get one queue
trigger_get_queueFetch a single queue's concurrency limit, running count and queued count. Trigger.dev: GET /api/v1/queues/{queue}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes | The queue's name or id. |
trigger_get_queueFetch a single queue's concurrency limit, running count and queued count. Trigger.dev: GET /api/v1/queues/{queue}.
| Name | Required | Description | Default |
|---|---|---|---|
| queue | Yes | The queue's name or id. |
Changes observed during successful MCP inspections.
Input schema / $schemaPrevious value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds useful content by enumerating exactly which queue metrics come back (concurrency limit, running count, queued count). It says nothing about auth, rate limits, or what happens for unknown queues, keeping it short of a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences with zero filler; what the tool returns is front-loaded before the endpoint reference.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description compensates by naming the returned fields, and the read-only nature is covered by annotations. For a single-resource GET nothing critical is missing, though error behavior for a bad queue name is unstated.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Only one parameter and schema coverage is 100%, so the schema fully documents that 'queue' accepts a name or id. The description adds no syntax or format detail beyond the structured field, making 3 the correct baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb (Fetch) plus resource (a single queue) plus the exact data returned (concurrency limit, running count, queued count). The singular 'a single queue' implicitly distinguishes it from the sibling 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: fetch one queue when you need its limits/counts, versus trigger_list_queues for the collection. No explicit when-to-use, prerequisites, or named alternative is stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.