Skip to main content
Glama

Doseedo Film Score: spot a video, play your score on AI instruments, mix it to picture

Tempo map from hit points

doseedo_tempo_map
Read-onlyIdempotent

Scoring to picture: turn HIT POINTS (a cut, an impact, the title card — as seconds from the cue start or SMPTE timecodes) into a TEMPO MAP that lands each hit exactly on a downbeat (or a beat — per hit with hits[].land), staying near your tempo and inside bpm_range. Returns tempo_map [{beat, bpm}] to pass unchanged to doseedo_render_midi / doseedo_render_score / doseedo_session_from_stems, and hits[] with the beat, bar and beat-in-bar each hit lands on — write the accent, stinger or change there. Handles 23.976 / 24 / 25 / 29.97 (";" = drop-frame) / 30 / 50 / 59.94 / 60 fps timecode. Pure math: free, instant, no key needed.

Input Schema

NameRequiredDescriptionDefault
bpmYesThe cue's tempo (20–300) — the map stays as close to it as the hits allow.
fpsNoFrame rate of the timecodes: 23.976, 24, 25, 29.97, 30, 50, 59.94, 60.
hitsYesThe moments the music must land on: [{time_s} (seconds from the cue start) or {timecode: "01:00:12:08"} (film timecode, with fps and start_timecode), label?, land?}] — land = THIS hit's landing ("downbeat" or "beat"; default: the request's land), e.g. the big cuts on bar lines and a quick accent on a beat. A bare number = {time_s}.
landNoLand hits on bar lines (default) or on any beat — the default for every hit without its own land.
start_sNoAlternative: the cue start in seconds of film time (informational when hits are time_s).
bpm_rangeNoAllowed tempo range [min, max] (default ±12 % of bpm).
start_timecodeNoFilm timecode of the cue's first downbeat (bar 1); hit timecodes are measured from it.
time_signatureNoMeter (default 4/4).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, but the description adds valuable context beyond them: 'Pure math: free, instant, no key needed,' supported timecode frame rates, and the exact shape of the returned tempo map and hit placements. This tells the agent about cost, speed, auth requirements, and output semantics that structured fields alone do not provide.

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?

The description is dense but front-loaded: the core action comes first, followed by output-usage guidance and timecode support. Every sentence contributes useful information, though the middle sentence is packed with several ideas at once.

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?

There is no output schema, but the description fully specifies what is returned: tempo_map [{beat, bpm}] and hits[] with beat, bar, and beat-in-bar placement. It also covers input flexibility, timecode handling, and downstream tool integration, leaving no material gap for an agent calling this tool.

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 description coverage is 100%, so the schema already documents all eight parameters. The description still adds meaning by explaining how hits can be bare numbers, objects with time_s or timecode, per-hit 'land' overrides, and how the tempo map stays near bpm but inside bpm_range. This is more than schema repetition and helps an agent assemble correct inputs.

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?

The description states a specific verb and resource ('turn HIT POINTS into a TEMPO MAP') and explicitly distinguishes the tool's role from siblings by naming the downstream consumers (doseedo_render_midi, doseedo_render_score, doseedo_session_from_stems). An agent can tell this is a scoring-to-picture tempo-mapping utility, not a generic renderer or beat-grid analyzer.

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?

It clearly establishes the use case ('Scoring to picture') and what inputs to supply, plus where the output goes next. It lacks explicit when-not-to-use guidance or direct comparison to alternatives like doseedo_beat_grid, but the context is strong enough for an agent to select it correctly.

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.

Resources