Skip to main content
Glama

TikTok LIVE agency

agencies_get
Read-only

Fetch a single TikTok agency from the toktokdata directory by agency_id and return its JSON record with provenance details, including freshness, coverage, and source.

Instructions

One agency of the directory, as agencies_list lists it. Needs API key scope creator: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": {
      "agency_id": "<agency_id>"
    },
    "name": "agencies_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
agency_idYesTikTok agency id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the required API key scope (`creator:read`), that the call consumes wallet credits billed as a cached read, and that the response carries a `provenance` block (freshness, coverage, source). These are exactly the operational facts annotations cannot express. It stops short of describing failure behavior for an unknown id.

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?

Three short sentences that are front-loaded with identity, then auth, then cost, then return shape — no filler and nothing repeated from structured fields. Each sentence carries distinct, actionable information.

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?

For a one-parameter read with no output schema, the description covers the important gaps: permissions, billing, and the shape of the response including `provenance`. The only notable omission is what happens when the agency id is not found, which is a minor gap at this complexity level.

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, so the schema already defines `agency_id` as a TikTok agency id. The description adds only the provenance of that id ('as agencies_list lists it'), which is a modest but real gain over the schema.

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 the resource precisely ('One agency of the directory') and anchors it to the sibling that produces the identifiers ('as agencies_list lists it'), so an agent can distinguish it from the list and stats tools. The verb is only implied (fetch/retrieve), which keeps it just short of a 5.

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 is implied rather than stated: you call this when you already have a single agency id, obtained from `agencies_list`. There is no explicit when-to-use/when-not framing or comparison against `agencies_stats`, so the agent must infer the routing from the sibling reference.

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