Skip to main content
Glama

describe_video

Send local video files to Gemini for direct analysis, returning detailed, timestamped descriptions of visuals and audio. Supports common formats like MP4, MOV, WebM, AVI, MKV, and GIF.

Instructions

把本地视频交给 Gemini 直传识别,返回按时间轴分段的详细内容描述(画面 + 音轨)。

支持 mp4/mov/webm/avi/mkv 等常见视频格式,也直接支持 .gif(以原格式感知完整动画,不抽帧)。

Args: path: 本地视频文件的路径(建议用完整绝对路径)。 prompt: 自定义提示词。传了就【完全覆盖】默认模板(此时 persona/hint 参数被忽略)。 不传则使用内置的“翻译给纯文字 LLM 看”的详细描述模板。 persona: 可选的人设。传了会在默认提示词开头附体一行“你的人设是:…”, 让 Gemini 以该人格来解说视频。仅在未提供 prompt 时生效。 hint: 可选的前置线索——人类观看者对这个视频的形容或背景信息 (如“这是在用鸡蛋下五子棋”“声音对应表情包”)。会注入默认模板, 帮助模型理解抽象、玩梗类内容;同时要求模型以实际所见为准、不迎合虚构。 仅在未提供 prompt 时生效。 low_resolution: 低清模式。开启后约 100 token/秒(标清约 300 token/秒),长视频省钱, 但画面细节会变粗。默认关闭。 max_output_tokens: 最大输出 token 数,默认 30000。内部有 2048 的下限保护 (Gemini 的“思考”token 也计入这里;默认思考等级为 high,思考会占用 数千 token,太小会把正文挤没。思考等级可用环境变量 GEMINI_THINKING_LEVEL 调整)。

Returns: Gemini 生成的视频内容描述文本(末尾可能带用量统计或截断提示)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hintNo
pathYes
promptNo
personaNo
low_resolutionNo
max_output_tokensNo
Behavior5/5

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

No annotations are provided, so the description carries full burden. It discloses the upload to Gemini, conditional parameter interactions (prompt overrides persona/hint), internal token counting (thinking tokens count toward max_output_tokens), low_resolution speed tradeoffs, and return-value caveats (usage stats/truncation). This is very transparent.

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 front-loaded with the core purpose, then organized into Args and Returns sections. Though lengthy, every sentence adds value—format support, parameter semantics, conditional overrides, and token behavior—without redundancy. It is efficiently structured for a complex tool.

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?

The tool has no output schema, but the Returns section clearly describes the output. All parameter interactions, edge cases (e.g., 2048 token floor, thinking token consumption, environment variable), and behavioral notes (e.g., .gif not frame-sampled) are covered. The complexity is fully addressed; no gaps remain.

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?

Schema description coverage is 0%, but the description explains all 6 parameters in detail: path (absolute path recommendation), prompt (overrides defaults and ignores persona/hint), persona (appends to default prompt only when prompt absent), hint (injects background context into default template), low_resolution (token rate tradeoff), and max_output_tokens (default, floor, thinking token interaction). This fully compensates for the missing schema descriptions.

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 opens with a specific verb+resource: '把本地视频交给 Gemini 直传识别,返回按时间轴分段的详细内容描述(画面 + 音轨)'. It clearly states what the tool does (describes local videos via direct upload to Gemini) and distinguishes itself from the sibling 'describe_video_url' by emphasizing local file paths and direct upload.

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?

It provides clear context on when to use: for local video files with supported formats (mp4/mov/webm/avi/mkv) and .gif. However, it does not explicitly mention when not to use it or name alternatives like describe_video_url, so it falls short of a 5.

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/SolenmeChiara/Gemini_Video_MCP'

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