Skip to main content
Glama

Cut a Screen Recording into Beats

cut-screen-recording
Read-onlyIdempotent

Plans screen-recording cuts from supplied measurements, or returns a probe script when measurements are missing. It never reads or executes caller files.

Instructions

Plan recording cuts from supplied measurements; without measurements return a probe script. Never reads or executes caller files.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cut-screen-recording"
  }
}

Input Schema

NameRequiredDescriptionDefault
fpsNo
srcNo
contextNo
maxBeatsNo
measurementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is largely covered. The description adds the useful guarantee 'Never reads or executes caller files', which matters for an agent wary of passing a file path in 'src'. It says nothing about the shape of the returned beat plan or probe script, so behavioral detail beyond annotations is thin.

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 compact clauses with the primary mode front-loaded and the fallback second; no filler. The terseness is efficient rather than padded, though the brevity comes at the cost of the parameter explanation noted elsewhere.

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 tool with no output schema and a deeply nested, entirely undocumented input object, the description does not say enough to construct a valid 'measurements' payload. Its safety reassurance and mode branching are genuinely valuable, but the complexity of the schema makes this definition materially incomplete.

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

Parameters2/5

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

Schema description coverage is 0% across five parameters, and the nested 'measurements' object carries twelve required fields (width, height, sampleFps, rowChange, colChange, rowEdge, pairs, etc.) with no textual explanation anywhere. The description only names 'measurements' as a concept and never explains what fps, src, context, or maxBeats control, nor the units or meaning of the measurement arrays. It does not compensate for the coverage gap at all.

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?

States a specific verb and resource ('plan recording cuts') and names the two operating modes: measurement-driven planning versus a probe-script fallback. It is clear what the tool produces, though it never distinguishes itself from the sibling 'plan-video', which an agent could reasonably confuse with it.

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?

The branching instruction is explicit: supply measurements to get cuts, omit them to get a probe script. That tells the agent how to invoke each mode without inference. It stops short of stating prerequisites for obtaining measurements in the first place, and gives no exclusions relative to alternative planning tools.

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