Skip to main content
Glama

get_video_info

Retrieves YouTube video metadata (title, channel, duration, chapters, upload date, views) without fetching a transcript, so you can check details before pulling a long transcript.

Instructions

Get metadata for a YouTube video: title, channel, duration, chapters, upload date, views.

No transcript is fetched, so this is cheap. Use it before pulling a long transcript.

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

Input Schema

NameRequiredDescriptionDefault
videoYesYouTube URL (watch, youtu.be, /shorts/, /live/, /embed/) or an 11-character video ID.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description does real work: it discloses that no transcript is fetched and that the call is therefore cheap, which is meaningful cost/latency information an agent can act on. It stops short of covering auth requirements, rate limits, or failure behavior for invalid IDs.

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 short sentences, no filler, and the payoff statement ('this is cheap') is front-loaded before the usage advice. Every clause carries information.

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 values need not be re-explained, and the description still names the key fields plus the cost profile and a usage rule. Complete enough for a one-parameter read tool, with only auth and error handling left unstated.

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 100% and the single parameter already documents every accepted URL form (watch, youtu.be, /shorts/, /live/, /embed/) plus the 11-character ID. The description adds nothing about the parameter, so the baseline 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?

States a specific verb (get) and resource (YouTube video metadata) and enumerates the returned fields: title, channel, duration, chapters, upload date, views. The clause 'No transcript is fetched' separates it from the transcript siblings without needing to name them.

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 an explicit usage rule: 'Use it before pulling a long transcript,' which routes the agent to this tool as a cheap pre-check ahead of transcript retrieval. It does not spell out when-not to use it or name the alternative tool directly, so it falls short of a full 5.

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