Skip to main content
Glama
ilinxa-capture

ilinxa-capture

Official
by ilinxa

capture_extract_and_compose

Extract video frames and compose them into grid sheets in one operation, including URL downloads, returning frame and sheet paths for analysis.

Instructions

Extract frames from a video and compose them into grid sheets in one operation. Downloads URLs via yt-dlp automatically. Returns both frame and sheet file paths. 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>",
      "mode": "<mode>"
    },
    "name": "capture_extract_and_compose"
  }
}

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
modeYesGrid mode: 1 (single/overlay-only), 4 (2x2), 16 (4x4)
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
max_sheet_edgeNoLongest grid sheet edge in pixels; frames shrink to fit. 0 = no limit. Defaults to MAX_SHEET_EDGE for the llm preset, no limit otherwise
overlay_timestampNoOverlay the frame's real timestamp on each cell
overlay_frame_numberNoOverlay frame number on each cell

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this writes files and reaches the network; the description usefully confirms yt-dlp downloading and that both frame and sheet paths are returned. It omits where files land, whether existing sheets are overwritten, and what the async response contains (job id?) — meaningful gaps for a write+network tool.

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 short sentences, each earning its place: what it does, the download side effect and return shape, and the long-video escalation path. Core purpose is front-loaded in the first sentence.

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 14-parameter composite tool with no output schema, the description covers the workflow end to end (source resolution, extraction, sheet composition, return values, async path). Remaining detail — grid mode meanings, preset tradeoffs, range units — is fully specified in the schema, so little is missing.

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 per-parameter meaning is already documented in the schema, including mode, preset, fps, and async. The description adds one genuinely helpful piece beyond the schema: that async jobs are polled via capture_job_status, which the schema's 'return a job immediately' wording does not explain.

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 pair (extract + compose) and resources (video frames, grid sheets), and the phrase 'in one operation' distinguishes it from a two-step extract-then-compose path. It does not explicitly name capture_extract/capture_compose as the alternatives, so routing relies on inference.

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 concrete conditional guidance: 'For long videos, pass async: true and poll capture_job_status,' naming the follow-up tool. It lacks an explicit statement of when to use this combined tool versus the separate extract/compose siblings.

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