Skip to main content
Glama

Lint a storyboard (preflight, no browser)

lint_storyboard
Read-only

Run a storyboard preflight: detect per-scene pacing issues, selector/wait pitfalls, and no-op keys. Use after each edit to catch freeze-hold scenes before probe or render.

Instructions

Browser-free preflight over a storyboard: a per-scene pacing forecast (which scenes compose will mostly freeze-hold or cut because the narration and the recorded action don't match), selector/wait pitfalls (type+Enter with no wait, :text-is on nested labels, focus without a zoom block, anchored waitForChange regexes), and no-op keys. Run it after every storyboard edit, before probe/render. Pass exactly one of dir / path / json. lang lints a narrations[lang] translation at that language's speaking rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirNodemo dir → generated/storyboard.json
jsonNostoryboard JSON as a string
langNo
pathNopath to a storyboard .json file
paramsNostoryboard template params (name → value); each must be declared in the storyboard's params block. Substitutes {{name}} across all stages.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
issuesYes
estimateYes
wordsPerSecYes
narrationTotalMsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.1

TDQS

A4.5/5.0
Behavior4/5

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

With readOnlyHint=true already covering safety, the description adds meaningful behavior: it is browser-free, it produces a per-scene pacing forecast, and it checks specific pitfalls. It also discloses that 'lang' lints a narrations[lang] translation at that language's speaking rate, which goes beyond the annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two dense, information-rich sentences with no filler. It front-loads the core purpose ('Browser-free preflight over a storyboard') before enumerating checks and usage rules, and every clause contributes actionable information.

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?

Given the tool has an output schema, a read-only annotation, and a 5-parameter schema with 80% coverage, the description supplies the remaining context: when to run it, how inputs are mutually exclusive, what kinds of issues it detects, and what lang does. Nothing essential is missing for an agent to select and invoke it correctly.

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 80%, so the baseline is 3, but the description adds crucial parameter behavior: 'Pass exactly one of dir / path / json' and the meaning of lang. This compensates for the schema's otherwise sparse lang field and clarifies mutual exclusivity.

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: a 'browser-free preflight over a storyboard', and lists concrete lint categories (pacing forecast, selector/wait pitfalls, no-op keys). It also signals how this differs from render/probe by saying it runs 'before probe/render', which helps an agent distinguish it from siblings.

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 description gives clear usage context: 'Run it after every storyboard edit, before probe/render' and 'Pass exactly one of dir / path / json'. It lacks explicit when-not-to-use guidance or named alternatives, so it stops short of a 5.

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