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

qlc-show-designer-mcp

analyze_song

Analyze an audio file to extract tempo, energy-based sections, attack density, kicks, and a song ID for building lighting plans; apply saved structure corrections when a QLC+ project is provided.

Instructions

Analyze a song: tempo, parts with energy, attack density and kicks, and its song id.

With `project`, the structure corrections saved for the song are applied and the song id
(file name, slugified) is the one to use in the plan.

Args:
    audio: path of the audio file (relative to the project folder when `project` is given).
    project: path of the .qxw file (optional).

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": {
      "audio": "<audio>"
    },
    "name": "analyze_song"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioYes
projectNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description bears the full disclosure burden. It does add genuinely non-obvious behavior — passing `project` changes the analysis by applying saved structure corrections and changes which song id is authoritative — but it says nothing about side effects (does analysis write or cache anything?), failure modes for bad paths, or cost of running on large audio files.

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 and outputs are front-loaded in the first sentence, followed by a short conditional paragraph on `project` and a compact Args block. It is economical, though the Args formatting duplicates parameter names already in the schema and could be trimmed.

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?

With only two parameters, an output schema present, and no annotations, the description covers purpose, both parameters, and the key conditional behavior of `project`. What remains thin is operational context — expected audio formats and error/edge-case behavior — which is minor for this tool's complexity.

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 define both parameters, and it does: `audio` is a path interpreted relative to the project folder when `project` is given, and `project` is an optional .qxw file path. The relative-path semantics are a real clarification beyond the bare string schema, with only minor gaps such as absolute-path handling.

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 plus resource ("Analyze a song") and enumerates what it yields: tempo, parts with energy, attack density, kicks, and a song id. That is far more specific than a tautology, though it never contrasts itself with siblings such as correct_structure or preview, leaving differentiation implicit.

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 `project` clause gives conditional guidance — supply it when you want the saved structure corrections applied and the plan-compatible song id. However, there is no statement of when to call this tool versus alternatives (e.g., correct_structure or validate_plan), and no exclusions or prerequisites for the no-project case.

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