Skip to main content
Glama

Queue summary

get_queue
Read-only

Monitors admin queue workload and pickup speed across stages, showing waiting/running/retrying counts, oldest wait, pickup latency, top owners, and active jobs.

Instructions

Admins only: how much work is queued and how fast it is picked up. queues: per stage, waiting/running/retrying, oldestWaitingAt, pickup { started, p50Sec, p95Sec, maxSec } over the last pickupWindowMinutes; pickup: all stages. owners: top 20 accounts with work queued, with plan and priority. active: running, then waiting in pickup order. Returns { queues, pickup, pickupWindowMinutes, owners, ownersTruncated, active, truncated, error? }. Set priority with set_user_queue_priority. Hosted non-admins are refused.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.17.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest: it discloses the admin-only auth requirement, the hosted non-admin refusal, the pickupWindowMinutes time window, truncation indicators (ownersTruncated, truncated), and an optional error field. That is substantial behavioral context beyond the annotation, though it says nothing about cost or rate limits.

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?

It is front-loaded with the access constraint and the core purpose, and the remaining clauses are dense field enumerations that each convey distinct information. The telegraphic style ('pickup: all stages') is efficient rather than padded, though slightly compressed for easy parsing.

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

Completeness5/5

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

With no input parameters and no output schema, the description fully specifies the return object shape, per-section contents, ordering ('running, then waiting in pickup order'), and truncation flags. An agent can decide and call without further information.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; baseline applies. The window used for pickup statistics is described as a fixed server-side setting surfaced in the response, which is the relevant semantic and is covered.

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 specific read operation ('how much work is queued and how fast it is picked up') over a named resource, and enumerates the sections returned (queues, pickup, owners, active). It is clearly distinguishable from the mutation sibling set_user_queue_priority, which it names.

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?

Access conditions are explicit ('Admins only', 'Hosted non-admins are refused'), and the description routes the related write action to set_user_queue_priority. It stops short of stating when an agent should prefer this over other read tools such as get_instance_settings, but the audience restriction is a clear selector.

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

Deploy Server

Other Tools