Skip to main content
Glama

get_song_structure

Analyze an MP3 to identify its verse, chorus, and bridge structure, helping you plan xLights light show sequences that match each song section.

Instructions

Get the verse/chorus/bridge structure of a song.

Args: mp3_path: Path to the .mp3 file

Input Schema

NameRequiredDescriptionDefault
mp3_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden and discloses almost nothing: no statement that this is a read-only/local analysis, no cost or runtime hints for audio processing, no requirements about the file existing or supported formats. Only the .mp3 extension expectation is implied.

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?

The core sentence is front-loaded and wastes no words. The 'Args:' block is a thin docstring artifact rather than harmful padding, but it is slightly redundant formatting.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter analysis tool with no output schema, the description should clarify what the returned 'structure' looks like (e.g., labeled sections with timestamps). That return-shape gap is the main missing piece; inputs are adequately covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single parameter has no schema description, so the description must compensate. It does state the parameter is a path to the .mp3 file, adding the format constraint, but gives no detail on relative vs absolute paths or validation behavior.

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 description names a specific verb and resource ('get the verse/chorus/bridge structure of a song'), which is concrete enough to separate it from siblings like get_energy_profile or get_beat_map. It stops short of explicitly naming those alternatives, so it doesn't reach a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over analyze_song, get_beat_map, or get_energy_profile, all of which operate on songs. An agent must infer the boundary from the tool names alone.

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