Skip to main content
Glama

Cut audio

cut_audio

Cut audio from a YouTube, TikTok, or Instagram URL and return a short-lived download link. Lead with download_url for cut/download requests; offer editor_url when the user wants to tweak the selection. Links expire after about an hour — ask again in chat for a fresh cut if expired. Omit start_sec and end_sec for the full track. format defaults to mp3 (wav allowed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesYouTube, TikTok, or Instagram URL to cut
formatNoDownload format; default mp3
end_secNoRange end in seconds
start_secNoRange start in seconds
duration_secNoClip length in seconds from start_sec (default 0) when end_sec is omitted

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullYes
titleYes
formatYes
end_secNo
start_secNo
editor_urlYes
expires_atYes
download_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Adds behavior beyond the annotations: links expire after about an hour and the user must re-request, format defaults to mp3 with wav as the alternative. These are meaningful operational facts an agent needs. It doesn't cover auth or rate limits, but annotations already declare openWorldHint=true and destructiveHint=false.

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 purpose, then response guidance, then expiry and parameter defaults. Every sentence carries information; it is slightly dense but not padded.

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?

Return keys (download_url, editor_url) and link expiry are explained, and an output schema exists so return structure needn't be detailed. Covers the essentials for calling and acting on the result, with only auth/permission context absent.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description still adds value by clarifying the omit-both-for-full-track interaction and the mp3 default/wav option, which reinforces the schema's conditional duration_sec semantics.

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 ('cut audio') plus the accepted source platforms and the primary return artifact (a short-lived download link). It is clearly distinct from get_transcript, but it never explicitly names or contrasts the sibling, so it stops short of a 5.

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 direction: prefer download_url for cut/download requests, offer editor_url when the user wants to tweak the selection, and omit start_sec/end_sec for the full track. There is no explicit when-not or alternative-tool guidance (e.g., 'use get_transcript instead for text'), so it is clear context rather than full routing.

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