Skip to main content
Glama

Creator LIVE performance

live_performance
Read-only

Fetch per-session LIVE metrics for a watchlisted creator—duration, peak viewers, gifts, diamonds, and distinct gifters—with cursor-based paging.

Instructions

One row per recorded session of a creator: duration, peak viewers, gifts, diamonds, distinct gifters. Only for creators on the workspace's watchlist or tracked rooms (otherwise items is empty and followed false). 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": "live_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesCreator handle without `@` (e.g. `linh.live`) or numeric TikTok user id.
limitNoRows per page, 1–100 (default 50).
cursorNoOpaque cursor from `nextCursor` of the previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations it discloses three things the agent cannot get elsewhere: an OAuth-style scope requirement (`live:read`), a billing side effect (credits deducted from the workspace wallet, billed as a cached read), and a provenance block for freshness/coverage/source. These are exactly the operational constraints that affect tool selection and user notification.

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?

Four tight sentences, front-loaded with the output grain before prerequisites, cost, and return shape. No redundant restatement of the title or schema.

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?

No output schema exists, yet the description compensates by naming the returned metrics, the `items`/`followed` envelope, and the `provenance` object, plus prerequisites and cost. An agent has everything needed to decide to call it and interpret an empty result.

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 uid format, the 1–100 limit range and the cursor contract are already fully documented; the description adds no additional parameter meaning. A 3 baseline is appropriate since the description's value lies elsewhere.

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?

States the exact resource and grain — 'One row per recorded session of a creator' — and enumerates the returned metrics (duration, peak viewers, gifts, diamonds, distinct gifters). It does not, however, distinguish itself from close siblings like live_sessions or live_session, leaving the agent to infer which one returns per-session rows.

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?

Gives an explicit eligibility condition — only creators on the workspace watchlist or tracked rooms — and names the failure mode (empty `items`, `followed` false), which tells the agent when a null result is expected rather than a bug. It stops short of routing to a named alternative for non-tracked creators.

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