Skip to main content
Glama

get_beat_map

Extracts beat and downbeat timestamps from an MP3 file to synchronize light show sequences with music.

Instructions

Get beat and downbeat timestamps for 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 very little: it doesn't say whether this performs expensive audio analysis, whether results are cached, or what the return looks like. Only 'beat and downbeat timestamps' hints at output content.

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?

One-sentence purpose plus a short args block, front-loaded with the core action. No filler, though the 'Args:' boilerplate is slightly redundant for a single self-named parameter.

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?

A simple one-parameter tool, but with no output schema the description should at least sketch the return shape (e.g. list of timestamps in seconds). The gap is noticeable but not crippling.

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%, so the description must compensate; it adds that mp3_path is a path to a .mp3 file, which is useful format specificity beyond the bare 'Mp3 Path' title. It does not clarify absolute vs relative paths or whether the file must be local.

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 verb and resource: fetch beat and downbeat timestamps for a song. That is distinguishable from analysis siblings like get_energy_profile and get_song_structure, though it doesn't name them explicitly.

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?

No indication of when to call this versus analyze_song, get_song_structure, or get_energy_profile, and no prerequisites such as whether the file must exist or be pre-analyzed.

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