Skip to main content
Glama

video_index

Index videos by extracting frames, transcribing speech, and analyzing visual segments to produce a searchable timeline.

Instructions

视频索引:抽帧 + ASR 语音转写 + VLM 视觉分段理解。输出时间线。

Args: video_path: 视频文件路径 task: 分析任务描述 fps: 抽帧帧率 max_frames: 最大帧数 need_asr: 是否提取语音转写 need_ocr: 是否对帧做 OCR

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fpsNo
taskNo分析视频内容
need_asrNo
need_ocrNo
max_framesNo
video_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Annotations are absent, so the description bears the full burden of behavioral disclosure. It lists the pipeline steps (frame extraction, ASR, VLM) but fails to mention computational cost, processing time, potential errors, or whether the video file is modified. The read-only nature is implied but not explicit.

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 compact: a one-sentence summary followed by a parameter list. There is no fluff or redundancy beyond repeating parameter names from the schema, but the added Chinese annotations earn their place. The main functionality is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return value details are covered. The description explains the processing pipeline and all parameters at a basic level, but it omits important contextual details such as supported video formats, resource requirements, failure modes, or performance expectations. It is adequate for a basic invocation but not for robust selection and planning.

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 0%, so the description must compensate. It does add Chinese labels to all six parameters, which clarifies their meaning. However, the labels are terse; for example, 'task' is just 'analysis task description' with no details on expected task formats or examples, and the relationship between fps and max_frames is left ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's composite function: frame extraction, ASR transcription, VLM visual understanding, and timeline output. This distinguishes it from sibling tools like audio_transcribe or vision_inspect by explicitly combining multiple modalities, though it doesn't name those alternatives.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives such as audio_transcribe for speech-only tasks or vision_inspect for image analysis. The description assumes the user already knows the appropriate context, offering no exclusions or prerequisite conditions.

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/rorojiao/local-mmcp'

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