Skip to main content
Glama

Check the drama

lint_drama
Read-only

Deterministic quality check (no AI): missing logline or bible essentials, characters without appearance or inner life, episodes without hook, cliffhanger or connect-back, scripts that do not open on a hook or end on a button, runtime against target, scene durations outside the limits, dialogue lines that are too long, deleted references, missing paywall gate, outlined episodes not yet written. Each finding has a severity, the stage it concerns and a fix. Iterate until clean. Runtime is flagged when an episode is more than 25% off its target. With an episode range, findings and readiness cover that range only (summary.scope says so); summary.unwritten_episodes always counts the whole drama. The story is finished when story_ready is true for the whole drama and unwritten_episodes is 0.

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": {
      "drama_id": "<drama_id>"
    },
    "name": "lint_drama"
  }
}

Input Schema

NameRequiredDescriptionDefault
drama_idYesThe drama id (drm_…), from list_dramas or create_drama.
episode_toNoLast episode number to include. Omit to go to the last episode.
episode_fromNoFirst episode number to include (1-based). Omit to start at episode 1.
min_severityNoLowest severity to report: "info" (default, everything), "warning" or "error".info
include_takesNoAlso report stale selected takes and scenes without a video (production)

Output Schema

NameRequiredDescriptionDefault
summaryYes
findingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/destructiveHint=false, and the description adds substantial behavior beyond them: determinism (no AI), that each finding carries severity, stage and fix, the exact 25% runtime tolerance, and the non-obvious scoping rule that an episode range narrows findings and readiness while summary.unwritten_episodes still counts the whole drama.

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?

Purpose is front-loaded in the first clause and the threshold and scoping rules follow in a logical order. The long comma-spliced checklist of checks is dense and slightly run-on, but each item conveys a distinct detectable defect rather than filler.

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 read-only diagnostic with an output schema, the description supplies everything an agent needs: what is checked, how findings are shaped, the runtime tolerance, range scoping semantics, and the termination condition. Return-value details are correctly left to the output schema.

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; the description earns more by explaining the semantics of the range parameters (findings and readiness cover that range only, summary.scope reports it) and by tying severity to the finding model. It does not clarify include_takes beyond the schema's own text.

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 ("Deterministic quality check (no AI)") and enumerates the concrete defect classes it detects — missing logline, characters without inner life, episodes without hook, runtime vs target, paywall gate. No sibling tool performs linting, and the "no AI" qualifier distinguishes it from generative siblings like generate_batch.

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?

Gives clear workflow context: run it, then "Iterate until clean," and defines the completion condition (story_ready true for the whole drama and unwritten_episodes is 0). It does not name an alternative tool or state when not to use it, so it stops short of full routing guidance.

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.