Skip to main content
Glama

HandleHaul

One TikTok post

tiktok_get_post
Read-onlyIdempotent

One TikTok video or photo post by numeric id or tiktok.com URL: caption, date, duration, cover, media URL, counts, author, music, hashtags and whether it has captions. Costs 1 credit (nothing from cache, on errors or with a kd_test_ sandbox key).

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": {
      "post": "<post>"
    },
    "name": "tiktok_get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns TikTok's raw JSON in data instead of our fields (same price). Default false.
postYesTikTok post id (e.g. "7300000000000000000") or a tiktok.com/@user/video/<id> URL.
freshNotrue skips the cache and fetches live data (full price). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds real behavioral information beyond them: a 1-credit cost, that cache hits are not billed, that errors are free, and that kd_test_ sandbox keys are free. The parenthetical phrasing "nothing from cache, on errors or with a kd_test_ sandbox key" is slightly ambiguous about whether it means free-of-charge or absent-from-cache, which keeps it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the resource and its accepted identifiers, with the billing note trailing. Field enumeration is dense but it substitutes for a missing output schema, so it earns its place; the compressed pricing parenthetical is the only genuinely muddled clause.

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 no output schema, the description carries the return-shape burden and does so by listing the fields an agent will get back, plus the accepted input forms and the credit cost. What remains thin is guidance on when to prefer fresh/raw or to reach for stats-oriented siblings, but nothing needed to call the tool correctly is absent.

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%, so post, raw and fresh are all documented in the schema, including the raw-JSON switch and cache-skip pricing. The description only restates the id/URL formats already in the schema and adds no new meaning for raw or fresh, 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?

"One TikTok video or photo post by numeric id or tiktok.com URL" names a specific verb-plus-resource and states the accepted keys, then enumerates the returned fields (caption, date, duration, cover, media URL, counts, author, music, hashtags, caption flag). It is clearly a single-item fetch, but it never names a sibling such as tiktok_get_post_stats or tiktok_get_posts, so the boundary with those tools is left to inference.

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: the singular "One ... post" plus a post-id/URL input tells an agent this is the per-post lookup. There is no explicit when-to-use or when-not statement, and no alternative is named for related needs like stats or bulk listing.

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.