Skip to main content
Glama
gma3-mcp

gma3-mcp

by nf-s

Used and free pool numbers

gma3_pool_usage

Check which numbers a grandMA3 show already uses per pool before storing objects. Returns stored counts, used number ranges, names, and the first free block of a given size.

Instructions

Read-only: which numbers a show already uses, per pool, before you store into it. For each pool: stored (the number of stored objects), used (their numbers as ranges, "1-11, 5001-5534"), with names: true [no, name] pairs, and with free: {size, from?} the first free block of that size ("21-40"; null when there is none up to 9999 or the read is incomplete). Pools: DataPool pools by name ("Groups", "Sequences", "Macros", "MAtricks", "Timecodes", "Layouts", ...); a preset pool as "Preset 4" or in preset_pools (stored presets, not the pool's 1000 slots); "PresetPools" (every preset pool as [no, name, stored, used]); "Page 2" (its executors with an assigned object as [no, class, name]; covered: the numbers a wider executor (Width > 1) spans, never free; an assignment that cannot be read (an invalid handle, or a read that raised: bridge 0.47.0) is listed as unreadable and makes the page incomplete; free searches one row: 101-198, 201-298, 301-390, 401-490, from 101 by default); "Pages" (every page as [no, name, executors used, used]). Every pool is read to its end page by page; complete: false with reason (keeping what was read) when a read fails, the console cannot list the children, the pool changes during the read or an object has no number (an executor without a readable No); free blocks are offered only from complete reads and need bridge 0.47.0 (with an older bridge unconfirmed says why and free is null); the call is an error only when no pool could be read at all. Ranges such as "Page 1.101 Thru 1.115" are not accepted (executor ranges can hang onPC). Use this instead of gma3_objects "Macro Thru" or a Lua walk of the pools.

Input Schema

NameRequiredDescriptionDefault
freeNoFind the first free block of size numbers in each pool.
namesNoAlso list [no, name] per stored object (default false).
poolsNoPools to read: "Groups", "Sequences", "Macros", "MAtricks", "Timecodes", "Layouts" (any DataPool pool name), "Preset 4", "PresetPools", "Page 2", "Pages".
data_poolNoData pool number (DataPool n). Default: the current data pool, as without this parameter.
preset_poolsNoPreset pool numbers, e.g. [1, 4, 21] (the same as "Preset 1", ... in pools).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: it discloses the complete:false/partial-read contract, that free blocks are only offered from complete reads, that older bridges (<0.47.0) return unconfirmed with free=null, that the call errors only when no pool is readable, and that unreadable executor assignments mark a page incomplete. These are exactly the failure modes an agent needs before relying on the output.

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?

Nearly all content is substantive and the purpose is front-loaded, but it is delivered as a single dense block of semicolon-chained clauses with nested parentheses, which makes the partial-read and free-block rules hard to extract on first read. No sentence is truly wasted, but the structure works against quick scanning.

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 five-parameter tool with nested objects and no output schema, the description supplies the return shape, per-pool semantics, failure modes, version gating, and default search behavior. An agent has enough to decide whether and how to call it without consulting anything else.

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 the baseline is 3, but the description adds real meaning beyond the schema: it explains the shape of the response per parameter (used as compressed ranges '1-11, 5001-5534', with names as [no, name] pairs, with free as {size, from?} capped at 9999), clarifies that preset_pools is equivalent to 'Preset n' in pools, and describes Page's one-row free search (101-198, 201-298, ...). It does not explain data_pool's effect beyond the schema's default note.

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?

Opens with a specific verb and resource: 'Read-only: which numbers a show already uses, per pool, before you store into it.' It enumerates the pools it covers (DataPool, presets, PresetPools, Page n, Pages) and explicitly distinguishes itself from gma3_objects and a Lua walk, so an agent can separate it from gma3_pool and gma3_list_children.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the operative moment ('before you store into it') and names the alternatives to avoid: gma3_objects 'Macro Thru' and a Lua pool walk. It also warns that 'Page 1.101 Thru 1.115' ranges are not accepted, which is a concrete when-not rule an agent could otherwise trip over.

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