Skip to main content
Glama
ilinxa-capture

ilinxa-capture

Official
by ilinxa

capture_audio

Extract a video's audio track for speech or music models, choosing stream, sample rate, channels, format, and optional time range.

Instructions

Export the audio track of a video for separate speech or music models, choosing the stream, sample rate, channels and format. With start and end, add timeline_offset to a time in the audio to get a time in the video.

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

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the range to process: seconds, MM:SS or HH:MM:SS
asyncNoReturn a job immediately instead of waiting for the result
startNoStart of the range to process: seconds, MM:SS or HH:MM:SS
formatNoOutput formatwav
sourceYesVideo file path or URL
streamNoWhich audio stream: 0 is the first. See audio_streams in metadata
channelsNo1 for mono, 2 for stereo. Default: as in the source
sample_rateNoSample rate in Hz, e.g. 16000 for speech models. Default: source rate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent knows an artifact is produced and remote sources are reachable, but the description never says what is produced, where it lands, or that an existing file may be overwritten. It also omits any mention of the async path, which changes the return shape entirely (job handle vs. result). For a non-read-only tool with no output schema, this leaves the agent guessing about the side effect.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Two sentences with the core action front-loaded, which is structurally sound. However, the second sentence is dense and introduces a 'timeline_offset' concept with no schema counterpart, so it costs reading effort without resolving anything.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With eight parameters, a write operation, an async mode and no output schema, the description should explain what is returned (file path, job id) and how the range/offset semantics map back to the video. It covers none of the return behavior and its offset sentence points at a field that does not exist here.

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 100%, so all eight parameters are already documented, and the description mostly restates them (stream, sample_rate, channels, format). The second sentence attempts to add meaning about interpreting start/end, but it references 'timeline_offset', which is not a parameter in this schema — a point of confusion rather than added clarity.

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 first sentence names a specific verb and resource: 'Export the audio track of a video', and enumerates the controllable dimensions (stream, sample rate, channels, format). It is clear enough to distinguish from capture_metadata or capture_shots, though it never names a sibling such as capture_extract, so the boundary with the other extraction tools is left implicit.

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?

The phrase 'for separate speech or music models' implies a use case (feeding downstream ASR/music pipelines), but there is no explicit when-to-use vs. when-to-use-something-else guidance and no statement of prerequisites. An agent must infer from the name and siblings when to pick this over capture_extract.

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