Skip to main content
Glama

Audio Trimmer

audio_trimmer

Cuts an audio file down to a start and end time, or removes that section. Input: one file with a public HTTPS download_url. Optional settings for set_trim: startSec, endSec, mode, fade. Optional outputFormat (for example mp3, wav, m4a) and bitrateKbps where the tool supports them. Returns download links for the result, which expire after 1 hour. The server downloads the file from download_url, keeps it in ihateaudio's Cloudflare R2 storage while the job runs, and processes it with the ihateaudio.com tool page in a headless browser on Cloudflare. The input is deleted when the job ends.

Input Schema

NameRequiredDescriptionDefault
filesYesOne input media file.
settingsNoParameters for set_trim: startSec, endSec, mode, fade.
bitrateKbpsNoBitrate for lossy formats, in kbps.
outputFormatNoOutput format, for example mp3, wav, m4a, ogg or flac.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already mark this as a non-readonly, non-destructive, non-idempotent operation, and the description adds a lot beyond that: result links expire after 1 hour, the file is downloaded from download_url, held in R2 during the job, processed via a headless browser, and the input copy is deleted at job end. It doesn't cover auth, quotas, or failure behavior, which keeps it from 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?

The primary behavior is front-loaded in the first sentence, followed by input requirements, optional settings, return behavior, and pipeline details. Every sentence carries information, though the R2/headless-browser processing chain is longer than most callers need.

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?

With no output schema, the description correctly explains that download links are returned and expire in an hour, and it documents the full input lifecycle. The remaining gap is the free-form settings object, whose mode and fade semantics are named but never defined in either schema or description.

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 the baseline is 3. The description echoes the schema's settings fields (startSec, endSec, mode, fade) and adds only a minor qualifier that outputFormat/bitrateKbps apply 'where the tool supports them'; it supplies no units, ranges, or allowed mode values for the free-form settings object.

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 names a specific verb and resource and scope: 'Cuts an audio file down to a start and end time, or removes that section,' which cleanly separates it in concept from siblings like fade_in_out, silence_remover, or audio_splitter. It stops short of explicitly routing the agent away from those near-neighbors, which is what a 5 would require.

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?

It states the input precondition ('one file with a public HTTPS download_url'), which is genuinely usable context, but gives no explicit when-to-use/when-not guidance and never names an alternative tool. Usage is inferable from the trim semantics rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources