Skip to main content
Glama

Get Meta Pixel Stats

meta_get_pixel_stats
Read-onlyIdempotent

Get event volume stats for a pixel to verify it is firing. Supports date range, aggregation by event or device, and event filters.

Instructions

Gets event volume stats for a pixel (critical for verifying pixel is firing).

Args:

  • pixel_id (string): Pixel ID

  • start_time (string, optional): ISO date for start of range

  • end_time (string, optional): ISO date for end of range

  • aggregation (string, optional): "event" (default) or "device"

  • event (string, optional): Filter to specific event like "Purchase"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pixel_idYes
start_timeNo
end_timeNo
aggregationNoevent
eventNo
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, covering safety. The description adds minimal behavioral context beyond stating it gets 'event volume stats'. No mention of permissions, rate limits, or behavior when data is missing, but annotations reduce the burden.

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 very concise with a clear purpose statement and a bullet list of arguments. No unnecessary words or repetition. Front-loaded with the tool's critical use case.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 6 parameters and no output schema, the description fails to explain the return format or content of the stats. It does not mention pagination, date range limits, or any edge cases. Annotations provide safety context, but for a data-returning tool, more output details are needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is low (17%), but the description adds meaningful explanations for 5 of 6 parameters (e.g., ISO date formats, default aggregation). It omits the response_format parameter, but that parameter's schema already has a description. Overall, the description compensates well for the sparse schema.

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 verb 'gets' and the resource 'event volume stats for a pixel', with additional context about being critical for verifying pixel firing. It distinguishes itself from sibling tools like meta_get_pixel and meta_get_pixel_events by focusing on stats, not general info or raw events.

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?

The description implies usage for verifying pixel firing but does not explicitly state when to use this tool over alternatives like meta_get_pixel_events or meta_get_pixel. No exclusions or comparative guidance is provided, which is a gap given the number of similar sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oliverames/meta-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server