Skip to main content
Glama
grandMA2 MCP
by drohi-r

check_pool_availability

Check which slots are free or occupied in an object pool before importing XML, and find contiguous free ranges for bulk imports of filters or MAtricks.

Instructions

Check which slots are occupied and free in an object pool (SAFE_READ).

Navigates to the pool, lists all entries, and computes a full
availability map: occupied slots (with names), free ranges,
next 10 free slots, and contiguous-block analysis.

Use this **before importing XML** to verify target slots are free,
or to find the best slot range for bulk imports (filters, MAtricks).

Valid pool types (case-insensitive):
  Group, Sequence, Preset, Macro, Effect, Gel, World, Filter,
  Form, Timer, Layout, Timecode, Agenda, UserProfile, Camera,
  MAtricks, View, Remote

Numeric cd indexes also accepted (e.g. "13" for Macros, "19" for Filters).

Args:
    pool_type: Pool keyword or numeric cd index.
    start_from: First slot number to check (default 1).
    scan_up_to: Last slot number to check (default 200).
    needed_slots: If set, checks whether N contiguous free slots
        exist and returns can_fit + suggested_start.

Returns:
    str: JSON with occupied_slots, free_ranges, next_free_slots,
         total_occupied, total_free_in_range, largest_contiguous,
         can_fit, suggested_start, risk_tier.

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

Input Schema

NameRequiredDescriptionDefault
pool_typeYes
scan_up_toNo
start_fromNo
needed_slotsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/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 full burden; it self-declares SAFE_READ and describes the read-only enumeration and computation path, which is meaningful behavioral context. It does not cover permission requirements, performance cost of scanning up to 200 slots, or side effects (none expected), leaving modest gaps.

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?

Front-loaded with the one-line purpose, then usage, then the valid-value list, then params. The Returns block largely restates the existing output schema and could be trimmed, and the pool-type list is long but justified since the schema has no enum.

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?

For a four-parameter read tool with an output schema, the description covers purpose, use cases, every parameter, and the full valid value set. Nothing an agent needs to call it correctly is missing.

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: pool_type gets a complete 18-value enumeration plus numeric cd index fallback, start_from and scan_up_to get their meaning and defaults, and needed_slots gets conditional behavior (returns can_fit + suggested_start). This is meaning an agent could not obtain from the bare schema.

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 slots are occupied and free in an object pool') and adds scope detail (full availability map: occupied, free ranges, next 10 free slots, contiguous-block analysis). It does not explicitly contrast itself with the sibling check_pool_slot_availability, so the reader must infer the single-slot vs full-map distinction from the wording alone.

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 concrete when-to-use scenarios: verify target slots are free before importing XML, or find the best slot range for bulk imports involving filters and MAtricks. It lacks any explicit when-not guidance or a named alternative for single-slot lookups.

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