Skip to main content
Glama

PrismPoster Creator Tools

Estimate tempo, delay times and bar lengths

estimate_tempo
Read-onlyIdempotent

Tempo arithmetic for editing to music: pass tap timestamps (ms) to estimate BPM with a stability and confidence rating, or pass a known bpm. Either way it returns the beat length, a delay table (straight, dotted and triplet ms for each note value) and how many seconds a number of bars lasts in a time signature. It works on numbers you supply and does not analyse audio. Errors when neither input is given, the taps do not yield a tempo, bpm is outside 30-300, or the time signature is not one listed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bpmNoKnown tempo in beats per minute. Used instead of the tap estimate when both are given.
barsNoNumber of bars to convert into seconds. Default 16.
timestampsMsNoTap times in ms from a monotonic clock (performance.now()), in order.
timeSignatureNoTime signature for the bar length. Default 4/4.4/4

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bpmYes
barsYes
delaysMsYes
tapAnalysisYes
quarterNoteMsYes
timeSignatureYes
referenceToolUrlYes
barsDurationSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, and the description adds real value on top: the failure surface (no input, unusable taps, bpm outside 30-300, unlisted time signature) and the signal that this is pure arithmetic on supplied numbers rather than audio analysis. It does not cover tap-to-bpm fallback precedence, which the schema handles.

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 dense sentences, front-loaded with the tool's identity and followed by inputs, outputs, and exception cases in call order. The middle sentence is long and carries several clauses, but no sentence is filler.

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

Completeness5/5

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

Output schema exists, so return values need not be re-specified, and the description still names them at a high level while covering both input modes, the output shape, and every documented error condition. An agent can call this correctly without further inference.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description earns a step up by framing the parameters as mutually alternative modes ('Either way') and restating the accepted bpm window and time-signature constraint at the point where an agent decides how to call it.

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?

Opens with a specific framing ('Tempo arithmetic for editing to music') and then enumerates the concrete outputs: BPM with stability/confidence, beat length, delay table, and bar duration. It also explicitly rules out the misinterpretation ('does not analyse audio'), which no sibling tool covers.

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

Usage Guidelines4/5

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

Clearly states the two invocation modes ('pass tap timestamps... or pass a known bpm'), giving the agent an explicit choice criterion. It stops short of naming alternatives, but the sibling tools are unrelated utilities, so there is little to route between.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.