Skip to main content
Glama

compress_audio

Compresses audio files larger than 25 MB to reduce size for processing. Use when file size causes other tools to fail.

Instructions

A tool used to compress audio files which are >25mb. ONLY USE THIS IF THE USER REQUESTS COMPRESSION OR IF OTHER TOOLS FAIL DUE TO FILES BEING TOO LARGE.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_file_nameYes
max_mbNo
output_file_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
output_fileYesName of the processed audio file
Behavior4/5

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

With no annotations, the description carries the burden. It reveals the action (compression) and trigger condition (>25MB), but does not detail output format, quality impact, or reversibility. However, the parameter output_file_name hints at a new file, so it's fairly transparent.

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?

Two sentences, no waste. Could combine the conditional into a single sentence, but it remains efficient and front-loaded with purpose.

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?

Provides core purpose and usage conditions, but lacks detail on parameters and output schema. Since output schema exists, return value explanation is not required, but parameter explanations are missing for a tool with 3 parameters.

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 has 0% description coverage, so description must explain parameters. It mentions file size >25MB but does not explain max_mb (target size) or output_file_name, missing a chance to clarify their roles.

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?

The description clearly states the tool compresses audio files larger than 25MB, with a specific verb ('compress') and resource ('audio files'), and distinguishes from sibling tools by its compression focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: only when user requests compression or when other tools fail due to file size. This provides clear context and exclusions, guiding the agent appropriately.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arcaputo3/mcp-server-whisper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server