Skip to main content
Glama
grandMA2 MCP
by drohi-r

check_pool_slot_availability

Check which pool slots in a range are empty or occupied before bulk imports, PSR, or mass preset creation to prevent silent overwrites. Read-only and safe to run anytime.

Instructions

Check which pool slots are available (empty) and which are occupied in a range.

Pre-flight check before bulk import, PSR, or mass preset creation to prevent
silent overwrites. Safe to run at any time — read-only.

Args:
    pool_type: "sequence", "preset", "group", "macro", "effect", "world",
               "filter", "view", "layout", "timecode"
    slot_range_start: First slot ID to check (inclusive).
    slot_range_end: Last slot ID to check (inclusive).

Returns JSON with:
- pool_type: str
- range: [start, end]
- occupied: list of {slot_id, label} for occupied slots
- available: list of slot_ids that are empty
- first_available_block_of_10: smallest contiguous block of 10 empty slots

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": {
      "pool_type": "<pool_type>",
      "slot_range_start": "<slot_range_start>",
      "slot_range_end": "<slot_range_end>"
    },
    "name": "check_pool_slot_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
pool_typeYes
slot_range_endYes
slot_range_startYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden and does so with 'Safe to run at any time — read-only', plus the risk it guards against (silent overwrites). It does not cover error behavior for invalid pool types or out-of-range slot IDs, which is the main remaining gap for a no-annotation tool.

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?

Purpose and prerequisite are front-loaded, then Args, then Returns — a clean structure. The 'Returns JSON with:' block largely restates the output schema that already exists, so those lines are weaker value than the rest.

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?

Covers purpose, preconditions, all three parameters, and the result shape, which is ample for this three-parameter read tool. It loses a little by duplicating the output schema and omitting failure modes such as an unrecognized pool_type.

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

Parameters5/5

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

Schema coverage is 0% and the description fully compensates: it enumerates the ten valid pool_type values (no enum exists in the schema) and defines slot_range_start/end as inclusive slot IDs. This is meaning the agent cannot get from the schema alone.

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?

States a specific verb and resource ('Check which pool slots are available... and which are occupied') scoped to a range, which is enough to distinguish it from a whole-pool check. It never names the sibling check_pool_availability, so differentiation is implied by 'in a range' rather than explicit.

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?

Gives a concrete usage context: pre-flight check before bulk import, PSR, or mass preset creation to prevent silent overwrites. It does not state when to use a broader alternative like check_pool_availability instead, but the context of use is clear.

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