Skip to main content
Glama

Analyze Video

analyze_video
Destructive

Start video analysis to generate subtitles and a narration script. This is an async operation — use get_job_status to check progress. The video must be uploaded first. Use list_languages for valid language codes.

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": {
      "videoId": "<videoId>"
    },
    "name": "analyze_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
toneNoDesired tone (e.g. 'professional', 'casual')
videoIdYesThe video ID to analyze
languageNoLanguage code (e.g. 'en', 'de')
productNameNoProduct to reference by name when contentStyle is 'promotional'
contentStyleNoShape of the generated script. Defaults to 'how-to'. Use 'sop' for procedures, 'training' for instructional content, 'promotional' for marketing.
customScriptNoYour own script. Required when scriptSource is 'custom'.
forceRefreshNoRe-run even if a cached analysis exists
scriptSourceNoWhere the script comes from: 'video' analyzes the footage (default), 'transcript' reuses what was said, 'original' keeps the speaker's audio, 'custom' uses the script you supply
videoContextNoContext about the video content
scriptSkillIdNoBrand Kit script skill to apply as a style guide
companyContextNoCompany or brand context

Output Schema

NameRequiredDescriptionDefault
jobIdNo
statusNo
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true; the description adds genuinely useful context by disclosing the async execution model, the polling dependency, and the upload prerequisite. However it never explains what the destructive flag means in practice — whether an existing analysis or cached result is overwritten, and what forceRefresh does on top of that — which is the one behavioral fact an agent most needs here.

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?

Four short sentences, front-loaded with the action and output, then constraints and cross-references. Nothing is repeated from the schema or annotations and no sentence is 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?

With an output schema present, return values need no explanation, and the trigger prerequisites and async completion path are both covered — adequate for an 11-parameter tool. The remaining gap is the meaning of the destructive/forceRefresh behavior and what happens when analysis already exists.

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?

Schema description coverage is 100%, so all 11 parameters are already self-documented, including both enums; baseline is 3. The description adds one real pointer, directing the agent to list_languages for valid language codes, but says nothing about the interplay among scriptSource, customScript, contentStyle, productName and forceRefresh, which are the non-obvious combinations.

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?

Names a specific verb and resource ('Start video analysis') and states the concrete outputs ('subtitles and a narration script'), which no sibling name implies. An agent can tell this apart from process_video or analyze_remix without 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 Guidelines4/5

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

Gives clear operational routing: async operation, poll with get_job_status, video must be uploaded first, and list_languages supplies valid codes. It lacks explicit when-not conditions (e.g. re-analysis vs analyze_remix, or when forceRefresh should be set), so it stops short of full 5-level 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.

Resources