Skip to main content
Glama

acquire_slot

Acquire a task-owned phase lease around heavy commands; when blocked, returns queued immediately so retry the same name every two seconds to observe a grant. Release lease_id on every exit.

Instructions

Acquire a task-owned phase lease around heavy commands. Returns queued immediately when blocked; retry the same name every two seconds to observe a grant. Queue budget is 0..21600 seconds, never a held-lease timeout. Release lease_id on every exit, including queued exits. Phase slots require human enable and a verified task caller; they never borrow ancestor holds. Disabled layout returns error data.code phase_slots_not_enabled; other refusals remain distinct.

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": {
      "name": "<name>"
    },
    "name": "acquire_slot"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and discloses a lot: immediate queued returns when blocked, retry cadence, queue budget range, release obligations, prerequisites, and a specific error code. Some behavior remains underspecified, especially how wait_seconds interacts with queueing and lease lifetime, so it is strong but not exhaustive.

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 description front-loads the purpose, then efficiently packs queue behavior, lifecycle obligations, prerequisites, and error handling into a few sentences with no filler. Some clauses are dense and could be separated for readability, but every sentence carries useful information.

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?

An output schema exists, so return-value details are not required in the description. For a moderately complex lease-acquisition tool with no annotations, the description covers the key operational context: queueing, retry, release, prerequisites, and failure mode. The remaining gap is parameter semantics, but the overall operational picture is mostly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for both parameters. It mentions 'name' only as the retry identity and gives a queue budget range, but it never defines what name represents or explicitly maps wait_seconds to that budget versus a blocking wait. This is insufficient compensation for undocumented parameters.

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 starts with a specific verb and resource: 'Acquire a task-owned phase lease around heavy commands.' This clearly separates acquisition from release/status behavior. It does not explicitly name sibling tools such as release_slot or slot_status, so it stops short of full sibling differentiation.

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 gives clear usage context: use around heavy commands, retry the same name every two seconds when queued, and release lease_id on every exit. It also states prerequisites: human enable and a verified task caller. It does not explicitly state when not to use it or which sibling to use for status checks, so it is not a 5.

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