Skip to main content
Glama

Suggest Clip Durations

lab_suggest_durations
Read-only

Ask what clip durations the project's cutting preset WOULD give a sequence — and change nothing (angewendet: false). Use it to see the consequence before lab_apply_rhythm writes it, or to size a sequence that has no clips yet (pass anzahl). It knows nothing about the measured beat grid: the tempo it uses is the text from the preset's music brief ('mittel bis schnell, 100–128'), which is a promise, not a measurement. Only lab_apply_rhythm reaches for the grid that lab_beatgrid measured. Reads only — no state, no credits.

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": {
      "seq_id": "<seq_id>"
    },
    "name": "lab_suggest_durations"
  }
}

Input Schema

NameRequiredDescriptionDefault
anzahlNoHow many shots to distribute. Omit to use the sequence's existing clip count — required if the timeline is still empty, which otherwise answers 400
seq_idYesSequence id (from lab_create_sequence/lab_list_sequences) — positive integer as string

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / anzahl / maximum
      Previous value: -500New value: +2000
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The readOnlyHint annotation already declares the safety profile, but the description adds real context beyond it: nothing changes (`angewendet: false`), no credits are consumed, and critically the tempo is derived from the preset's music-brief text ('mittel bis schnell, 100–128'), which is a promise rather than a measurement. That caveat is exactly the kind of behavioral trait annotations cannot express. It stops short of describing the response shape, but there is no output schema to lean on, so a small gap remains.

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?

Front-loads the purpose and the no-side-effects promise in the first sentence, then layers caveats. Four sentences are all substantive, though the beat-grid point is made twice (the preset text is not a measurement; only lab_apply_rhythm reaches the grid), which is slight redundancy.

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?

For a two-parameter read-only tool with no output schema, the description covers what it computes, what the numbers actually represent (preset text, not measured tempo), that nothing is mutated or billed, and when a parameter is mandatory. Nothing an agent needs in order to call 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%, so both parameters are already documented, including the rule that `anzahl` is needed for an empty timeline. The description reinforces that with the 'size a sequence that has no clips yet (pass `anzahl`)' phrasing but adds no new syntax, range, or format meaning. Baseline 3 is correct when the schema does the heavy lifting.

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 — asking what clip durations the project's cutting preset would produce for a sequence — and explicitly distinguishes itself from the sibling that actually writes them (lab_apply_rhythm) as well as from lab_beatgrid's measured data. An agent can tell exactly what it returns versus what lab_apply_rhythm does.

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

Usage Guidelines5/5

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

Gives two concrete use cases (previewing the consequence before lab_apply_rhythm writes, and sizing an empty sequence by passing `anzahl`) plus an explicit exclusion: it knows nothing about the measured beat grid, and only lab_apply_rhythm reads that. When-to-use and when-not-to-use are both named with the alternative tool.

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