Skip to main content
Glama

Get next available slot

queue_get_next_queue_slot
Read-only

Get next available slot

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queue_idNoSpecific queue ID (optional, defaults to profile's default queue)
profile_idYes(required)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations (readOnlyHint=true, destructiveHint=false) already disclose the safety profile, but the description adds no behavioral context on top of that — it does not say whether the slot is reserved, whether the result is stable across calls, or how it behaves when no slot exists. The description is not contradictory to the annotations, but its contribution beyond them is effectively zero.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is a single five-word sentence with no wasted words, so it is appropriately short. However, this counts as under-specification rather than genuine economy — the sentence conveys no information beyond the title, so brevity is achieved by saying almost nothing.

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?

The output schema exists, so the return shape does not need to be described, but the description omits the one thing that would make the tool actionable: what 'next available' actually means (i.e., how the slot is determined relative to the queue and current time). Neither does it clarify how this relates to profile_id vs queue_id selection, leaving agents to guess the tool's semantics even when they know how to pass the arguments.

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 the baseline is 3 even though the description text adds nothing about the parameters. queue_id is adequately described in the schema ('Specific queue ID (optional, defaults to profile's default queue)'), but the profile_id description is the tautology '(required)' — the description itself does not compensate for that weakness.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tautological: description restates name/title.

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?

The description contains zero guidance about when to call this tool versus the five other queue_* siblings (queue_create_queue_slot, queue_delete_queue_slot, queue_list_queue_slots, queue_preview_queue, queue_update_queue_slot). It does not state when this tool is appropriate, nor does it exclude alternatives (e.g., noting it does not reserve/consume the slot).

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.