Skip to main content
Glama

get_video

Read-only

Fetches a YouTube video's details and transcript, caches it after the first retrieval, and returns long transcripts in numbered parts so you can read the full content before writing or analysis.

Instructions

Get a video's details and transcript (cached in the library after the first fetch).

Long videos come in parts of about 6,000 words. Read every part before writing about the video.

Args: url: YouTube link or video ID. part: Which part to return, starting at 1. refresh: Fetch again from YouTube instead of using the saved copy.

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": "get_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
partNo
refreshNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.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 readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior: results are cached locally after the first fetch, long transcripts are chunked into ~6,000-word parts, and refresh bypasses the cache. It does not cover failure modes or what happens when a requested part exceeds the total.

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?

Front-loaded with the core purpose, followed by two short behavioral notes and a compact args block. Every sentence carries information an agent needs; nothing is redundant with the schema or annotations.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers caching, chunking, and refresh adequately for a 3-parameter read tool. The one gap is that an agent is told to read all parts without any hint of how many exist or how to tell it has reached the last one.

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 carry the load, and it documents all three parameters: url accepts a YouTube link or video ID (meaning beyond a bare 'string'), part is 1-based, and refresh re-fetches from source. This compensates well for the empty schema, though it doesn't say how to discover the total number of parts.

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?

States a specific verb and resource: retrieve a video's details and transcript. It also notes the caching behavior that ties it to the library, which implicitly separates it from library-listing siblings, but it never names an alternative tool or explicitly contrasts scope.

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 real usage context: the transcript is cached after the first fetch, and the agent is told to read every part before writing about the video. The refresh parameter's trade-off (re-fetch from YouTube vs. saved copy) is spelled out. It stops short of explicit when-not-to-use guidance or naming a sibling alternative.

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