Skip to main content
Glama

YouTube Transcript + YouTube Search MCP

Get Video Details

get_video_details
Read-only

Use this when the user asks about a YouTube video's stats or metadata: views, likes, upload date, length, tags, description or thumbnails, or which channel posted it and how many subscribers it has. Does not include what is said in the video: use get_youtube_transcript for that.

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_url": "<video_url>"
    },
    "name": "get_video_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_urlYesYouTube URL (full or short) or an 11-character video ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety behavior is covered. The description adds useful scope boundaries by listing included metadata and explicitly excluding spoken content, but it does not describe return format, error behavior, or rate limits.

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, both front-loaded and purposeful. The first states the use case and included data; the second immediately handles the key exclusion. There is no redundant 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?

For a simple read-only tool with annotations, a fully documented single parameter, and no output schema, the description is nearly complete: it covers included fields and the main exclusion. The only minor gap is that it does not hint at the response shape, though that is not strictly required here.

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 is fully documented in the schema as accepting a YouTube URL or 11-character video ID. The description does not add syntax or format details beyond the schema, so the baseline of 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?

The description uses a specific verb and resource ('Get video details') and enumerates the exact metadata returned: views, likes, upload date, length, tags, description, thumbnails, channel, and subscriber count. This distinguishes it clearly from sibling tools such as get_youtube_transcript.

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

Usage Guidelines5/5

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

It gives explicit when-to-use criteria ('when the user asks about a YouTube video's stats or metadata') and a clear exclusion with an alternative ('Does not include what is said in the video: use get_youtube_transcript for that'). No inference is required.

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.