Skip to main content
Glama
ScaleReach MCP Server

ScaleReach MCP Server

by hevink

validate_youtube_url

Validate a YouTube URL and retrieve video title, duration, and channel before clipping, confirming the video exists so users can review what they are about to submit.

Instructions

Validate a YouTube URL and get video info (title, duration, channel) before submitting. Use this first to confirm the video exists and show the user what they're about to clip.

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

Input Schema

NameRequiredDescriptionDefault
urlYesYouTube video URL to validate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.3

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the returned fields and the existence check, but says nothing about failure modes (invalid or non-YouTube URL), whether a remote lookup occurs, or any rate/permission constraints.

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?

Two short sentences, front-loaded with the action and the returned data, then the usage rule. No filler and nothing 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?

For a single-parameter tool with no output schema, describing the return fields is valuable and it does so. The main remaining gap is error/invalid-input behavior, which matters for a validation tool.

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?

Only one parameter, documented at 100% schema coverage, so the schema already defines it as a URI-format 'YouTube video URL'. The description adds no further semantics such as accepted URL forms (watch, short link, channel URL), leaving it at the baseline.

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 (validate a YouTube URL) and names the concrete payload it returns (title, duration, channel). The phrase 'before submitting' implicitly separates it from submit_youtube_video, though no sibling is named outright.

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?

Gives clear sequencing guidance — 'Use this first' and 'before submitting' — and explains the intent (confirm the video exists, show the user what they're about to clip). It does not state when to skip validation or what to do on failure, so it stops short of explicit exclusions.

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