Skip to main content
Glama

TikTok Pages MCP by InsightfulPipe

TikTok Profile Setup Helper

query_contexts
Read-only

Helper for planning InsightfulPipe TikTok Profile data queries.

Step 1: request='accounts' – Retrieve workspace_id, brand_id, account_id, other source metadata, AND available_actions (all tables you can query).

Step 2: request='actions_details' with actions=['xxxxxx', 'xxxxxx', 'xxxxxx'] – REQUIRED before querying. Replace with actions from available_actions to get the exact request body, required identifiers, fields, time ranges, and notes for each action.

Optional: request='available_actions' – Standalone call to list all available tables/actions (already included in accounts response).

Optional: request='brands' with brand_id + workspace_id to pull brand guidelines.

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": {
      "request": "<request>"
    },
    "name": "query_contexts"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsNo
requestYes
brand_idNo
platformNo
workspace_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

readOnlyHint=true is consistent with a metadata-read tool, and the description adds real behavioral context beyond the annotation: that available_actions is already bundled in the accounts response (so a separate call is redundant), and what actions_details returns (exact request body, required identifiers, fields, time ranges, notes). No mention of auth scopes or rate limits, keeping it below a 5.

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?

Front-loaded with the tool's role, then organized as numbered steps with the mandatory path before the optional ones — an agent can follow it top-down. The parenthetical noting available_actions is already inside the accounts response is slightly redundant with its own optional entry, a minor waste.

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?

An output schema exists, yet the description still usefully sketches what each response contains, and the mandatory-before-querying sequencing is the key operational fact for a setup tool. The unexplained `platform` parameter and the lack of any mention of the downstream tools it gates are the remaining gaps.

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%, so the description must carry the burden. It does well for `request`, spelling out three of the four enum values and their outputs, and explains `actions` as a list drawn from available_actions. However, `platform` is never mentioned and `brand_id`/`workspace_id` are only described in the context of the brands call, leaving real ambiguity.

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 establishes a specific role: a planning/discovery helper that returns account metadata, action specs, and brand guidelines before data queries. The four request modes are enumerated concretely. It does not name the sibling tools (query_data, execute_action) it feeds into, so differentiation relies on inference from the 'before querying' wording.

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?

Ordering guidance is explicit and strong: Step 1 request='accounts', Step 2 request='actions_details' which is marked REQUIRED before querying, plus two clearly labeled optional calls with their preconditions (brand_id + workspace_id). The only gap is that it never names query_data or execute_action as the alternatives this precedes.

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.