Skip to main content
Glama

Get Video Info

get_video_info

Fetch YouTube video metadata from a URL or video ID to obtain title and description details for identification and inspection.

Instructions

Get metadata from a YouTube video.

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_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesYouTube URL or video ID

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.4
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / url / description
      Added value: +"YouTube URL or video ID"
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it says nothing about what "metadata" actually includes (title, channel, duration, stats), authentication or API-key needs, rate limits, or behavior on invalid/private/deleted video IDs. For a network-backed lookup tool this is a significant gap.

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 single clean sentence with the core action front-loaded and no filler. It is efficient, though its brevity contributes to the gaps noted in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and the parameter is fully documented, so return shape and input syntax are covered elsewhere. However, given zero annotations and no sibling or error-handling guidance, an agent still lacks enough context to know when this tool is the right choice.

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 coverage is 100% and the single url parameter is documented as "YouTube URL or video ID", so the schema does the work. The description adds no format detail (e.g., whether full URLs with timestamps or playlists are accepted) beyond what the schema already provides, matching the baseline 3.

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 ("Get metadata") and resource ("YouTube video"), which is enough to tell it apart from the sibling get_transcript in substance. It does not explicitly name or contrast with that sibling, so it stops short of a 5.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, no prerequisites, and never mentions the obvious alternative (get_transcript) or when metadata is preferred over transcript content. The only direction is implied by the resource noun.

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