Skip to main content
Glama

Groundsocial

Get a TikTok sound

tiktok_song_get
Read-onlyIdempotent

A TikTok sound: title, author, duration and how many videos use it.

A sound (song) by its id (the number at the end of a tiktok.com/music/… URL, which other APIs call clipId): title, author, duration, original flag, cover, play URL and how many videos use it.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": "tiktok_song_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesSound id, or its tiktok.com/music/… URL.

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, open-world, non-destructive behavior, so the safety profile is covered. The description still earns credit by adding facts the annotations do not carry: 1 credit per call with automatic refund on failure, public-data-only scope, and that the response includes cost_credits and credits_remaining.

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?

The definition is short and front-loaded with the resource summary, then the lookup semantics, then cost/behavior notes. There is mild redundancy: the first line's field list (title, author, duration, video count) is restated and expanded in the second paragraph, costing a few words without adding information.

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 no output schema, the description supplies the returned fields, the id format and aliasing, cost and refund behavior, and the cost fields in the response. What remains unstated — pagination or error shapes — is largely irrelevant for a single-entity lookup.

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?

Schema coverage is 100% and the single parameter is documented in-schema, which sets a baseline of 3. The description goes beyond that by explaining that the id is the number at the end of a tiktok.com/music/… URL and that other APIs refer to the same value as clipId — useful disambiguation for an agent mapping inputs across tools.

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 specific resource (a TikTok sound/song) and the operation (fetch by id), and enumerates what comes back: title, author, duration, original flag, cover, play URL and video count. An agent can tell it is a single-entity lookup rather than a listing tool like tiktok_song_videos, though no sibling is named 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: you need a sound id (or a tiktok.com/music/… URL) to call it. There is no explicit statement of when to prefer this over tiktok_song_videos or other sound-adjacent tools, and no exclusions or prerequisites beyond the id format.

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.