Skip to main content
Glama
qlc-show-designer-mcp

qlc-show-designer-mcp

write_plan

Validate a YAML lighting plan and save it to a QLC+ project, writing nothing when errors exist. Ensures only valid plans are stored.

Instructions

Validate a lighting plan (YAML) and save it; nothing is written when there are errors.

Args:
    project: path of the .qxw file.
    yaml_text: the whole plan as YAML (version, show, palette, rules, songs).

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": {
      "project": "<project>",
      "yaml_text": "<yaml_text>"
    },
    "name": "write_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes
yaml_textYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the most important trait for a write tool — validation precedes the write and nothing is persisted on errors — but it says nothing about overwriting an existing plan in the project, whether the .qxw file itself is mutated, or what permissions/state are required.

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?

Two front-loaded sentences plus a compact Args block; the behavioral guarantee sits in the first line where it is most needed, and nothing is redundant.

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?

An output schema exists, so return values need not be explained, and the definition covers purpose, atomicity, and both parameters. What is missing is the failure path — what an agent should do when validation errors come back — and the overwrite semantics for an existing plan.

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 does: 'project' is pinned to the path of the .qxw file, and 'yaml_text' is described as the whole plan including its top-level sections (version, show, palette, rules, songs). That adds real meaning beyond bare string types, though the required YAML grammar is still only sketched.

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 compound verb and resource: validate a lighting plan (YAML) and save it. The 'and save it' clause implicitly separates it from the sibling validate_plan, but the sibling is never named, so differentiation is left to inference.

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?

The atomic-write statement hints at when this tool is appropriate versus a pure validation pass, but there is no explicit 'use this when... use validate_plan instead when...' guidance and no prerequisites are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.