Skip to main content
Glama

web_video

Read-only

Extract captions, chapters, and timed contact sheets from a video, transcribe speech when captions are missing, and locate or inspect specific moments by time, crop, or query.

Instructions

What a video says and shows: captions and chapters as one [m:ss] timeline (speech transcribed when there are none), and timed contact sheets of the whole video, as files. Look closer with start/end, at, crop; find a moment with query. web_fetch on a video page returns only its description. An encrypted stream is reported as drm, never read.

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": {
      "url": "<url>"
    },
    "name": "web_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoExact moments
endNoIts end
urlYes
cropNoPart of the frame: x,y,w,h in 0..1
langNoCaption language to prefer, e.g. es
waitNoAs on web_fetch
queryNoFind where this is said or shown; English for pictures
startNoPart to look at: seconds or m:ss
cursorNoContinue a cut result
framesNoMoments to capture, max 120; 0 = no pictures
profileNoCookies of a saved login profile
out_fileNoWrite the timeline here, return the path
max_tokensNoDefault 25000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.1.0
    • addedInput schema / properties / at
      Added value: +{
      +  "description": "Exact moments",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / crop
      Added value: +{
      +  "description": "Part of the frame: x,y,w,h in 0..1",
      +  "type": "string"
      +}
    • addedInput schema / properties / end
      Added value: +{
      +  "description": "Its end",
      +  "type": "string"
      +}
    • changedInput schema / properties / frames / description
      Previous value: -"Keyframes to save where the picture changes, max 24"New value: +"Moments to capture, max 120; 0 = no pictures"
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Find where this is said or shown; English for pictures",
      +  "type": "string"
      +}
    • addedInput schema / properties / start
      Added value: +{
      +  "description": "Part to look at: seconds or m:ss",
      +  "type": "string"
      +}
  2. Changed8 schema fields changedv2.0.0
    • changedInput schema / properties / cursor / description
      Previous value: -"The `cursor` of a truncated result."New value: +"Continue a cut result"
    • changedInput schema / properties / frames / description
      Previous value: -"Keyframes to capture where the picture changes, up to 24; paths land in the timeline."New value: +"Keyframes to save where the picture changes, max 24"
    • changedInput schema / properties / lang / description
      Previous value: -"Caption language to prefer, e.g. \"es\"."New value: +"Caption language to prefer, e.g. es"
    • changedInput schema / properties / max_tokens / description
      Previous value: -"Cap on the timeline returned. Default 25000."New value: +"Default 25000"
    • changedInput schema / properties / out_file / description
      Previous value: -"Write the timeline here and return the path."New value: +"Write the timeline here, return the path"
    • changedInput schema / properties / profile / description
      Previous value: -"Profile saved by web_login whose cookies to use."New value: +"Cookies of a saved login profile"
    • removedInput schema / properties / url / description
      Removed value: -"A video page, a page embedding a player, or a player address."
    • addedInput schema / properties / wait
      Added value: +{
      +  "description": "As on web_fetch",
      +  "type": "integer"
      +}
  3. Addedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly and openWorld, but the description adds substantive behavior: output is written as files, speech is transcribed when no captions exist, and encrypted streams are reported as `drm` and never read. It stops short of covering pagination/cursor semantics or cost implications of large frame counts.

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?

Content is front-loaded into one dense opening sentence naming the outputs, followed by short guidance clauses. The telegraphic fragments ('Look closer with start/end, at, crop') are efficient but read slightly clipped rather than fully polished.

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 13-parameter, no-output-schema tool, the description covers what is returned (timeline, contact sheets as files), fallback behavior for missing captions, and DRM handling. Missing only minor operational detail such as cursor continuation behavior and file-size/rate expectations.

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 92%, so the schema already carries nearly all parameter meaning; the description mainly reinforces start/end/at/crop/query roles in prose. It adds little beyond what the schema states, so the baseline of 3 applies.

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?

Names a specific resource (video) and precise outputs: a [m:ss] timeline of captions/chapters, speech transcription when captions are absent, and timed contact sheets delivered as files. It explicitly distinguishes itself from web_fetch, which 'returns only its description' on a video page.

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?

Gives explicit routing guidance against the closest sibling ('web_fetch on a video page returns only its description') and tells the agent which parameters narrow the view (start/end, at, crop) versus search a moment (query). No explicit negative case beyond the DRM note, so not a full 5.

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