Skip to main content
Glama
grandMA2 MCP
by drohi-r

set_executor_priority

Set an executor's playback priority to control how it overrides other active executors and the programmer, using page-qualified addressing to avoid Error #66.

Instructions

Set the playback priority of an executor (Tool 130).

Priority determines how this executor interacts with other active executors
and the programmer. Uses page-qualified addressing (page.executor_id) to
avoid Error #66 CANNOT ASSIGN.

Priority levels (highest → lowest):
  - "super"  — LTP above ALL playbacks + programmer. Only Freeze overrides.
  - "swap"   — LTP > HTP; negative override possible. Affects ALL attributes.
  - "htp"    — Highest intensity value wins. Changes ALL attribute priority.
  - "high"   — High LTP. Overrides Normal/Low but not HTP intensity.
  - "normal" — LTP default. Last triggered value wins.
  - "low"    — Lowest priority. Overridden by everything else.

Args:
    executor_id: The executor to modify (e.g. 201).
    priority: One of "super", "swap", "htp", "high", "normal", "low".
    page: Page number (default 1). Always included in the address.

Returns:
    str: JSON with command_sent, raw_response, 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": {
      "executor_id": "<executor_id>",
      "priority": "<priority>"
    },
    "name": "set_executor_priority"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
priorityYes
executor_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral load. It usefully discloses the page-qualified addressing requirement to avoid Error #66 and explains how each priority level changes LTP/HTP behavior, but it says nothing about permissions/auth needs, whether the change is persisted to the showfile, or what happens to currently running output.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action and its effect, then a scannable ordered priority table, then compact args/returns. The per-level glosses earn their space because they are the only documentation of the enum values anywhere.

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?

For a three-parameter mutation tool with an output schema, the definition covers purpose, addressing, valid values, and error avoidance; the output schema offloads return-value explanation even though a summary is still given. The remaining gap is operational context — persistence, required console state, and failure modes other than #66.

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 description must compensate, and it largely does: it enumerates all six accepted priority strings with a semantic gloss for each (the schema only says plain string), gives an example executor_id value, and explains that page defaults to 1 and is always part of the address. This meaningfully exceeds the schema.

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?

States a specific verb+resource ("Set the playback priority of an executor") and immediately scopes it against the family by defining what priority controls: interaction with other active executors and the programmer. This distinguishes it from neighbors such as set_executor_level or set_intensity without needing to open their schemas.

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

Usage Guidelines3/5

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

Usage is implied rather than prescribed: the tool is for changing how an executor participates in playback priority, which tells the agent the general situation but never when to prefer it over set_executor_level or when not to use it. No prerequisites, no exclusions, no alternative routing are stated.

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