Skip to main content
Glama

Set an account's queue priority

set_user_queue_priority
Idempotent

Adjust one account's job queue priority by setting fair-share points, moving future jobs ahead of or behind others; use null to restore the default plan.

Instructions

Admins only: move one account's jobs ahead of (or behind) others. priority is points on each job's fair-share priority, one point per job of backlog (-20 to 20; negative holds the account back); null follows the plan again (hosted: paid plans rank ahead of Free). Applies to jobs queued from now; jobs already waiting keep their place. get_queue shows owners with the priority in force. Returns { ok, queuePriority }.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "userId": "<userId>",
      "priority": "<priority>"
    },
    "name": "set_user_queue_priority"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYesAccount id (from list_users or get_queue owners)
priorityYesPoints, or null to follow the plan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.45.3

TDQS

A4.3/5.0
Behavior4/5

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

The only annotation is idempotentHint, so the description carries most of the burden, and it does: admin gating, forward-only effect on queued jobs, and the null reset behavior including the hosted-plan default. It does not discuss whether the change is reversible beyond setting null, or any audit/rate-limit implications, which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical constraints (admin-only, forward-only effect) are front-loaded and every sentence carries information, including the return shape. The nested parentheticals around range and hosted-plan defaults make it slightly dense to parse, but nothing is filler.

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 two-parameter mutation with no output schema, the description covers audience, effect scope, value semantics, and the return shape { ok, queuePriority }, which is enough to call it correctly. Missing only edge behavior such as invalid userId handling or whether the response reflects the effective priority.

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?

Schema coverage is 100%, so a 3 is the baseline, but the description earns more by explaining what 'priority' actually means (points on each job's fair-share priority, one point per backlog job) and what negative values and null do. userId gains only the pointer already present in the schema.

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?

The description opens with a specific verb and resource: 'move one account's jobs ahead of (or behind) others', plus the admin-only audience. That is immediately distinguishable from the sibling get_queue, which only reads priority state.

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?

It states the caller restriction ('Admins only') and the temporal scope ('applies to jobs queued from now; jobs already waiting keep their place'), and points at get_queue for inspecting the resulting priority. It stops short of explicit when-not-to-use or alternative-tool routing, so it is clear context without full exclusion guidance.

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