Skip to main content
Glama

tiktok.music_details

Look up metadata for a TikTok music track. Provide either music_id or music_url, not both.

Cost = 2 tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
music_idNoTikTok music id.
music_urlNoTikTok music page URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
msgNoUpstream status message.
codeNoUpstream status code (0 = success).
dataNoCapability-specific payload from the upstream provider.
processed_timeNoUpstream processing time in seconds.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedOutput schema / properties / processed_time / anyOf
      Previous value: -[
      -  {},
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It communicates the mutual-exclusion constraint and the token cost, which is helpful. However, it does not describe any additional behavior such as error conditions, rate limits, or the exact nature of returned metadata, leaving some ambiguity.

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?

The description is compact and front-loaded, with the core purpose in the first sentence and a clear usage constraint in the second. The cost line is additional but short. Every sentence serves a purpose, with no redundant content.

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?

Given the simple parameter set, the presence of an output schema, and the low complexity of the tool, the description is adequately complete. It covers the primary behavior and the crucial input constraint. It could be slightly richer by naming alternatives, but that is not necessary for basic invocation.

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?

The input schema already describes each parameter with 100% coverage, providing a baseline of 3. The description adds valuable semantic context by stating that music_id and music_url are mutually exclusive alternatives, which is not captured in the schema itself.

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 starts with a clear verb-resource pair: 'Look up metadata for a TikTok music track.' This specifies exactly what the tool does and distinguishes it from sibling tools like tiktok.download_music or tiktok.music_videos, both of which have different purposes.

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?

The description gives explicit operational guidance: 'Provide either music_id or music_url, not both.' This clarifies the key usage constraint. It does not explicitly name alternative tools or state when not to use this tool, but the context is clear enough for a metadata lookup.

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.