Skip to main content
Glama

get_mp3

Convert YouTube videos to MP3 audio files with optional trimming functionality using the Youtube Mp36 API.

Instructions

Convert to MP3 at the default bit rate. Quota cost will apply according to the length of the mp3 file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesQuota cost will apply according to the length of the mp3 file. Quota is calculated as follows: if length <= 30 then 1 if 30 < length <= 60 then 2 if 60 < length <= 90 then 4 if 90 < length <= 120 then 5 if 120 < length <= 150 then 6 7 if 150 < length <= 180 then 7 8 if 180 < length <= 210 then 9 if 210 < length <= 240 then 10 (Note: length unit is minute) For trim/cut request, length of the original mp3 file is used for quota. If the trimmed mp3 file served from storage then trimmed length is us
cutNoCut the mp3 according to the provided sStart and sEnd parameters. The value must be provided as 1. The quota Cost is +1.0
sStartNoStarting point for cutting the mp3. Format must be HH:MM:SS
sEndNoEnd point for cutting the mp3. Format must be HH:MM:SS
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses quota costs based on file length, which is a key behavioral trait (resource consumption). However, it lacks details on other aspects like error handling, rate limits, authentication needs, or what happens during conversion (e.g., is it destructive to the original?). It adds some value but is incomplete for a mutation tool.

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?

The description is concise with two sentences that directly address conversion and quota costs. It is front-loaded with the main purpose. However, the second sentence could be more structured, and it slightly repeats quota info from the schema, but overall it's efficient with minimal waste.

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?

Given no annotations, no output schema, and a mutation tool (conversion), the description is moderately complete. It covers purpose and quota costs, but misses details like return values, error conditions, or full behavioral context. It's adequate as a minimum viable description but has clear gaps for a tool with parameters and potential side effects.

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 description coverage is 100%, so the schema already documents all parameters thoroughly. The description does not add any meaning beyond what the schema provides regarding parameters; it only mentions quota costs generally. Baseline is 3 when schema does the heavy lifting, and the description doesn't compensate with extra insights.

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?

The description clearly states the tool's purpose: 'Convert to MP3 at the default bit rate.' It specifies the action (convert) and resource (to MP3), but lacks differentiation from siblings since none exist, so it can't achieve a perfect score. The description is specific and not tautological.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It mentions quota costs, which might imply usage considerations, but does not explicitly state when or why to invoke it, nor does it address prerequisites or exclusions. Without siblings, this is less critical, but still a gap.

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/BACH-AI-Tools/bachai-youtube-mp36'

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