Skip to main content
Glama

redact_audio

Transcribe an audio file and redact sensitive names, numbers, and health data from both the transcript and audio to protect privacy before sharing.

Instructions

Transcribe an audio file and silence PII/PHI (names, numbers, health data) in text and audio.

The audio is uploaded to Modulate's Velma API. Detection is automated and can miss items: always spot-check the redacted transcript and audio before sharing. Allowed formats: aac, aiff, flac, mov, mp3, mp4, ogg, opus, wav, webm. Max 100 MB. The redacted MP3 is saved under <VELMA_MCP_BASE_PATH>/velma-output/, or served as an MCP resource, or both, depending on VELMA_MCP_OUTPUT_MODE.

file_path: path to the audio file, relative to VELMA_MCP_BASE_PATH or absolute inside it. language: optional ISO 639-1 hint such as 'en'. Omit to auto-detect. speaker_diarization: label speakers (API default is true). Omit to use the default.

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_path": "<file_path>"
    },
    "name": "redact_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNo
file_pathYes
speaker_diarizationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations present, the description carries the full burden and does well: it discloses that audio is uploaded to a third-party API (Modulate's Velma), that automated detection can miss items and output must be spot-checked, plus format and size limits and where output lands. It omits whether the original file is modified, auth requirements, and processing-time or rate-limit expectations.

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?

The core action and the key safety caveat are front-loaded, followed by a compact block of operational constraints and per-parameter notes. Dense but nearly every sentence carries information; only the output-mode sentence is slightly convoluted.

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?

An output schema exists, so return values need not be explained, and the description covers limits, caveats, and output destinations well. It still leaves open whether the source audio is overwritten and what credentials or permissions the third-party upload requires, which matters for a tool that transmits sensitive media externally.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate and it does: file_path is defined as relative to VELMA_MCP_BASE_PATH or absolute inside it, language is explained as an optional ISO 639-1 hint with auto-detect on omission, and speaker_diarization is noted as defaulting to true. All three parameters gain meaning not present in the schema.

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 leads with a specific compound verb and resource: transcribe audio and silence PII/PHI in both text and audio. That clearly separates it from a plain transcription sibling, but it never names transcribe_audio as the no-redaction alternative, leaving the distinction implicit rather than stated.

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?

Usage context is implied by the PII/PHI framing and reinforced by the 'always spot-check' caution, so an agent can infer when the tool fits. However, there is no explicit when-not-to-use guidance and no alternative named among siblings such as transcribe_audio or transcribe_multilingual_fast.

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