Skip to main content
Glama

Pipefetch

YouTube video details

youtube_video
Read-only

Get the details of one public YouTube video: exact view, like and comment counts, description, publish date, duration, tags, chapters and channel. Costs 1 Pipefetch 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": {
      "video": "<video>"
    },
    "name": "youtube_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesA YouTube video ID or any YouTube video URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), yet the description still adds two pieces of real operational context: the call consumes 1 Pipefetch credit, and only public videos are supported. It stops short of saying what happens on a private or deleted video ID.

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 lists the payload, followed by a short cost note. No filler, no restatement of the name or title.

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?

There is no output schema, so the field enumeration (view/like/comment counts, description, publish date, duration, tags, chapters, channel) carries the return-value burden and does it well. Minor gaps remain around error behavior for non-public videos and whether the response is a single object.

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?

With one parameter at 100% schema coverage, the schema already explains that the input is a video ID or any YouTube URL. The description adds only the "public" qualifier and no format or normalization details, so it neither compensates nor needs to.

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 ("Get the details of one public YouTube video") and enumerates the returned fields, which makes it clearly distinct from channel-level or comment-level siblings. It never names an alternative tool, so the differentiation is inferred from scope rather than stated.

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?

The word "public" implies a prerequisite (private/unlisted videos are out of scope), and the field list hints that this is metadata-only rather than transcript or comment text. But there is no explicit when-to-use vs. youtube_transcript, youtube_comments, or youtube_channel guidance, and no stated failure conditions.

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.