Skip to main content
Glama

record_audio

Captures Mac microphone audio for a specified duration and returns the WAV file path, useful for saving what a connected iOS device plays.

Instructions

Record the Mac microphone for a number of seconds (e.g. to capture what the device plays). Returns the WAV path.

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": {
      "seconds": "<seconds>"
    },
    "name": "record_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
secondsYesLength to record, up to 300; the file can run about 1 s longer
audioDeviceNoMac input name substring (default: built-in mic, never an iPhone/iPad mic)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • addedInput schema / properties / seconds / description
      Added value: +"Length to record, up to 300; the file can run about 1 s longer"
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) establish that this creates a local artifact without being destructive, and the description adds the missing piece — it returns a WAV path, which matters because there is no output schema. Gaps remain: it does not say where the file is written, whether it overwrites earlier recordings, or that macOS microphone permission may be prompted.

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: the action and scope first, the return value second. Nothing is redundant and the key information is front-loaded.

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 two-parameter capture tool with full schema coverage and annotations, the definition covers what it does and what it returns. Only the output file location and any permission/overwrite behavior are left unstated, which are minor for this complexity level.

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% and both parameters (seconds with a 300 max and the ~1 s overrun, audioDevice as a name substring with a default) are fully documented in the schema. The description adds no parameter detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Record the Mac microphone") plus a concrete intent example ("capture what the device plays") and the return type ("WAV path"). It is trivially distinguishable from every UI-automation sibling, which are all input/interaction tools.

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 parenthetical "e.g. to capture what the device plays" gives a clear scenario that tells an agent when this tool is the right choice. There is no explicit when-not guidance or named alternative, so it falls short of a 5.

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