Skip to main content
Glama

Get Pixel Stats

adsap_get_pixel_stats

Get event volume for a Meta pixel / dataset (live from Meta) — how many of each event type (PageView, Purchase, Lead, CompleteRegistration, …) the pixel has received. Use to confirm a pixel is firing and see which conversion signals it's receiving before building a conversion-optimized ad set. Get the pixel_id from adsap_list_meta_assets (asset_type:"pixels").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_timeNoOptional window end as a Unix timestamp (seconds).
pixel_idYesMeta pixel / dataset ID (numeric). Get it from adsap_list_meta_assets (asset_type:"pixels").
start_timeNoOptional window start as a Unix timestamp (seconds). Omit for Meta's default recent window.
ad_account_idYesAd account ID (act_xxx) the pixel belongs to. Required — scopes the request and anchors the Meta budget check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It does disclose that the data is 'live from Meta' (fresh, not cached) and implies a read-only operation via 'Get event volume.' It does not mention latency, auth requirements, or error conditions, but for a low-risk read tool this is acceptable.

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?

The description is two sentences: the first states what the tool returns, the second states the use case and how to get pixel_id. It is front-loaded with purpose, contains no filler, and every sentence contributes distinct 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?

The description explains what the tool computes (event volume by type), when to use it (pixel firing / conversion signal check), and how to obtain the key input (pixel_id from adsap_list_meta_assets). The input schema fully documents parameters, so the missing exact output structure and error behavior are minor for this read-only analytics tool.

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% for all four parameters, so the baseline is 3. The description reinforces that pixel_id comes from adsap_list_meta_assets, but that duplicates the schema text and adds no new meaning for end_time, start_time, or ad_account_id. Thus it meets but does not exceed the schema-driven baseline.

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 clearly states the specific verb and resource: 'Get event volume for a Meta pixel / dataset' and enumerates event types like PageView, Purchase, Lead. It distinguishes itself from sibling tools such as adsap_get_pixel_details and adsap_get_pixel_health by focusing on event counts, so an agent can identify the right tool without opening schemas.

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?

The description gives an explicit when-to-use: 'Use to confirm a pixel is firing and see which conversion signals it's receiving before building a conversion-optimized ad set.' It also points to adsap_list_meta_assets as the source for pixel_id. However, it does not state when not to use this tool or mention alternative analytics tools, stopping short of full when/when-not guidance.

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