Skip to main content
Glama

measure_pace

Measure a video's cutting pace — cuts per minute, average and longest shot — and save it to a style. Use it on the source video of a new style so check_edit can flag edits that cut too often or hold shots too long.

Instructions

How often a video cuts: cuts a minute, the average shot and the longest hold. With style, it keeps the numbers in that style's style.json, and check_edit then flags an edit in that style that cuts far more or less often or holds one shot much longer. Run it on the source video of a new style.

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": "<file>"
    },
    "name": "measure_pace"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesThe video: an absolute path, or a path in session.
styleNoOptional style name to keep the pace in.
sessionNoSession: 'Project/folder', an absolute path or its id (from get_session). Old paths still work.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2026.11.11

TDQS

A3.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, and the description usefully explains the write side effect: with a style, numbers are persisted into that style's style.json. That is real value beyond the annotations. It does not cover what happens without a style (return-only?), whether existing recorded pace is overwritten, or any failure conditions, so the disclosure is partial.

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?

Three sentences, front-loaded with the metrics, then the style persistence behavior, then the workflow recommendation. Slightly dense phrasing ('in that style's style.json') and a missing subject in the first clause cost it a point, but there is no filler.

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?

With three fully documented parameters and no output schema, the description covers the essential shape: what is measured, the optional style persistence, and the intended workflow. It does not explain the return payload or session-scoped path behavior, but those are minor for a measurement tool of this size.

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, but the description adds meaning the schema lacks: passing 'style' persists the measured numbers into that style's style.json, and 'file' should be the source video of a new style. That is a genuine semantic addition about the effect of an optional parameter.

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?

The description states concretely what the tool computes — cuts per minute, average shot length, and longest hold — which is a specific resource-and-metric statement rather than a restatement of the name. It also implicitly distinguishes itself from check_edit (measure vs. flag), though the opening clause is phrased as a noun phrase rather than a verb, making the action slightly indirect.

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 gives a concrete usage instruction: 'Run it on the source video of a new style,' and clarifies the downstream role of check_edit. It does not say when to skip this tool or what to do for an existing style whose pace was already recorded, so the when-not guidance is absent.

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