Skip to main content
Glama

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

Search TikTok Videos by Keyword

tiktok_video_search
Read-onlyIdempotent

Search public TikTok videos by keyword with region, sort order, and publish window filters. Costs 2 credits per video ($0.20 / 1,000 videos).

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": {
      "keywords": "<keywords>"
    },
    "name": "tiktok_video_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoVideos per page (1-30)
cursorNoPagination offset cursor (0 for first page)
regionNoISO country code (e.g. US, GB, JP, DE)US
keywordsYesSearch query keywords (aliases: keyword, query, q)
sort_typeNo0 = Relevance, 1 = Most Liked, 3 = Newest
publish_timeNo0 = All, 1 = 24h, 7 = 7d, 30 = 30d, 90 = 90d, 180 = 180d

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 readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the operation is limited to public content and each video costs 2 credits ($0.20 per 1,000), which directly affects an agent's budgeting decisions. It does not mention rate limits or result caps, which keeps 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?

Two short sentences: the capability and its filters come first, the cost model second. Nothing is redundant and nothing needs to be re-read.

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 full output schema, rich annotations, and 100% parameter documentation, the description only needs to establish scope and cost, which it does. The minor gap is pagination/credit-budget guidance (how deep a cursor walk can go before credits matter), which an agent might want for multi-page searches.

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 coverage is 100% and the schema documents every parameter including defaults, value ranges, and the sort/publish_time code mappings. The description only restates the filter categories (region, sort order, publish window) without adding format or edge-case meaning, so the baseline 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?

The description gives a specific verb+resource ('Search public TikTok videos by keyword') plus the supported filter axes, which separates it from detail-oriented siblings like tiktok_video_detail or tiktok_user_posts. It stops short of naming any sibling explicitly, so the distinction is inferred from scope rather than stated.

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 implied by the phrase 'Search public TikTok videos by keyword,' which tells an agent this is a discovery/listing operation, but there is no explicit when-to-use, when-not-to-use, or routing to alternatives such as fetching full details for a returned video. The 'public' qualifier is the only scope guidance offered.

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