Skip to main content
Glama

extract_beats

Extracts beat timestamps from a music file to sync video cuts. Choose detection mode and minimum gap for precise alignment.

Instructions

Extract beats from a music file for syncing video cuts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoBeat detection mode (default: all)
minGapNoMinimum gap between beats in seconds
sourceYesMusic file path or URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and falls short: it never says whether this is a synchronous analysis or an async job (notable given get_render_status exists for a sibling), how expensive it is, or what it returns. Only the general purpose is disclosed.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the brevity reflects under-specification rather than maximal usefulness.

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

Completeness2/5

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

With no annotations and no output schema, the description must carry the load but doesn't: an agent cannot tell whether beats come back as timestamps or a file, whether the call is blocking, or whether the result feeds render_video directly. For a 3-parameter analysis tool this is thin.

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 description coverage is 100% with all three parameters documented inline, including the mode enum and minGap units, so the baseline is 3. The description adds no meaning beyond the schema — it does not explain how 'impact' vs 'downbeat' affects results or how minGap interacts with mode.

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 (extract), resource (beats), and source (music file), plus the downstream purpose (syncing video cuts). No sibling tool performs beat analysis, so the operation is trivially distinguishable, though the description never explicitly names what it is not.

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 phrase 'for syncing video cuts' implies the workflow context (pairing with render_video), which is useful, but there is no explicit when-to-use, no prerequisites, and no guidance on which detection mode to pick or when to skip this tool.

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