Skip to main content
Glama
Decodo MCP Server

Decodo MCP Server

by Decodo

YouTube Metadata

youtube_metadata
Read-only

Fetch a YouTube video's title, channel, views, and description by video ID via the Decodo Web Data API, returning structured JSON for video lookup and enrichment.

Instructions

Fetch a YouTube video's metadata by video ID through the Decodo Web Data API (youtube_metadata target) and return it as JSON, such as title, channel, views and description. Use it when you know the video ID and need details about the video. Docs: https://help.decodo.com/docs/web-scraping-youtube-metadata

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": {
      "query": "<query>"
    },
    "name": "youtube_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesYouTube video ID (e.g., "dFu9aKJoqGg")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 the safety profile is covered. The description adds the underlying API target and that output is JSON, but says nothing about failure behavior for invalid/private IDs, rate limits, or latency on an open-world scraping call.

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 sentences plus a docs link, front-loaded with the core action and the return shape. The final usage sentence is slightly redundant with the opening but still short and functional.

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 one-parameter, read-only fetch with no output schema, the description covers action, input requirement, and example return fields. Missing specifics about error handling for unknown IDs are minor given the simplicity and the attached docs link.

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% with a single `query` parameter already documented as the video ID with an example. The description restates "by video ID" without adding format rules (e.g., accepting full URLs vs bare IDs) beyond what the schema provides, so baseline 3 applies.

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: fetch a YouTube video's metadata by video ID, routed through the Decodo Web Data API's `youtube_metadata` target, returning JSON. It also names example return fields (title, channel, views, description), which goes beyond a tautological restatement of the name. It only implicitly separates itself from siblings like youtube_search or youtube_channel by requiring a known video ID.

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

Usage Guidelines4/5

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

"Use it when you know the video ID and need details about the video" gives a clear precondition (ID already known) that distinguishes it from a search-style lookup. There are no explicit exclusions or named alternatives, so it stops short of full when/when-not guidance.

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