Skip to main content
Glama
leancoderkavy

Premiere Pro MCP Server

Detect Beats

detect_beats

Estimate a steady beat grid from a local audio or video file, returning BPM, phase-aligned beat times, confidence, and half/double-time alternatives without altering Premiere.

Instructions

Estimate a steady beat grid from a local audio or video file without changing Premiere. FFmpeg decodes at most 30 minutes to a bounded mono analysis stream; local onset autocorrelation returns BPM, phase-aligned beat times, confidence, and half/double-time alternatives.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_beatsNoMaximum beat times returned (default: 500).
media_pathYesAbsolute path to an existing local audio or video file.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool completed successfully.
dataNoTool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it.
toolYesThe registered MCP tool name.
errorNoFailure detail when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.18.6
    • changedOutput schema / properties / data / description
      Previous value: -"Tool-specific result data when ok is true."New value: +"Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it."
  2. Changed4 schema fields changedv1.14.9
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / max_beats / maximum
      Added value: +2000
    • addedInput schema / properties / max_beats / minimum
      Added value: +1
    • addedInput schema / properties / max_beats / type
      Added value: +"integer"
  3. Addedv1.14.5

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses that nothing in Premiere is modified, that decoding is capped at 30 minutes, that analysis runs on a bounded mono stream, and that results include confidence and half/double-time alternatives. Annotations only state readOnly/destructive/idempotent flags, so this added pipeline context is genuine value; the description's 'without changing Premiere' phrasing is slightly in tension with readOnlyHint=false, though it is scoped to project state rather than a claim of being globally side-effect free.

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?

Two front-loaded sentences with no filler; the purpose comes first and the implementation detail (FFmpeg, autocorrelation) is compressed into the second. The technical density of sentence two is justified by the trust and limit information it conveys, though it is heavier than strictly necessary.

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?

For a read-only analysis tool with a full output schema, the description covers scope, input constraints, and output character without redundantly explaining the return shape. It could go one step further by indicating how the result feeds downstream tools, but nothing needed to invoke it correctly is missing.

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% for both parameters, so the schema already carries media_path and max_beats semantics. The description adds only the implicit 'local file' framing, which the schema already states as an absolute path; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Estimate a steady beat grid from a local audio or video file') and pins the scope to an analysis-only operation. It is easily distinguished from neighbouring detection tools like detect_audio_transients and from downstream consumers such as plan_beat_montage.

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?

Usage is implied by the description (run this when you need a beat grid from a local file) and the 30-minute decode cap hints at its intended scale, but there is no explicit when-to-use/when-not guidance nor any routing to alternatives such as detect_audio_transients or plan_beat_montage.

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

Deploy Server

Other Tools