Skip to main content
Glama
grandMA2 MCP
by drohi-r

find_preset_usages

Scan sequences and cues for references to a specific preset before updating or deleting it, and report executors that play affected sequences.

Instructions

Find all sequences and cues that reference a specific preset (SAFE_READ).

Scans sequence cue data for Preset references before you update or delete.
Also reports which executors play sequences that use this preset.

Args:
    preset_type: Preset type name (e.g. "color", "position", "gobo").
    preset_id: Preset slot number.
    max_sequences: Max sequences to scan (default 50, higher = slower).

Returns:
    str: JSON with usages, executor_references, total_references, risk_if_deleted.

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": {
      "preset_type": "<preset_type>",
      "preset_id": "<preset_id>"
    },
    "name": "find_preset_usages"
  }
}

Input Schema

NameRequiredDescriptionDefault
preset_idYes
preset_typeYes
max_sequencesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so reasonably: it marks itself SAFE_READ, discloses the scan target (sequence cue data), notes that max_sequences trades speed for coverage, and surfaces risk_if_deleted in the return payload. Missing are permission/auth requirements and whether the scan is exhaustive when sequences exceed the cap.

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 is front-loaded in the opening sentence, and the Args/Returns sections are scannable rather than prose-heavy. The parenthetical SAFE_READ tag is slightly awkward inline but still earns its place by flagging non-mutation.

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?

The tool is a read-only analysis over three simple parameters, and the description covers the scan target, the performance knob, and the risk output. An output schema exists, so the Returns block is mild redundancy rather than a gap; the remaining omission is guidance on enumerating valid preset_type values.

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 description coverage is 0%, so the Args block is the only documentation and it covers all three parameters: preset_type with concrete examples, preset_id as a slot number, and max_sequences with its default and performance implication. It adds real meaning, though it omits any valid range or bounds for preset_id and max_sequences.

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 first sentence names a specific verb and resource with scope: 'Find all sequences and cues that reference a specific preset.' That is far more than a restatement of the name and lets an agent identify the operation. It stops short of naming a sibling to contrast with (e.g. find_executor_dependencies or validate_preset_references), so it lands at 4 rather than 5.

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?

'Scans sequence cue data for Preset references before you update or delete' gives a concrete when-to-use trigger tied to a risky operation. It does not state when NOT to use it or point to an alternative tool for related-but-different questions, so it is clear context without exclusions.

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