Skip to main content
Glama
ilinxa-capture

ilinxa-capture

Official
by ilinxa

capture_extract

Extract frames from videos at a chosen FPS or interval, optionally within a time range. Automatically downloads URLs and returns file paths with real timestamps.

Instructions

Extract frames from a video, at a rate (fps or every_seconds) and optionally from a time range. Downloads URLs via yt-dlp automatically. Returns absolute file paths and each frame's real timestamp. For long videos, pass async: true and poll capture_job_status.

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_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the range to process: seconds, MM:SS or HH:MM:SS
fpsNoFrames per second to sample, 0.001-30. Fractions are allowed
asyncNoReturn a job immediately instead of waiting for the result
startNoStart of the range to process: seconds, MM:SS or HH:MM:SS
widthNoCustom width in pixels (only with preset=custom)
formatNoOutput format (only with preset=custom)
presetNoQuality preset: llm (1024px JPEG 80%), high (original PNG), customllm
sourceYesVideo file path or URL
qualityNoJPEG quality 1-100 (only with preset=custom)
every_secondsNoSample one frame every N seconds, instead of fps

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description adds substantive context — automatic yt-dlp downloading of URLs, disk output as absolute file paths, real per-frame timestamps, and the non-blocking async job path. It is consistent with the annotations (frame extraction writes files and reaches the network) but does not mention overwrite behavior, storage location policy, or expected output volume.

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?

Three sentences, front-loaded with the core action and sampling modes, then the download behavior, then the async escape hatch. Every sentence carries information an agent needs and nothing is repeated from the schema.

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 10-parameter tool with no output schema, the description covers the essentials: inputs handled automatically, return shape (absolute paths plus timestamps), and the long-job pattern routed to capture_job_status. Gaps are minor — no expectation of frame counts, size limits, or how partial failures are reported.

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%, so all ten parameters are already documented, including enum values and ranges; baseline is 3. The description adds only marginal semantics by framing fps and every_seconds as alternative rate selectors, but says nothing about preset trade-offs, default behavior, or what width/quality/format are ignored outside preset=custom.

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?

Names a specific verb and resource (extract frames from a video) plus the two sampling modes and optional time range, so the agent knows exactly what the tool produces. It does not explicitly distinguish itself from likely-overlapping siblings such as capture_shots or capture_extract_and_compose, so it stops short of a 5.

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 actionable context: use async:true plus capture_job_status for long videos, and URLs are handled automatically so no separate download step is needed. It offers no exclusion guidance (e.g. when to prefer capture_shots or capture_video_download instead), so it is clear but not exhaustive.

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