Skip to main content
Glama

Rengi Forge

audio_tools_loop

Turn music or ambience into a seamless loop: cuts at zero crossings and crossfades the end into the start with an equal-power curve. Returns the loop, a 3x preview and loop points in samples. Price: $0.10 USDC via x402, charged only on success. Part of Audio tools: Make generated or recorded sounds game-ready: trim silence and match loudness (LUFS with a true-peak ceiling), seamless loops for music and ambience with loop points, and SFX variations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
monoNo
audioNoAudio file as base64 (wav, mp3, ogg, flac, m4a).
endSecNo
formatNoogg
audioUrlNoAudio file URL.
startSecNo
crossfadeMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it discloses the algorithm (zero-crossing cuts, equal-power crossfade), the return payload (loop, 3x preview, loop points in samples), and the billing model ($0.10 USDC via x402, charged only on success). It omits failure modes and any auth/rate-limit context, so it is strong but not exhaustive.

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?

Front-loaded with the purpose and mechanism, then returns, then pricing; every clause is informative. The trailing family sentence is longer boilerplate than the agent strictly needs and slightly dilutes the core content.

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 helpfully summarizes return values, and with no annotations it covers pricing and safety-relevant billing behavior. It falls short on 4 of 7 parameters, leaving an agent guessing at mono, format, and the start/end range semantics.

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 coverage is only 29%, with just 'audio' and 'audioUrl' documented, so the description must compensate. It explains crossfade behavior and that loop points are returned in samples, loosely mapping to crossfadeMs/startSec/endSec, but leaves mono, format, and the meaning of startSec/endSec (region selection vs. trim) unexplained.

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 ('Turn music or ambience into a seamless loop') and adds the mechanism (zero-crossing cuts, equal-power crossfade), so an agent can distinguish it from audio_tools_clean and audio_tools_variations without opening a schema.

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?

Clear context: it is for music or ambience that must loop seamlessly, and the family sentence distinguishes it from trim-silence and SFX-variation siblings. However, it never explicitly names an alternative or a when-not-to-use condition, so the routing is implied 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