Skip to main content
Glama

HandleHaul

TikTok profile

tiktok_get_profile
Read-onlyIdempotent

Public TikTok profile for a handle, numeric id or secUid: nickname, bio, link, region, verified and private flags, follower / following / like / video counts, avatar, the numeric id and the secUid. Use it first to check an account exists and is public. 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": {
      "user": "<user>"
    },
    "name": "tiktok_get_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNotrue returns TikTok's raw JSON in data instead of our fields (same price). Default false.
userYesTikTok handle (e.g. "tiktok", with or without @), numeric user id, or secUid (fastest, e.g. "MS4wLjABAAAA..."). All digits = an id; write "@12345" for a handle made only of digits. On list tools, a handle we have not seen in 7 days may cost 1 extra credit for the lookup (see meta.lookup_credits); an id or secUid never does.
freshNotrue skips the cache and fetches live data (full price). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description goes further and discloses pricing behavior the annotations cannot: 1 credit, no charge from cache, on errors, or with a kd_test_ sandbox key. That is exactly the kind of cost/auth context an agent needs before calling a metered endpoint.

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 dense sentences: the first lists the return payload, the second gives the usage rule and billing caveats. Nothing is padded, and the most decision-relevant information (what you get, when to call it, what it costs) is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description compensates by enumerating the returned fields, so the agent knows what it will receive. Combined with the billing details and the call-ordering advice, nothing material for a simple 3-parameter read tool is missing.

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 raw, fresh and user are already fully documented, including the @-prefix rule for all-digit handles and the cache-skip behavior of fresh. The description adds no parameter meaning beyond the schema, 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?

The description names a specific resource (public TikTok profile) and enumerates exactly what it returns: nickname, bio, link, region, verified/private flags, follower/following/like/video counts, avatar, numeric id and secUid. It distinguishes itself implicitly from the list tools by being the single-account lookup, but never names a sibling, so an agent must infer the split with tiktok_get_posts or get_profile.

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?

'Use it first to check an account exists and is public' gives a concrete ordering rule that tells the agent when to reach for this tool before others. It stops short of naming an alternative for the case where the account turns out to be private or missing, so the exclusion path is left to inference.

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.