Skip to main content
Glama

Google Ads & Meta Ads

TikTok Ads: Get Pixel Event Activity

tiktok_get_pixel_events
Read-onlyIdempotent

Check whether TikTok tracking is receiving events: list the pixels of one ad account (up to 10, or one by pixel_id) with the events each defines, and for each event the number received in the period, split into browser and server (Events API) events, plus how many TikTok attributed to ads. Up to 30 days per call, default the last 7; days are UTC. A pixel with no activity received nothing in the period. Returns counts only, never event contents or visitor data. Reads only; changes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tiktok_get_pixel_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNoLast day, YYYY-MM-DD, inclusive. Default: today. At most 30 days.
pixel_idNoOnly this pixel (pixelId from tiktok_get_adgroups or tiktok_get_ad_creative). Omitted: the account's first 10 pixels.
start_dateNoFirst day, YYYY-MM-DD (UTC). Default: 6 days before end_date.
advertiser_idNoTikTok ad account to read: advertiser id or account name (from tiktok_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used.

Output Schema

NameRequiredDescriptionDefault
pixelsYesOne entry per pixel.
endDateYesLast day covered, inclusive.
currencyYesISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then.
startDateYesFirst day covered, YYYY-MM-DD (UTC).
morePixelsYesTrue when the account has more pixels than were returned; pass pixel_id to read another.
advertiserIdYesTikTok ad account (advertiser id) that was read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, so the safety profile is covered; the description goes further with limits the schema does not state as prose (up to 10 pixels per call, up to 30 days per call, 7-day default, UTC day boundaries) and, most valuably, an interpretation rule for empty results. The 'Returns counts only, never event contents or visitor data' line adds genuine data-granularity context. 'Reads only; changes nothing' mildly restates the annotations but does not contradict them.

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 core capability is front-loaded in the first sentence, followed by short constraint sentences covering window limits, UTC semantics, and empty-result meaning. Nearly every sentence earns its place; the only waste is the trailing 'Reads only; changes nothing,' which repeats what annotations already assert.

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?

For a read-only reporting tool with a full output schema, this definition supplies everything an agent needs to call it correctly: defaults, maximum window, timezone, pixel selection behavior, and how to interpret zero activity. Return-value structure is left to the output schema, which is the right division of labor.

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 the schema already documents start_date, end_date, pixel_id, and advertiser_id including defaults and the 30-day cap. The description reinforces the date-window limit and default in prose but adds little syntax or meaning the agent could not get from the schema. Baseline 3 applies when the schema does the heavy lifting.

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

Purpose5/5

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

The description opens with a specific verb and purpose ('Check whether TikTok tracking is receiving events') and then names the exact resource and shape: the pixels of one ad account, the events each defines, and per-event received counts split into browser vs server (Events API) plus ad-attributed totals. This is distinguishable from sibling performance tools like tiktok_get_performance because it explicitly states it returns counts only, never event contents or visitor data.

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?

It gives a clear diagnostic framing ('check whether tracking is receiving events') that tells an agent when this tool is the right one, and it explains the empty-result condition ('A pixel with no activity received nothing in the period'), which prevents misreading a zero as an error. It stops short of naming an alternative tool or stating when not to use it, so it lands at 4 rather than 5.

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.

Resources