Skip to main content
Glama

estimate_tempo_meter

Estimate the top two BPM and meter candidates from an a-cappella or rhythmic WAV file to guide accurate tempo and time-signature setup.

Instructions

Top-2 BPM + meter guesses (4/4, 3/4, 6/8, 12/8, 5/4, 7/8) from an a-cappella or rhythmic WAV.

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": {
      "file_path": "<file_path>"
    },
    "name": "estimate_tempo_meter"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the result is a ranked top-2 rather than a single answer and enumerates the candidate meters, but says nothing about confidence scores, supported sample rates/formats beyond 'WAV', file size limits, or whether the path must be absolute — all material for an analysis call with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence with the output shape and input constraint front-loaded and the candidate meters parenthesized rather than prose-expanded. Nothing is wasted.

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 simple one-parameter read-only analysis tool this covers purpose, input class, and output shape, which is most of what an agent needs. It falls short on file_path conventions and on what 'guess' means numerically (confidence? ranked list?), which matters given there is no output schema to fall back on.

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?

Only one parameter (file_path) with 0% schema description coverage, so the description must carry the meaning. It partially compensates by constraining the expected input to a WAV file of a-cappella or rhythmic content, but gives no detail on path format, whether URLs are accepted, or any other file_path semantics.

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?

Specific verb-plus-resource ('Top-2 BPM + meter guesses') with the output shape and the accepted input class (a-cappella or rhythmic WAV) stated up front. An agent can distinguish this from calc_bpm_timing or analyze_audio_file by the explicit emphasis on meter estimation alongside BPM, though no sibling is named directly.

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 'from an a-cappella or rhythmic WAV' implicitly scopes when the tool applies, which is real guidance. However, there is no explicit when-not condition and no named alternative for non-WAV input or for plain BPM-only needs, so selection among siblings is left to inference.

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