Skip to main content
Glama

video_recognition

Analyze and describe a video using AI. Provide a local file path or a URL from Bilibili or YouTube; the tool downloads the video and processes it with a custom prompt.

Instructions

Analyze and describe a video using Google Gemini AI. The "filepath" argument accepts EITHER a local file path OR a video URL (e.g. a Bilibili or YouTube link). URLs are downloaded automatically (<=480p) before analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptNoCustom prompt for the recognitionDescribe this content
filepathYesPath to the media file to analyze
modelnameNoGemini model to use for recognitiongemini-2.0-flash
Behavior4/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 that URLs are downloaded automatically and limited to 480p, and mentions the use of Gemini AI. It does not detail output format, auth, or rate limits, but for a analysis tool the basic behavior is well covered.

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?

Two sentences, front-loaded with purpose, no superfluous information. Every sentence adds value.

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 no output schema and 3 parameters (1 required), the description covers purpose, input variants, and a key behavioral detail (480p download). It does not explain return values, but that is acceptable without an output schema.

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

Parameters4/5

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

With 100% schema coverage, baseline is 3. The description adds significant value by clarifying that filepath accepts both local paths and URLs, and that URLs are downloaded automatically, which is not evident from the schema alone.

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 analyzes and describes a video using Google Gemini AI, and distinguishes it from sibling tools (audio_recognition, image_recognition) by focusing on video input.

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 explains when to use the tool (to analyze a video) and provides guidance on input types (local file or URL) and automatic download limitation (<=480p). It does not explicitly mention when not to use, but the context is clear.

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/tsukikagehoshi/mcp-video-recognition-bilibili'

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