Skip to main content
Glama

audio_record

Destructive

Records a configured FFmpeg audio input to a file for a set duration after explicit consent, so you can capture Studio preview audio; start it before requesting the preview.

Instructions

Record the explicitly configured FFmpeg audio input. Requires consent to recording and local device setup; can capture other applications if not isolated. Start before requesting a Studio preview.

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": {
      "file": "<file>",
      "seconds": "<seconds>",
      "capture_authorized": "<capture_authorized>"
    },
    "name": "audio_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesRelative audio file path within --media-dir
secondsYes
capture_authorizedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the description does not need to restate safety. It does add meaningful behavioral context beyond them: the consent requirement, the local device setup prerequisite, and the risk that it can capture other applications' audio if the environment is not isolated — a real side-effect disclosure. It does not explain what `destructiveHint` means for the target file (for example, whether overwriting is allowed), which would have pushed this to 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.

Conciseness4/5

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

Three dense sentences, front-loaded with the action, then the prerequisites, then the ordering constraint. No filler. It is slightly telegraphic — 'the explicitly configured FFmpeg audio input' assumes the agent already knows what configuration is — but nothing is wasted.

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

Completeness3/5

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

For a three-parameter destructive capture tool with no output schema, the description covers the prerequisites, the side-effect risk, and the workflow ordering. It omits the output file semantics (format, overwrite behavior) and the meaning of the duration parameter, which an agent would need before recording.

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

Parameters2/5

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

Schema coverage is only 33%: `seconds` has bounds but no description, and `capture_authorized` has only a const value. The description's 'requires consent to recording' partially explains the boolean, but it says nothing about what `seconds` controls (duration, capped at 60) or the consequences of exceeding it. With low coverage, the description should compensate more than it does.

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 opens with a specific verb and resource: 'Record the explicitly configured FFmpeg audio input.' That distinguishes it from siblings like audio_measure, audio_compare, and audio_listen, which analyze rather than capture. It never states that the result is written to the `file` path, but the intent to capture and produce an artifact is clear.

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?

The description gives real context and a prerequisite: 'Requires consent to recording and local device setup' and 'Start before requesting a Studio preview.' The ordering instruction tells an agent when in a workflow to call it. It falls short of a 5 because it never names an alternative to use instead, nor a when-not-to-use case.

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