Skip to main content
Glama

analyze_videos

Read-onlyIdempotent

Batch analyze multiple videos in a single call. Extract transcripts, OCR text, and timelines from each video, with individual error handling for reliable processing.

Instructions

Batch-analyze many videos in one call, with a concurrency limit and per-item results.

For each source it runs the same pipeline as analyze_video (frames + OCR + transcript + timeline), reusing the shared cache and on-disk sidecars. Designed for processing a corpus of local files: pair it with MCP_WRITE_SIDECARS=1 so results persist next to each video and a re-run resumes instead of recomputing.

Returns a JSON summary plus one structured entry per source:

  • ok=true → title, duration, frameCount, ocrCount, transcriptEntries, warnings

  • ok=false → the error message for that specific video (other videos still complete)

To keep the response bounded, frame images are NOT inlined and full transcript/OCR/timeline arrays are returned only when options.fields is set; otherwise you get counts. Use analyze_video on an individual source when you need the images or full data inline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsNoAnalysis options applied to every source
sourcesYesVideo sources to analyze in one batch (Loom URLs, platform video URLs like YouTube, direct video URLs, or local paths).
concurrencyNoHow many videos to analyze in parallel (default: 2). Frame extraction + OCR are CPU-heavy — raise cautiously.
Behavior5/5

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

Annotations already mark the tool as readOnlyHint and idempotentHint, and the description adds no contradiction. Beyond annotations, it discloses caching behavior, concurrency limits, per-item error handling, and response bounding (no inline images, conditional full arrays). This adds rich behavioral context.

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?

The description is front-loaded with the core purpose and is well-structured. It is slightly lengthy but every sentence adds necessary detail for an agent to use the tool correctly. No redundant information is present.

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 no output schema, the description explains the return format (JSON summary plus entries with ok/error and field details). It covers key behavioral aspects like caching, concurrency, and response size. For a batch tool of moderate complexity, the description is complete and actionable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 100% description coverage for all parameters. The description adds value by explaining that options apply to every source, concurrency is CPU-heavy, and that output fields are conditional on the 'fields' parameter. It also mentions the batch nature, which clarifies the sources parameter.

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 clearly states it is for batch-analyzing many videos in one call, with a concurrency limit and per-item results. It differentiates from the sibling analyze_video by noting that frame images are not inlined and full data is conditional on fields, indicating when to use which tool.

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?

The description explicitly says 'Designed for processing a corpus of local files' and advises pairing with MCP_WRITE_SIDECARS=1 for persistence. It also states 'Use analyze_video on an individual source when you need the images or full data inline,' providing clear when-to-use and when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guimatheus92/mcp-video-analyzer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server