Skip to main content
Glama

Creator PK battles

creators_battles
Read-only

Retrieve a followed creator's TikTok PK battles over a chosen time range, including live scores, teams, outcomes, and win-loss records.

Instructions

The creator's PK battles over the time range, newest first: current (running now, live scores and time left), battles (mode, teams with hosts and scores, TikTok's result) and record (wins, losses, draws). A score never observed is null. Only for creators the workspace follows (otherwise 404). Needs API key scope live:read. Costs credits from the workspace wallet (billed as a cached read). Returns the API answer as JSON, with provenance (freshness, coverage, source).

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": {
      "uid": "<uid>"
    },
    "name": "creators_battles"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoCustom range end (ISO 8601, e.g. `2026-11-22T17:00:00Z`); give `from` and `to` together.
uidYesCreator handle without `@` (e.g. `linh.live`) or numeric TikTok user id.
fromNoCustom range start (ISO 8601, e.g. `2026-11-22T17:00:00Z`); give `from` and `to` together.
scopeNoTime range (default `live`): `live` is the running session (else the last one), `1h`, `today`, `7d`, `30d` or `all`. Ignored when `from` and `to` are given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the 404 condition for unfollowed creators, the required API key scope, the credit cost and billing mode (cached read), null semantics for unobserved scores, and the presence of a `provenance` block. These are exactly the operational facts an agent needs before invoking a billed, scoped read.

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 result-shape enumeration is front-loaded and each clause carries information (sections, nulls, 404, scope, cost, provenance). It is dense but not padded; a slightly clearer separation of the access/cost constraints from the return-shape sentence would improve scanability.

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?

With no output schema, the description carries the return-value burden and does so by describing all three sections plus the `provenance` envelope. Combined with auth, cost, and error behavior, nothing material is missing for a correct invocation.

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%, so `uid`, `from`, `to`, and `scope` are already fully documented in the schema, including the enum values and the from/to pairing rule. The description adds only the ordering guarantee ("newest first") and the time-range framing, which is marginal value over the schema baseline.

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 (a creator's PK battles) and enumerates the three result sections (`current`, `battles`, `record`) with what each contains, so an agent knows exactly what it gets back. It does not differentiate itself from the singular `creators_battle` sibling, leaving the agent to infer which one to call.

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 constraints are stated (only followed creators, otherwise 404; requires `live:read` scope; consumes credits), which tells the agent when the call will fail. However, there is no explicit guidance on when to pick this over `creators_battle`, `creators_live`, or `creators_rivals`, so alternative selection 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.