Skip to main content
Glama

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

Get Videos Using Sound Track

tiktok_music_posts
Read-onlyIdempotent

Fetch public TikTok videos using a specific numeric music_id (2 credits per video).

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": {
      "music_id": "<music_id>"
    },
    "name": "tiktok_music_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoVideos per page (max 30)
cursorNoPagination cursor
music_idYesNumeric TikTok music_id

Output Schema

NameRequiredDescriptionDefault
msgNoHuman-readable status message.
codeYesGateway status code (0 indicates success).
dataYesPaginated list of public short-form videos with engagement metrics and pagination cursor.

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 adds two facts not in the annotations: results are limited to public videos and each video costs 2 credits. It omits pagination behavior despite a cursor parameter, keeping it from a 5.

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?

One sentence with zero filler: the key identifier is stated up front and the credit cost is tucked into a parenthetical where it is easy to find. Nothing could be removed without losing 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?

With a rich annotation set, a full output schema, and 100% schema coverage, the description only needs to convey purpose, scope, and cost, which it does. The main residual gap is any hint about paging through results or how to obtain a music_id.

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 every parameter is documented in-schema, including count max 30 and cursor. The description's 'numeric music_id' wording duplicates what the schema already says, adding no new semantics, so the baseline of 3 applies.

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?

States a specific verb (Fetch) plus resource (public TikTok videos) and the keying parameter (music_id), which distinguishes it from music-metadata style siblings such as tiktok_music_info. It does not explicitly name a sibling alternative, so it stops short of full differentiation.

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: an agent can infer 'use this when you have a music_id and want the videos'. There is no explicit when-to-use vs tiktok_music_info or tiktok_challenge_posts, nor any stated prerequisites (e.g., needing a music_id obtained from another call).

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