Skip to main content
Glama

Nullroute x402 Agent Toolkit

YouTube Transcript & Metadata Scraper - Captions, Timestamps, Any Language ($0.01 USDC)

youtube_transcript_scraper
Read-onlyIdempotent

Extracts timestamped captions, full plain-text transcript, title, channel, duration, and view count for YouTube watch, Shorts, or youtu.be URLs. Videos without captions return 422 and are never charged. [x402 Paid Tool: $0.01 USDC on Base (eip155:8453). Plain HTTP endpoint: POST https://nullroute-x402.nr-edge-8492.workers.dev/tools/youtube-transcript-scraper — 4xx/5xx upstream misses are never charged.]

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": {
      "videos": "<videos>"
    },
    "name": "youtube_transcript_scraper"
  }
}

Input Schema

NameRequiredDescriptionDefault
videosYesYouTube video URLs or 11-character video IDs.
languageNoPreferred ISO language code (e.g. en, es, de).en
_x402PaymentSignatureNoOptional Base64 x402 PAYMENT-SIGNATURE payload (if not sent via HTTP PAYMENT-SIGNATURE header or plain HTTP x402 call to https://nullroute-x402.nr-edge-8492.workers.dev/tools/youtube-transcript-scraper).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, so the bar is lower; the description still adds real behavioral facts beyond them — the $0.01 USDC price on Base (eip155:8453), the raw HTTP endpoint and method, and the important billing guarantee that 4xx/5xx upstream misses and missing-caption 422s are never charged. What it omits is rate limiting, latency expectations, and what the paid result looks like (shape of the timestamped captions), which are the remaining disclosure gaps.

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?

The first sentence front-loads what is returned and for which URL forms; the second covers the no-caption failure policy; the bracketed block packs pricing and endpoint details. Dense but ordered, with no wasted clauses — though the payment-endpoint string is long enough that it competes with the functional description for attention.

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, so the description carries the burden of describing returns, and it does list the returned fields — that is the strongest part. It is nonetheless thin for a paid, network-dependent tool: no mention of the 3-video batch limit, no indication of how the payment signature parameter interacts with the HTTP header, and no statement about partial failures when only some URLs lack captions.

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%, so the schema already documents 'videos', 'language', and the x402 payment signature field; a baseline of 3 applies. The description adds no syntax detail beyond the schema — it does not say whether 'language' is a preference with fallback or a hard filter, and it does not restate the 3-video maximum.

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?

Opens with a specific verb and resource ('Extracts timestamped captions, full plain-text transcript, title, channel, duration, and view count') and enumerates the supported URL shapes (watch, Shorts, youtu.be), so an agent knows exactly what it gets back. It does not distinguish itself from any sibling, but the sibling list contains no overlapping transcript/caption tool, so nothing is ambiguous in practice.

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?

Gives one clear conditional: videos without captions return 422 and are never charged, which tells the agent the failure mode. It never states when to prefer this tool over an alternative, nor does it mention the cap of 3 videos per call or when a batch should be split — usage context is implied rather than spelled out.

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.

Resources