Skip to main content
Glama

lint_script

Audit an AI short-drama script JSON for viral retention and AI-video readiness, checking hook timing, shot pacing, lip-sync CPS, and character locks. Returns a 0-100 score with per-shot fixes.

Instructions

Programmatically audit an AI short-drama script JSON for viral retention and AI-video production readiness (0-second hook, 2-5s shot pacing, lip-sync CPS <= limit, character/scene lock consistency, AI glitch landmines, BGM climax drop). Returns a 0-100 score and exact per-shot fix suggestions.

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": {
      "script": "<script>"
    },
    "name": "lint_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptYesThe DramaForgeScript JSON object to validate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does a lot: it lists the exact lint categories and states the return is a 0-100 score plus per-shot fixes. It stops short of explicitly stating read-only/no-side-effect behavior, but 'audit' strongly implies non-mutation.

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 front-loaded with the action and scope, then compactly enumerates the checks and return values. The parenthetical is dense but every item is meaningful; 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?

For a single-input validation tool with no output schema and no annotations, the description is nearly complete: it says what it checks and what it returns. The main remaining gap is operational guidance about when in a workflow to run it relative to generate/export siblings.

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?

There is only one parameter and schema coverage is 100%, so the schema already defines 'script' as the object to validate. The description adds domain context ('AI short-drama script JSON') but no structural or format details beyond the schema.

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 gives a specific verb ('audit') and resource ('AI short-drama script JSON'), plus concrete validation criteria. It implicitly distinguishes linting from sibling generation/export tools, but never names an alternative or explicit boundary.

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

Usage Guidelines3/5

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

It implies the tool is used to validate a script against retention and production checks, but it offers no explicit when-to-use, when-not-to-use, or alternative routing (e.g., generate vs export). The criteria list helps an agent infer the context, but guidance is only implicit.

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