Skip to main content
Glama

inspect_video

Fetch video URL metadata without downloading to return duration, available resolutions, and a downloadId for later download.

Instructions

Inspect a video URL without downloading. Returns duration, available resolutions and a downloadId.

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 address the main behavioral risk: it explicitly says no download occurs, so the agent knows there is no media transfer side effect. It also discloses the return payload, though it omits error behavior for invalid URLs and how long the downloadId remains valid.

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 core action and non-download guarantee, then the return values. No filler or redundant restatement of the tool name.

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 read tool with no output schema, the description covers the action, the no-download guarantee, and the shape of the result, which is enough to call it correctly. Only failure modes and downloadId lifetime are left 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?

Schema description coverage is 0%, but there is only one required, self-evident parameter. The description adds modest meaning by specifying it is a 'video URL' (a page/stream URL rather than a local file), yet gives no format, supported-host, or validation detail.

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 ('Inspect a video URL') and names the concrete outputs (duration, resolutions, downloadId), so the agent knows exactly what comes back. The phrase 'without downloading' implicitly separates it from download_video, but the sibling is not named explicitly.

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?

'Without downloading' hints that this is a pre-flight/inspection step and the returned downloadId implies a handoff to download_video, but neither the ordering nor the condition for choosing this tool over the sibling is stated outright. Usage is inferable rather than instructed.

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