Skip to main content
Glama

Import youtube track

import_youtube_track
Idempotent

Queue audio import from one public YouTube video up to ten minutes long and prepare a free Quick draft. Use the link selected by the user for karaoke they are authorized to make, without a playlist. Reuse the same idempotency key for an uncertain result. Follow get_youtube_import for the returned import_id. This creates no charge or karaoke processing and does not offer a raw audio download.

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": {
      "url": "<url>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "import_youtube_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault
errorNo
stageNo
statusNo
import_idNo
can_cancelNo
error_codeNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds material context beyond them: no charge is incurred, no karaoke processing is started, only a free Quick draft is prepared, and no raw audio download is offered. Remaining gaps are failure/expiry behavior for the draft and any quota or rate limits.

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?

Four short sentences, front-loaded with the action and its limits, then retry semantics, then the next-step tool, then cost/scope disclaimers. No sentence is redundant and nothing is buried.

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?

Output schema exists so return values need not be explained, and the description still points to the right follow-up tool. Combined with annotations it covers safety, cost, and input limits; only draft lifecycle and quota details are absent, which is a minor gap for a queueing call.

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?

With 0% schema description coverage the description must carry the parameter burden, and it does reasonably: 'url' is constrained to a single public YouTube video link of at most ten minutes (no playlist), and 'idempotency_key' is explained as reused for uncertain results. It does not specify accepted URL forms (watch, youtu.be, shorts), which leaves a real ambiguity.

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 ('Queue audio import from one public YouTube video') plus hard scope limits (single video, public, up to ten minutes, no playlist, 'Quick draft'). This makes it clearly distinguishable from ingestion siblings like create_local_upload and from the follow-up get_youtube_import without opening either 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?

Gives concrete preconditions (user-selected link, karaoke they are authorized to make, no playlist) and a next step ('Follow get_youtube_import for the returned import_id'), plus a retry rule for uncertain outcomes. It stops short of naming when to prefer an alternative tool, so it is clear context rather than explicit routing guidance.

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