Skip to main content
Glama
ilinxa-capture

ilinxa-capture

Official
by ilinxa

capture_metadata

Read-only

Extract video metadata such as duration, resolution, FPS, and codec from local files or URLs; URL sources are downloaded with yt-dlp before analysis.

Instructions

Get video metadata (duration, resolution, FPS, codec) from a local file or URL. URLs are downloaded via yt-dlp first.

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": {
      "source": "<source>"
    },
    "name": "capture_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesVideo file path or URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=true, but the description adds a genuinely non-obvious behavior: URLs are fetched via yt-dlp before metadata is read, which implies a network download, added latency, and possible external dependency failures. It does not describe error behavior for unreachable URLs or unsupported codecs, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler: the first states the action and the returned fields, the second front-loads the one surprising behavior (URL download). Nothing is redundant or buried.

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?

With no output schema, the description compensates by naming the returned metadata fields, and for a single-parameter tool the input story is complete. The remaining gap is failure semantics for bad paths or failed downloads, which an agent would want to know before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents source as 'Video file path or URL', so the baseline is 3. The description adds value by pairing the URL input with the yt-dlp download behavior, telling the agent that the same parameter triggers two materially different execution paths.

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?

The description uses a specific verb-resource pair ('Get video metadata') and enumerates exactly what is returned (duration, resolution, FPS, codec), so the agent knows precisely what the tool produces. It stops short of naming a sibling or explicitly contrasting itself with capture_video_download or capture_extract, so it is clear but not fully differentiated.

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?

Usage is implied by the stated input domain: a local file path or a URL. There is no explicit when-to-use versus when-not guidance and no named alternative for cases such as probing remote formats without downloading, so the agent must infer routing from sibling names alone.

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