Skip to main content
Glama
Captapi MCP Server

Captapi MCP Server

Official

TikTok Song Details

tiktok_song_details

Fetch TikTok sound metadata—usage counts, artist handles, audio BPM/loudness/beats, and commerce rights—by URL to analyze or license a track.

Instructions

TikTok sound metadata — usageCount, artists[{id,secUid,handle}], audio{bpm,loudness,beats}, commerce rights (1 credit; 2 via the fallback path). Costs 1 credit (2 via fallback path). Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).

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_song_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesTikTok music/sound URL, e.g. https://tiktok.com/music/name-ID. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.
cacheNoSet true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it discloses the credit cost, the higher cost via a fallback path, the guarantee that empty results and failures are never charged, and the freshness/caching behavior. It stops short of describing auth requirements, rate limits, or latency implications of the fallback path.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The return-field inventory is usefully front-loaded, but the credit cost is stated twice in near-identical form ('1 credit; 2 via the fallback path' then 'Costs 1 credit (2 via fallback path)'), making the sentence list repetitive. The cache sentence is compact and 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?

For a two-parameter read tool with no output schema and no annotations, the description covers the important operational facts: what fields come back, what it costs, when charging is skipped, and how to get a cached response. Missing only ancillary detail such as failure modes of the fallback path or expected response envelope.

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 both url and cache are already documented in the input schema. The description restates the cache semantics (free 24h hit, default always fresh) without adding new meaning such as cache staleness risks or what counts as a hit; baseline 3 applies when the schema does the heavy lifting.

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 names the resource (TikTok sound metadata) and enumerates the specific fields returned — usageCount, artists[{id,secUid,handle}], audio{bpm,loudness,beats}, commerce rights — which makes the tool's scope concrete. It never explicitly contrasts itself with tiktok_video_details or other *_details siblings, so sibling differentiation is left to the name.

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?

The only real usage direction is the cache tradeoff: pass cache=true for a free 24h cache hit versus the default fresh fetch. There is no statement of when this tool is the right choice over tiktok_video_details or other detail endpoints, and no exclusions or prerequisites beyond the platform-matching note already present in the schema.

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

Deploy Server

Other Tools