Skip to main content
Glama

TikTok Engagement Rate API

tiktok_engagement_rate_calculator
Read-onlyIdempotent

Calculate a TikTok account's engagement rate from its latest 10 videos, with follower- and view-based rates to assess audience interaction using public data.

Instructions

See an account's engagement rate from its recent videos. Costs 5 credits per successful call. The rate uses only the latest 10 videos, so a recent viral or flop video moves it a lot. Very large accounts often have a low rate by followers but a high rate by views, so read both numbers. Only public data is used.

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": {
      "username": "<username>"
    },
    "name": "tiktok_engagement_rate_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
usernameYesTikTok username. Type a username with or without the @, or paste a profile link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses a concrete cost of 5 credits per successful call, the computation window of the latest 10 videos with the resulting volatility caveat, that two rate figures are produced (by followers and by views), and that only public data is used. These are exactly the operational traits annotations cannot convey; only failure behavior for private or missing accounts is left unaddressed.

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?

The purpose and cost are front-loaded, and the caveats about the 10-video window and follower-vs-view rates are each one compact sentence. The closing 'only public data is used' is slightly terse but does imply a limitation worth knowing.

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 does the necessary work of telling the agent that two rate numbers come back and how to read them. Cost and methodology are covered; only edge-case behavior (private, nonexistent, or too-small accounts) is absent, which is a modest gap for a one-parameter read tool.

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?

There is a single parameter with 100% schema description coverage, including the @-optional and profile-link formats, so the schema already carries the semantics. The description adds nothing about the username input, making the baseline 3 appropriate.

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 opens with a specific verb and resource: an account's engagement rate computed from its recent videos. That clearly separates it from profile-level siblings like tiktok_profile_viewer, though no sibling is named explicitly to reinforce the distinction.

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 context is implied rather than stated: the credit cost and the 'latest 10 videos' methodology tell an agent what it is buying, but there is no explicit when-to-use or when-not-to-use guidance relative to alternatives. The interpretation advice (read both rate numbers) is helpful but is about reading results, not tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.