Skip to main content
Glama

start_video_analysis

Analyze one video up to 5 minutes from a public YouTube URL or allowed local file path. Converts speech, on-screen text, and visual context into timestamped text and returns a job_id.

Instructions

Start turning one video of up to 5 minutes into text, and return a job_id.

Give exactly one of url (a public YouTube video or Short) or file_path (a video inside
a folder listed in VIDEO_TEXT_ALLOWED_DIRS). Set force to true only to reprocess a video
that already has a result. If a vision provider is configured, video frames are sent to it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_video_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
forceNo
file_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the 5-minute duration limit, the sandboxing requirement that file_path live under VIDEO_TEXT_ALLOWED_DIRS, that a vision provider receives frames when configured, and that force triggers reprocessing. It does not cover rate limits, cost, or what happens when a provider is absent beyond the conditional, but the added behavioral context is substantial.

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?

Three short sentences, front-loaded with the primary action and return contract, then constraints on inputs, then the optional vision behavior. Nothing is redundant with the name or title, and every clause carries information.

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?

An output schema exists so the return shape needs no explanation, and for a three-parameter async job starter the description covers inputs, validation rules, and provider behavior well. The main residual gap is not pointing to get_analysis_status as the polling step after job_id is returned.

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 description coverage is 0%, so the description carries the full burden, and it meaningfully explains all three parameters: url as a public YouTube video or Short, file_path as constrained to VIDEO_TEXT_ALLOWED_DIRS, and force as reprocessing an already-analyzed video. It lacks URL syntax examples and file-extension expectations, which keeps it below a 5.

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 ('Start turning one video ... into text') plus the concrete outcome ('return a job_id'), and the 5-minute cap bounds scope precisely. An agent immediately knows this initiates async transcription rather than retrieving results, distinguishing it from get_analysis_status and get_video_text.

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 explicit operative constraints: 'Give exactly one of url ... or file_path' and 'Set force to true only to reprocess a video that already has a result' clearly tells the agent when-not to set force. It stops short of naming the follow-up tool for the returned job_id, so the async hand-off is implied rather than directed.

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