Skip to main content
Glama
meomeo-dev

shell-as-mcp

by meomeo-dev

ytdlp__download_audio

Download audio from any video URL and save it as an m4a file using yt-dlp, supporting optional cookies and proxy for authenticated downloads.

Instructions

Download audio from a video URL using yt-dlp, saving as m4a to output_dir or a configured default directory. @remarks Extracts best-quality audio track. Supports optional cookies file and proxy. @param url The video URL to download audio from (must start with http:// or https://). @param output_dir Optional output directory. Falls back to YTDLP_OUTPUT_DIR, SHELL_AS_MCP_OUTPUT_DIR, or ~/Downloads. @param cookies Optional path to a Netscape-format cookies file for authenticated downloads. @param proxy Optional proxy address (e.g. socks5://127.0.0.1:1080). @param maxRetries Optional retry count after failures, capped at 2 (default: 2). @param __mcp_response_mode Optional response mode: content (default) or structuredContent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
proxyNo
cookiesNo
maxRetriesNo
output_dirNo
__mcp_response_modeNocontent
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses output format (m4a), quality selection (best-quality audio track), fallback directory order, support for cookies/proxy, and retry cap. It omits response/return value details, but given the tool's nature (audio download) and the amount of behavioral context provided, it is sufficiently transparent.

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?

The description is well-structured with a front-loaded summary followed by @remarks and @param annotations. Each line adds unique value—no fluff. The @param block is necessary given the 0% schema coverage, and every sentence earns its place.

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?

The tool has moderate complexity (network access, optional authentication, fallback directories, retries). The description covers all parameters, output format, quality, and default behavior. However, it does not describe what the tool returns (no output schema), which would be useful for the agent to know. This minor gap prevents a perfect score.

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

Parameters5/5

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

Schema description coverage is 0%, but the description uses @param tags to explain all six parameters with constraints (URL must start with http/https), examples (proxy), fallback logic (output_dir), defaults (maxRetries capped at 2), and formats (cookies Netscape). This fully compensates for the missing schema descriptions.

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 verb 'Download', the target resource 'audio from a video URL', and the output format 'm4a'. It distinguishes itself from sibling tools like ytdlp__download_video by focusing on audio extraction and mentioning 'Extracts best-quality audio track'.

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?

The description clearly implies when to use this tool (when audio is needed) but does not explicitly name alternatives or exclusion cases. Sibling tool names are visible, but the description itself does not compare with download_video or download_transcript. Still, the context 'Download audio' is clear enough for an agent to infer appropriate use.

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/meomeo-dev/shell-as-mcp'

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