Skip to main content
Glama

Get YouTube video details

get_video
Read-only

Metadata for one YouTube video: title, description, channel, publish date, duration, view and like counts, tags, category, thumbnails, live status, and chapters. Free on paid plans; Free plan: 10 lookups a day (shared with search and playlists), then 1 credit.

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
urlYesYouTube URL or video ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so safety is covered. The description adds real value beyond that with the cost model: free on paid plans, 10 lookups/day on Free shared with search and playlists, then 1 credit. It does not disclose behavior for private/geo-blocked/deleted videos, which is the main remaining gap.

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 sentences, each earning its place: the first enumerates returned fields, the second carries pricing/quota. Returned content is front-loaded before cost information, with no filler wording.

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?

With no output schema, the description usefully compensates by listing the returned fields, and the quota line covers the operational constraint. For a one-parameter read tool this is close to complete; only failure modes for unavailable videos are unaddressed.

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?

There is a single required parameter at 100% schema description coverage, and the schema already says 'YouTube URL or video ID'. The description adds nothing about accepted URL forms (watch, shorts, youtu.be) or ID format, so the baseline of 3 is appropriate.

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 ('Metadata for one YouTube video') and enumerates exactly which fields come back (title, channel, duration, counts, tags, chapters, live status), which implicitly separates it from get_transcript, get_comments, and get_channel. It stops short of naming any sibling to route away from, so it stays at 4 rather than 5.

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 infers it should call this when it needs single-video metadata, and the quota sentence hints that lookups are costly relative to search/playlists. There is no explicit when-to-use or when-not-to-use guidance, e.g. no pointer to get_transcript for caption text or summarize_video for a condensed view.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources