Skip to main content
Glama

Get video metadata

youtube_video
Read-onlyIdempotent

YouTube API: Get video metadata. Title, description, channel, duration, views, likes, comment count, tags and categories. Price: 1 credit per call; failed calls are free.

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_id": "<video_id>"
    },
    "name": "youtube_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes11-character video ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavioral context — the 1-credit-per-call cost model and that failed calls are free — which lets an agent reason about retry economics. Remaining gaps (rate limits, behavior on private/deleted videos) are minor.

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?

Two tight sentences plus a pricing note, with the core purpose front-loaded. The "YouTube API:" prefix is mild filler but the field enumeration and cost disclosure each earn their place; 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?

No output schema exists, so the description carries the return-value burden — and it does so by listing the metadata fields returned. Combined with the cost note and a fully documented single parameter, the definition is nearly complete for a simple one-argument read tool; only edge-case behavior (invalid/private video IDs) is 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?

With a single parameter at 100% schema description coverage ("11-character video ID"), the schema already carries the full burden. The description adds nothing about the identifier's format or where to obtain it, so it earns the baseline rather than more.

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 video metadata") and enumerates the returned fields, which implicitly separates it from youtube_video_chapters, youtube_video_comments and youtube_transcript. It stops short of explicitly naming which sibling to use for chapters/comments/transcripts, so an agent must infer the boundary itself.

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 tell it is the general metadata fetch for a single video ID, but there is no explicit when-to-use statement, no note on when to prefer youtube_video_chapters or youtube_video_comments, and no prerequisites (public vs. unlisted videos, auth) are mentioned.

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.