Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

YouTube Video Details

youtube_video_details

Fetch YouTube video metadata and performance statistics from a public URL, with degradation status and an optional 24-hour cache for repeat requests.

Instructions

YouTube video metadata + stats. Always includes degraded / degradedReason — retry when degraded is true. Costs 1 credit. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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": "youtube_video_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic YouTube video URL, e.g. https://youtube.com/watch?v=ID. Not a TikTok/Instagram/Facebook URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the credit cost (1 credit), the billing exception (empty results and failures are never charged), the guaranteed degraded/degradedReason field, and the default-fresh vs cached behavior. It omits return-shape specifics and any auth/quota limits, which keeps it short of a 5.

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?

Four compact sentences, no filler, with the cost and cache facts front-loaded. The terseness borders on cryptic in places — "degraded" is never defined beyond the field name — but every sentence carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema and no annotations, so the description is the only source of return-value information; "metadata + stats" and the degraded field are the only hints about what comes back. Billing and cache behavior are covered well, but an agent cannot predict the response payload's fields or shape.

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% and the schema already explains both url and cache in detail, including the platform-matching rule. The description's cache note (free 24h hit, default always fresh) restates rather than extends that, so the 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 the resource and output content directly: "YouTube video metadata + stats." The platform is unambiguous (the sibling set includes rumble_video_details, tiktok_video_details, youtube_shorts_details), but the description never explicitly contrasts itself with those siblings, so an agent must rely on the name to route correctly.

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?

Offers invocation-level guidance ("retry when degraded is true", "pass cache=true for a free 24h cache hit") but no tool-selection guidance — it never says to use youtube_transcript or youtube_summarize instead when the goal is text rather than metadata. Usage is implied by the resource name rather than stated.

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

Deploy Server

Other Tools