Skip to main content
Glama

analyze_video

Analyzes videos locally, detecting scenes and actions, and answering time-specific questions via deep reading. Generates contact sheets and frame data, all on-device.

Instructions

Analyze a video with a local vision model: scenes, actions, time-window deep reading, contact sheets, etc. Returns JSON: {"text": ..., "mode": ..., "frames": [{"t": ..., "w": ..., "h": ...}], "duration": ...}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNowindow end
fpsNoSampling frame rate
fromNowindow/burst start, e.g. 1:20
modeNoauto
videoYesVideo path / URL
promptYesQuestion or instruction
max_framesNoFrame cap
Behavior3/5

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

With no annotations, the description must carry the burden. It discloses the use of a 'local vision model' and provides the return JSON shape (text, mode, frames, duration). However, it does not explain behavior of different modes, potential limitations, or prerequisites. This is adequate but not rich.

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: two sentences. The first states the action and scope; the second gives the return format. No filler. The JSON example is dense but informative, and every element earns its place.

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?

Given 7 parameters and no output schema, the description provides a return JSON structure, which is helpful. It lists capabilities and mentions modes. However, it does not explain the meaning of each mode or how frames are generated, leaving some gaps for a tool with this complexity.

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 coverage is high (86%), with descriptions for most parameters (e.g., 'Video path / URL', 'Sampling frame rate'). The description adds some context by mentioning 'time-window deep reading' and 'contact sheets' which map to modes, but it does not significantly enhance parameter understanding beyond the schema.

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 the tool's purpose: 'Analyze a video with a local vision model' and enumerates specific capabilities ('scenes, actions, time-window deep reading, contact sheets, etc.'). This distinguishes it from sibling tools like describe_image (image) and transcribe (audio), making it obvious this is for video analysis.

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

Usage Guidelines3/5

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

The description implies usage for video analysis but does not explicitly state when to use this tool over alternatives like describe_image or transcribe. There are no exclusions or direct comparisons to siblings. The context is clear for video tasks, but no explicit guidance is given.

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/Scheme0/local-agent-senses'

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