Skip to main content
Glama

ShortVidAPI — TikTok, Reels & Shorts MCP. Zero-signup x402 USDC pay-per-ca

Get Sound / Music Track Metadata

tiktok_music_info
Read-onlyIdempotent

Get TikTok sound/music metadata, MP3 playback URL, author, duration, and usage count. Accepts a music ID, music URL, or video URL (10 credits).

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>"
    },
    "name": "tiktok_music_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTikTok sound ID, sound URL, or TikTok video URL to extract audio from

Output Schema

NameRequiredDescriptionDefault
msgNoHuman-readable status message.
codeYesGateway status code (0 indicates success).
dataYesEntity metadata including numeric ID, title, cover, and aggregate usage statistics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description still adds genuine context beyond that: the 10-credit cost and the fact that a video URL is accepted in order to extract audio. It does not describe pagination or error behavior, but neither is material for a single-lookup GET.

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?

Two short sentences, front-loaded with the resource and results, then the accepted inputs and cost. Nothing is repeated twice and no sentence is filler.

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?

For a one-parameter read tool with full schema coverage, an output schema, and complete annotations, the description supplies what is missing (cost, accepted input forms). The only surplus is the field list, which duplicates the output schema, and there is no note on what happens with an invalid or non-sound URL.

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 coverage is 100% and there is only one parameter, so the schema already documents the accepted ID/URL forms. The description restates the same three input shapes ('music ID, music URL, or video URL') without adding format rules, validation, or edge cases, so this is the baseline 3.

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 uses a specific verb ('Get') plus a precise resource ('TikTok sound/music metadata') and enumerates the returned fields (MP3 URL, author, duration, usage count). It is clearly distinguishable from a sound-feed tool like tiktok_music_posts, though it never names that sibling to draw the contrast explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it should call this when it has a sound ID, sound URL, or video URL and wants track metadata. There is no statement of when to prefer a sibling (e.g. listing posts that use a sound) and no prerequisites or failure conditions.

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