Skip to main content
Glama

Re-analyze project

reanalyze_project
Destructive

Re-pick clips from an existing transcript with optional new settings, keeping your edits and replacing untouched AI picks. Returns counts immediately while picking runs in the background.

Instructions

Pick clips again from the existing transcript (needs one), optionally with new settings. Clips you created or edited are kept; untouched AI picks are replaced and restorable with restore_clip for a while. Returns { kept, replaced } at once; the picking runs in the background, so follow with wait_for_project. To only save settings use update_project; to resume a failure use retry_project.

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": {
      "id": "<id>"
    },
    "name": "reanalyze_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from list_projects, search_clips or create_project)
settingsNoProject settings; omit for the defaults (automatic clip count, 20–60 s clips, natural pauses, name fixes and the on-screen text scan on, filler removal off). Set refineDisfluency / disfluencyLlm true to opt into filler removal, refineEntities / refineScenes false to skip those steps (instance Pipeline gates must be on).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / settings / properties / language / description
      Previous value: -"Spoken language code (e.g. en); unset = detected"New value: +"Spoken language code (e.g. en, from list_languages; an English name is stored as its code), sent to the transcription model when it takes it; unset = detected"
    • addedInput schema / properties / settings / properties / punchIn
      Added value: +{
      +  "description": "Zoom in briefly on the clip's key words (face and centre crops only, never across a cut; default false)",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / settings / properties / punchInScale
      Added value: +{
      +  "description": "How far a punch-in zooms (1.05-1.3x, default 1.12)",
      +  "maximum": 1.3,
      +  "minimum": 1.05,
      +  "type": "number"
      +}
    • changedInput schema / properties / settings / properties / reframe / description
      Previous value: -"Framing: auto (detect per section), face (follow the speaker), split (two speakers stacked), stack (full frame over a face crop), fit (whole frame on blur), center (static crop), none (original aspect)"New value: +"Framing: auto (detect per section; a shot without a face follows its moving subject when one clearly stands out, else shows whole; a video inset between bars, like a phone clip in a 16:9 edit, is cropped to the inset), face (follow the speaker), split (two speakers stacked), stack (full frame over a face crop), fit (whole frame on blur), center (static crop), none (original aspect)"
    • addedInput schema / properties / settings / properties / shape
      Added value: +{
      +  "description": "Shape of the rendered video: 9:16 (default; TikTok, Shorts, Reels), 4:5 or 1:1 (feeds), 16:9 (YouTube, websites)",
      +  "enum": [
      +    "9:16",
      +    "4:5",
      +    "1:1",
      +    "16:9"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.45.3
    • addedInput schema / properties / settings / properties / font
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 60,
      +      "minLength": 1,
      +      "pattern": "^[^,\\\\{}\\r\\n]+$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Caption and hook font: a family from list_fonts (built-in or uploaded by an admin); unset or null = the instance caption font"
      +}
  3. Changed4 schema fields changedv0.33.0
    • addedInput schema / properties / settings / properties / bumperTransition
      Added value: +{
      +  "description": "How the intro/outro joins the clip: cut (default), dip (fade through black, no change in length) or crossfade (the two overlap, so the video is shorter by the transition)",
      +  "enum": [
      +    "cut",
      +    "dip",
      +    "crossfade"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / settings / properties / bumperTransitionSec
      Added value: +{
      +  "description": "Length of the intro/outro transition, seconds (0.2-2, default 0.5); ignored for cut",
      +  "maximum": 2,
      +  "minimum": 0.2,
      +  "type": "number"
      +}
    • addedInput schema / properties / settings / properties / fadeIn
      Added value: +{
      +  "description": "Fade in from black (picture and sound) at the start of the video, seconds (0-2, default 0 = off)",
      +  "maximum": 2,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / settings / properties / fadeOut
      Added value: +{
      +  "description": "Fade out to black (picture and sound) at the end of the video, seconds (0-2, default 0 = off)",
      +  "maximum": 2,
      +  "minimum": 0,
      +  "type": "number"
      +}
  4. Changed1 schema field changedv0.28.1
    • addedInput schema / properties / settings / properties / captionSeam
      Added value: +{
      +  "description": "In split and stack sections, put captions on the line between the two panes instead of at captionY (default true)",
      +  "type": "boolean"
      +}
  5. Changed5 schema fields changedv0.23.0
    • changedInput schema / properties / settings / description
      Previous value: -"Project settings; omit for the defaults (automatic clip count, 20–60 s clips, natural pauses, refine steps off). Set refineEntities / refineDisfluency / disfluencyLlm / refineScenes true to opt into polish (instance Pipeline gates must be on)."New value: +"Project settings; omit for the defaults (automatic clip count, 20–60 s clips, natural pauses, name fixes and the on-screen text scan on, filler removal off). Set refineDisfluency / disfluencyLlm true to opt into filler removal, refineEntities / refineScenes false to skip those steps (instance Pipeline gates must be on)."
    • addedInput schema / properties / settings / properties / layerTemplateId
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Layer template id (list_layer_templates) applied to each new clip of this project; null = none. Existing clips: apply_layer_template"
      +}
    • changedInput schema / properties / settings / properties / refineEntities / description
      Previous value: -"Fix misheard names after transcription (LLM). Off by default; on runs that refine step."New value: +"Fix misheard names after transcription (LLM). On by default; off skips that refine step."
    • changedInput schema / properties / settings / properties / refineScenes / description
      Previous value: -"Detect scene cuts and on-screen text. Off by default; on runs that refine step."New value: +"Scan the video for on-screen text (burned-in captions, watermarks, slides). On by default; off skips that refine step. Shot cuts are always detected."
    • addedInput schema / properties / settings / properties / reframeAdjust
      Added value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "contentCrop": {
      +          "description": "Stack only: the part of the frame shown on top instead of the whole frame or the detected content region",
      +          "properties": {
      +            "x1": {
      +              "description": "Left edge, fraction of the source width",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "x2": {
      +              "description": "Right edge, fraction of the source width",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "y1": {
      +              "description": "Top edge, fraction of the source height",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "y2": {
      +              "description": "Bottom edge, fraction of the source height",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "x1",
      +            "y1",
      +            "x2",
      +            "y2"
      +          ],
      +          "type": "object"
      +        },
      +        "crop": {
      +          "description": "Show exactly this part of the source in the (top / only) pane, as fractions of the source size; replaces the automatic crop, the offset and the subject. A shape unlike the pane's is fitted over a blurred copy",
      +          "properties": {
      +            "x1": {
      +              "description": "Left edge, fraction of the source width",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "x2": {
      +              "description": "Right edge, fraction of the source width",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "y1": {
      +              "description": "Top edge, fraction of the source height",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "y2": {
      +              "description": "Bottom edge, fraction of the source height",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "x1",
      +            "y1",
      +            "x2",
      +            "y2"
      +          ],
      +          "type": "object"
      +        },
      +        "crop2": {
      +          "description": "Split only: a fixed crop for the bottom pane",
      +          "properties": {
      +            "x1": {
      +              "description": "Left edge, fraction of the source width",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "x2": {
      +              "description": "Right edge, fraction of the source width",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "y1": {
      +              "description": "Top edge, fraction of the source height",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "y2": {
      +              "description": "Bottom edge, fraction of the source height",
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            }
      +          },
      +          "required": [
      +            "x1",
      +            "y1",
      +            "x2",
      +            "y2"
      +          ],
      +          "type": "object"
      +        },
      +        "offsetX": {
      +          "description": "Shift the (top) crop sideways by this fraction of the source width (-0.5 to 0.5), relative to the face it follows",
      +          "maximum": 0.5,
      +          "minimum": -0.5,
      +          "type": "number"
      +        },
      +        "offsetX2": {
      +          "description": "Split only: shift the bottom crop sideways (-0.5 to 0.5)",
      +          "maximum": 0.5,
      +          "minimum": -0.5,
      +          "type": "number"
      +        },
      +        "offsetY": {
      +          "description": "Shift the (top) crop up or down by this fraction of the source height; only matters where the crop is shorter than the frame (split, stack)",
      +          "maximum": 0.5,
      +          "minimum": -0.5,
      +          "type": "number"
      +        },
      +        "offsetY2": {
      +          "description": "Split only: shift the bottom crop up or down (-0.5 to 0.5)",
      +          "maximum": 0.5,
      +          "minimum": -0.5,
      +          "type": "number"
      +        },
      +        "subjectX": {
      +          "description": "Follow the person at this x (0-1 of the source width) in the top/only pane; the offset still applies on top",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "subjectX2": {
      +          "description": "Split only: follow the person at this x in the bottom pane",
      +          "maximum": 1,
      +          "minimum": 0,
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Applied with reframe to clips without their own sections: offsetX/Y, offsetX2/Y2, subjectX/X2, crop, crop2, contentCrop as on a clip's section; null = none. apply_framing sets it from one clip"
      +}
  6. Changed2 schema fields changedv0.19.1
    • changedInput schema / properties / settings / properties / introAssetId / description
      Previous value: -"Library asset id of the intro (list_bumpers); null = none"New value: +"Library asset id of the intro (search_assets with source library); null = none"
    • changedInput schema / properties / settings / properties / outroAssetId / description
      Previous value: -"Library asset id of the outro (list_bumpers); null = none"New value: +"Library asset id of the outro (search_assets with source library); null = none"
  7. Changed5 schema fields changedv0.17.0
    • changedInput schema / properties / settings / description
      Previous value: -"Project settings; omit for the defaults (automatic clip count, 20–60 s clips, natural pauses)."New value: +"Project settings; omit for the defaults (automatic clip count, 20–60 s clips, natural pauses, refine steps off). Set refineEntities / refineDisfluency / disfluencyLlm / refineScenes true to opt into polish (instance Pipeline gates must be on)."
    • addedInput schema / properties / settings / properties / disfluencyLlm
      Added value: +{
      +  "description": "Model pass on top of rule-based disfluency detection. Off by default (rules only when disfluency is on).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / settings / properties / refineDisfluency
      Added value: +{
      +  "description": "Find fillers, repetitions and false starts. Off by default; on runs that refine step.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / settings / properties / refineEntities
      Added value: +{
      +  "description": "Fix misheard names after transcription (LLM). Off by default; on runs that refine step.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / settings / properties / refineScenes
      Added value: +{
      +  "description": "Detect scene cuts and on-screen text. Off by default; on runs that refine step.",
      +  "type": "boolean"
      +}
  8. Changed29 schema fields changedv0.7.0
    • addedInput schema / properties / id / description
      Added value: +"Project id (from list_projects, search_clips or create_project)"
    • addedInput schema / properties / settings / properties / captionPosition / description
      Added value: +"Deprecated: use captionY"
    • addedInput schema / properties / settings / properties / captionSize / description
      Added value: +"Caption size multiplier (0.5-2, default 1)"
    • addedInput schema / properties / settings / properties / captionX / description
      Added value: +"Caption centre, horizontal, as a fraction of the 9:16 frame (0-1)"
    • addedInput schema / properties / settings / properties / captionY / description
      Added value: +"Caption centre, vertical (default 0.72), as a fraction of the 9:16 frame (0-1)"
    • addedInput schema / properties / settings / properties / captions / description
      Added value: +"Caption look: karaoke (active word highlighted), box, plain, or none (no captions)"
    • addedInput schema / properties / settings / properties / emphasis / description
      Added value: +"Colour the clip's key words (default true)"
    • addedInput schema / properties / settings / properties / emphasisColor / description
      Added value: +"Colour of emphasised words, #RRGGBB (default #39FF14)"
    • addedInput schema / properties / settings / properties / focus / description
      Added value: +"Only pick clips about this topic (max 300 chars)"
    • addedInput schema / properties / settings / properties / highlightColor / description
      Added value: +"Karaoke active-word colour, #RRGGBB (default #FFD700)"
    • addedInput schema / properties / settings / properties / hookSeconds / description
      Added value: +"How long the hook shows, seconds (0-15, default 3.5)"
    • addedInput schema / properties / settings / properties / hookX / description
      Added value: +"Hook centre, horizontal, as a fraction of the 9:16 frame (0-1)"
    • addedInput schema / properties / settings / properties / hookY / description
      Added value: +"Hook centre, vertical (default 0.16), as a fraction of the 9:16 frame (0-1)"
    • addedInput schema / properties / settings / properties / instructions / description
      Added value: +"Free-text guidance for picking and titling clips (max 2000 chars)"
    • addedInput schema / properties / settings / properties / introAssetId / description
      Added value: +"Library asset id of the intro (list_bumpers); null = none"
    • addedInput schema / properties / settings / properties / introSec / description
      Added value: +"Seconds an image intro/outro shows (1-10); videos keep their own length"
    • addedInput schema / properties / settings / properties / language / description
      Added value: +"Spoken language code (e.g. en); unset = detected"
    • addedInput schema / properties / settings / properties / maxClipSeconds / description
      Added value: +"Longest clip, seconds (10-300, default 60; must be above minClipSeconds)"
    • addedInput schema / properties / settings / properties / maxClips / description
      Added value: +"Most clips to pick (1-50); unset = every moment that stands on its own"
    • addedInput schema / properties / settings / properties / minClipSeconds / description
      Added value: +"Shortest clip, seconds (5-180, default 20)"
    • addedInput schema / properties / settings / properties / outroAssetId / description
      Added value: +"Library asset id of the outro (list_bumpers); null = none"
    • addedInput schema / properties / settings / properties / outroSec / description
      Added value: +"Seconds an image intro/outro shows (1-10); videos keep their own length"
    • addedInput schema / properties / settings / properties / pauses / description
      Added value: +"Long pauses inside clips: natural (cut to 0.6 s, default), tight (0.35 s) or off"
    • addedInput schema / properties / settings / properties / reframe / description
      Added value: +"Framing: auto (detect per section), face (follow the speaker), split (two speakers stacked), stack (full frame over a face crop), fit (whole frame on blur), center (static crop), none (original aspect)"
    • addedInput schema / properties / settings / properties / showHook / description
      Added value: +"Show the hook text at the start of the clip (default true)"
    • addedInput schema / properties / settings / properties / sourceText / description
      Added value: +"Text already in the video: hide (blur captions/logos except in slide decks, default), always (blur even then), keep"
    • addedInput schema / properties / settings / properties / uppercase / description
      Added value: +"Captions in capitals"
    • addedInput schema / properties / settings / properties / vocabulary / description
      Added value: +"Names, brands and jargon to spell correctly, comma separated (max 1000 chars)"
    • addedInput schema / properties / settings / properties / wordsPerLine / description
      Added value: +"Max caption words on screen at once (1-8, default 4)"
  9. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description explains exactly what is preserved, what is replaced, and how replacement can be undone via restore_clip for a while. It also discloses the immediate { kept, replaced } return and that picking continues in the background, which is important operational context.

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 compact and front-loaded with the core action and prerequisite. Every sentence carries operational value: preservation rules, return behavior, background execution, and alternative tools.

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?

Despite the complex nested settings schema and sparse annotations, the description supplies the behavioral facts an agent needs: transcript prerequisite, replacement semantics, immediate return shape, background execution, follow-up tool, and alternatives. The settings details are appropriately left to the comprehensive schema.

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?

The schema has full description coverage for both the id and the deeply nested settings object, so parameter meaning is already well documented. The description only adds that settings are optional and new for this run, which is useful but does not meaningfully extend the schema's parameter semantics.

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 action and resource: pick clips again from an existing transcript, optionally with new settings. It also distinguishes this operation from update_project, retry_project, and restore_clip, so an agent can identify the correct tool before opening the schema.

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

Usage Guidelines5/5

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

It gives explicit routing rules: use update_project to only save settings and retry_project to resume a failure. It also states the prerequisite of an existing transcript and points to wait_for_project as the follow-up after starting reanalysis.

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

Deploy Server

Other Tools