Skip to main content
Glama

TikTok get analytics

tiktok_get_analytics
Read-only

TikTok reporting. data_level e.g. AUCTION_CAMPAIGN; dimensions JSON list. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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": {
      "advertiser_id": "<advertiser_id>"
    },
    "name": "tiktok_get_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
extraNo
filtersNo
user_idNo
end_dateNo
lifetimeNo
client_idNo
data_levelNo
dimensionsNo
start_dateNo
user_emailNo
report_typeNo
advertiser_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. Beyond that the description only adds the client_id default-to-active-brand behavior; it says nothing about date-range semantics, lifetime vs start/end precedence, expected cost, rate limits, or result shape for a 12-parameter reporting call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Three terse sentences with no filler, but they read as semicolon-separated parameter fragments rather than a front-loaded purpose statement. The most important information (what the call returns) is absent while low-value hints like "extra passes any other field" take space.

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

Completeness2/5

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

For a 12-parameter analytics tool with 0% schema description coverage, the description is far too thin: report_type values, filters syntax, and the lifetime/start_date/end_date interaction are undocumented anywhere. An output schema exists, so return-value explanation is not required, but the input side is substantially under-described.

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 0% across 12 parameters, so the description must compensate. It does add real value for the hardest fields — an example value for data_level (AUCTION_CAMPAIGN), the JSON-list format for dimensions, the default for client_id, and extra as an escape hatch for unsupported fields — but leaves filters, report_type, lifetime, start_date/end_date, user_id/user_email, and advertiser_id entirely undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"TikTok reporting" names the resource family but no verb and no object of the report (metrics? rows? account-level?). Combined with the tool name an agent can infer a read of TikTok analytics, but the description itself never states what is retrieved, and it does not distinguish this from reporting siblings such as analytics_run_report or tiktok_get_campaign.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says when to pick this over analytics_run_report, tiktok_get_campaign, or the meta_/analytics_ alternatives. The only routing hint is "client_id picks the brand (defaults to the active one)", which is parameter behavior, not tool-selection guidance.

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.