Skip to main content
Glama

get_video_info

Read-only

Resolve a YouTube URL or 11-character video ID into its canonical ID, title, channel, and saved transcript versions so you can verify and cite the correct video.

Instructions

Resolve a YouTube video: canonical ID, title, channel, and any transcript versions already saved.

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) or 11-character video ID.
refreshNo

Output Schema

NameRequiredDescriptionDefault
urlYes
titleYes
video_idYes
channel_urlYes
channel_nameYes
saved_tracksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety profile is covered. The phrase 'transcript versions already saved' usefully signals this is a cache/store lookup rather than a network fetch of new transcripts. However, it never explains what the refresh flag does behaviorally, which is the main non-obvious trait of this call.

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?

A single front-loaded sentence with zero filler, leading with the verb and resource before listing outputs. Nothing is redundant.

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 shape needn't be spelled out, and the description correctly focuses on identity resolution. The one real gap is the unexplained refresh parameter and the absence of routing guidance toward transcript-fetching siblings, but for a two-parameter read tool it is largely sufficient.

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

Parameters2/5

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

Schema coverage is 50%: the video parameter is well documented in the schema (URL forms and 11-character ID), but refresh has only a name and default. The description does not compensate at all — refresh is never mentioned, so the agent cannot tell what it re-fetches or when to set it.

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 ("Resolve") and resource ("a YouTube video") and enumerates what comes back: canonical ID, title, channel, and saved transcript versions. It is distinguishable from get_transcript by the metadata scope, though it never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the lookup step for turning a URL/ID into canonical metadata. There is no when-to-use framing and no pointer to get_transcript for actual transcript content versus the 'already saved' listing offered here.

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