Skip to main content
Glama

describe_video_url

Describe video content from direct video URLs or YouTube links with Gemini AI, returning timestamped descriptions and supporting custom prompts.

Instructions

从【网络直链】下载、或从【YouTube 视频页】云端直读视频再交给 Gemini 识别,返回按时间轴分段的中文描述。

两种输入都支持:

  • 视频文件直链(以 .mp4/.mov/.webm 等结尾、点开就是视频本体):下载到服务器 temp_media/ 临时目录, 识别完就删掉。

  • ✅ YouTube 视频页链接(youtube.com/watch、youtu.be 短链、shorts 等)可以直接传,服务器不下载、 由 Gemini 云端直读;仅支持公开视频(私享/会员/年龄限制的不行),免费层每天有 YouTube 总时长限额, 长视频照常按秒计费。

⚠️ B站/抖音/TikTok 等其他平台页面仍不支持(那需要 yt-dlp 之类工具,本服务器暂不支持)。 若给的是这类平台页面链接、或链接打开是网页而非视频文件,会明确报错。

其余参数(prompt/persona/hint/low_resolution/max_output_tokens)含义与 describe_video 完全一致。

Args: url: 视频文件的 http/https 直链,或 YouTube 视频页链接(youtube.com/watch、youtu.be、shorts)。 prompt: 自定义提示词,传了就完全覆盖默认模板(此时 persona/hint 被忽略)。 persona: 可选人设,仅在未传 prompt 时生效。 hint: 可选前置线索,仅在未传 prompt 时生效。 low_resolution: 低清省钱开关,默认关闭。 max_output_tokens: 最大输出 token,默认 30000(内部有 2048 下限保护)。

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

Input Schema

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

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

With no annotations, the description fully discloses behaviors: temporary download to temp_media/ with deletion, YouTube cloud-read without download, public-only restriction, daily quota limits, per-second billing, unsupported platform errors, parameter precedence (prompt overrides persona/hint), and output characteristics. This is comprehensive beyond minimal expectations.

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 well-structured with an overview, bullet points, warning, parameter references, and returns. It is somewhat lengthy but every part adds necessary detail for a complex tool. The redundancy of listing parameters after saying they match describe_video is minor and acceptable for self-containment.

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?

Given no output schema and 6 parameters, the description is highly complete: it covers input formats, limitations, side effects, error cases, parameter dependencies, and return value format (with usage stats/truncation hints). No critical context is missing for an agent to invoke the tool correctly.

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?

Despite 0% schema_description_coverage, the description thoroughly explains every parameter: url supplies type specifications, prompt/persona/hint precedence, low_resolution purpose, and max_output_tokens default with 2048 lower-limit protection. This fully compensates for the schema's lack of 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 clearly states it downloads from a direct link or cloud-reads from a YouTube page, then sends to Gemini for Chinese timeline-segmented description. This distinguishes it from sibling describe_video by focusing on URL inputs, with explicit mention of supported URL types.

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: direct video file links or YouTube page links. It also lists exclusions (Bilibili/Douyin/TikTok unsupported) and error behavior. However, it does not explicitly contrast with sibling describe_video beyond referencing it for parameter semantics, so a slight gap in direct alternative guidance exists.

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