Skip to main content
Glama
LamaTok — TikTok MCP

LamaTok — TikTok MCP

get_v1_media_music_download_by_id

Read-only

Get the audio track download link and required HTTP headers for a TikTok video by its 19-digit video ID. The file itself is not downloaded; use the returned URL to fetch the music.

Instructions

Get a download link for the audio track of a TikTok video, by video id. Returns the file URL and the HTTP headers to send with it; the file itself is not downloaded. Use get_v1_media_music_download_by_url when you have a link and get_v1_media_video_download_by_id for the video file. Live request to TikTok, billed per call. (GET /v1/media/music/download/by/id)

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": {
      "id": "<id>"
    },
    "name": "get_v1_media_music_download_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesexamples: '7329151448644734213'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-destructive; the description adds genuinely new behavioral facts: the response is a URL plus HTTP headers rather than the file, the file is not downloaded, it is a live request to TikTok, and it is billed per call. These are the traits an agent needs before invoking a metered network call.

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 sentences, each load-bearing: what it returns, which siblings to use instead, and the billing/live-call caveat. The core purpose is front-loaded and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by explaining exactly what is returned (file URL and the headers to send with it) and what is not (the file itself). For a one-parameter read tool, an agent has everything needed to call and interpret it correctly.

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% and the single 'id' parameter already carries a pattern and an example, so the schema does the heavy lifting. The description only restates 'by video id' without adding format or validation meaning beyond the schema, which is the baseline-3 case for full coverage.

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 (get), resource (download link for the audio track of a TikTok video) and the key input (by video id). It explicitly differentiates itself from the sibling tools that fetch the video file or take a URL, so an agent can distinguish it without opening any schema.

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

Usage Guidelines5/5

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

Names both alternatives by exact tool name and the condition that selects each: use music_download_by_url when you have a link, and video_download_by_id for the video file. This is explicit when-to-use/when-not guidance rather than implied context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.