Skip to main content
Glama

TikTok sound stats from TikTok's public embed player

dev_tiktok_sound
Read-only

TikTok sound (music) stats from TikTok's public embed player and sound page: sound ID, title, artist, total number of videos made with the sound, cover image and the first 10 videos using it (video ID, link, creator username, caption, play count, cover). Accepts a sound ID or a tiktok.com/music/… URL. Unknown sounds return 404. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

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": {
      "sound": "<sound>"
    },
    "name": "dev_tiktok_sound"
  }
}

Input Schema

NameRequiredDescriptionDefault
soundYesSound ID (digits) or a https://www.tiktok.com/music/<name>-<id> URL

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses that the upstream service is public and open-world, that unknown IDs return 404, and — most valuably — the pricing model: $0.002 USDC per successful call via x402 on Base, Solana, or Arc, with failed calls not charged. Cost and billing semantics are exactly the kind of context annotations cannot express.

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?

It is one dense but well-ordered paragraph: payload contents first, accepted input second, error behavior third, pricing last. Every clause carries information, though the long parenthetical enumerating returned fields overlaps with the output schema and could be trimmed.

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 single-parameter lookup with an output schema, the definition covers scope, input forms, failure behavior, and payment, leaving little ambiguity. The slight redundancy with the output schema is harmless; nothing an agent needs to invoke it correctly is missing.

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 parameter is fully documented in the schema with the same ID-or-URL format. The description's restatement adds no syntax, validation, or edge-case detail beyond what the schema already provides, so the baseline 3 applies.

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?

The description names a specific verb+resource (TikTok sound/music stats from the public embed player and sound page) and enumerates exactly what is returned: sound ID, title, artist, video count, cover image, and the first 10 videos with their fields. An agent can tell it is the sound-level lookup tool and not a video/profile tool 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 Guidelines4/5

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

It gives the concrete input condition (accepts a sound ID or a tiktok.com/music/... URL) and a useful failure mode (unknown sounds return 404). It does not name alternative tools or state exclusions, but none of the listed siblings perform TikTok sound lookups, so there is little to disambiguate against.

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