Skip to main content
Glama

watch_video

Fetch Bilibili video metadata, subtitles, danmaku, contact sheets, and optional frames to understand content without downloading full videos.

Instructions

Fetch materials of a Bilibili video for comprehension: metadata, subtitle text, danmaku, sprite keyframe contact sheets, and optional hi-res frames.

Args: video: BV id or full Bilibili video URL, e.g. "BV1GJ411x7h7". with_frames: also download a low-quality stream and extract frames (uniform samples + scene cuts, 854px wide; screen text is readable). Use for hands-on/coding-demo videos. Slower (downloads video stream). max_frames: frame budget for the with_frames mode. subtitle_max_chars: char budget for inline subtitle text.

Returns a text report: metadata, inline subtitle text, and absolute file paths (read images with your file-read tool).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "video": "<video>"
    },
    "name": "watch_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYes
max_framesNo
with_framesNo
subtitle_max_charsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a fair job: it discloses that with_frames downloads a stream and is slower, gives the frame width (854px) and extraction strategy (uniform samples + scene cuts), and tells the agent to open returned paths with a file-read tool. It omits failure modes (invalid BV id, geo/region restrictions, auth) and any rate-limit or size limits for the returned assets.

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?

A summary sentence comes first, followed by a compact per-parameter block and a returns note; each line carries information. The formatting is docstring-style rather than prose, which is slightly less scannable but nothing is padded.

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?

For a four-parameter fetch tool this covers what an agent needs: input format, optional mode tradeoffs, budgets, and how to consume returned file paths. The returns note partly restates the output schema (and omits danmaku from the listed output while naming it as a fetched material), a minor inconsistency but not a blocking gap.

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?

Schema description coverage is 0%, so the description must supply all meaning, and it documents all four parameters: the video format (BV id or full URL) with a concrete example, the behavior and cost tradeoff of with_frames, and the budgets for max_frames and subtitle_max_chars. The two budget params are explained only in one short phrase each, with no guidance on reasonable values or what truncation looks like.

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 opens with a specific verb + resource ("Fetch materials of a Bilibili video") and enumerates exactly what is retrieved: metadata, subtitle text, danmaku, sprite contact sheets, and optional frames. The name and sibling search_videos make the fetch-vs-search split obvious, though the description itself doesn't explicitly contrast with that sibling.

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 gives explicit conditional guidance for the optional mode: "Use for hands-on/coding-demo videos" for with_frames, plus a stated cost (slower, downloads the video stream). It does not state when to prefer search_videos over this tool or any exclusion cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools