Skip to main content
Glama

Clip Audio

clip_audio

Trim one source recording into one or more hosted mp3 clips. Provide segments as [{start,end}] in seconds; returns { clips: [{url,start,end,bytes}] }. The clip URLs feed straight into clone_voice as sampleUrls. Scope required: generate:voice.

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": {
      "audioUrl": "<audioUrl>",
      "segments": "<segments>"
    },
    "name": "clip_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioUrlYesPublic URL of the source recording to cut.
segmentsYesWindows to cut (1–25); each becomes one hosted mp3 clip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / audioUrl / description
      Added value: +"Public URL of the source recording to cut."
    • addedInput schema / properties / segments / description
      Added value: +"Windows to cut (1–25); each becomes one hosted mp3 clip."
    • addedInput schema / properties / segments / items / properties / end / description
      Added value: +"Clip end, in seconds; must be greater than start."
    • addedInput schema / properties / segments / items / properties / start / description
      Added value: +"Clip start, in seconds from the beginning of the source."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, and the description is consistent, adding that clips are hosted mp3s produced from a public source URL plus the required OAuth scope. It does not disclose persistence lifetime, cost/credit implications, or failure behavior for invalid ranges, so it adds only moderate context beyond the annotations.

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?

Three tight sentences, front-loaded with the action, then the input/output shape, then the integration and auth requirement. No filler and no repetition.

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?

No output schema exists, but the description supplies the return shape {clips: [{url,start,end,bytes}]}, the auth scope, and the downstream consumer, which is enough to call the tool correctly. Only ancillary concerns such as cost or error handling are omitted.

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 coverage is 100% and the description only restates the same facts, for example segments as [{start,end}] in seconds, which the schema already says. It adds no format, boundary, or validation meaning beyond the schema, so it is baseline at best and arguably below it.

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?

States a specific verb and resource: 'Trim one source recording into one or more hosted mp3 clips.' That distinguishes it from generation siblings like generate_voice and clone_voice, and it names clone_voice as the downstream consumer. It stops short of an explicit contrast with siblings, so it is clear rather than sharply differentiated.

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?

Gives concrete usage context: supply segments in seconds, and the resulting URLs feed straight into clone_voice as sampleUrls, plus the required scope 'generate:voice'. There are no exclusions or when-not-to-use guidance, but the chaining relationship carries most of the routing value.

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.