Skip to main content
Glama

Get Meta Pixel Stats

meta_get_pixel_stats
Read-onlyIdempotent

Retrieve event volume stats for a Meta pixel to verify firing, with filters for event, date range, and aggregation.

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
eventNo
end_timeNo
pixel_idYes
start_timeNo
aggregationNoevent
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, idempotentHint=true, and destructiveHint=false, covering safety. The description adds the purpose of verifying pixel firing, which is useful context but does not disclose additional behavioral traits such as rate limits, default date ranges, or output structure. Given the annotations cover the main concerns, a 3 is appropriate.

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 a single, front-loaded sentence stating the purpose, followed by a clear and minimal argument list. No fluff, every word earns its place. It is appropriately concise for the tool's simplicity.

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 read-only stats tool with no output schema, the description covers the essential aspects: what it does, key parameters, and a typical use case. It does not specify default date ranges or the exact structure of the returned data, but those are not critical for a basic call. It is nearly complete, with minor gaps.

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 description coverage is only 17% (only response_format has a description). The description compensates by clarifying each parameter: pixel_id is a string, start_time/end_time are ISO dates, aggregation defaults to 'event' and has options, and event provides an example ('Purchase'). This adds meaningful value beyond the schema, which lacks descriptions for most parameters.

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 states a specific verb ('Gets'), a clear resource ('pixel'), and the exact output ('event volume stats'). It also adds a use case ('critical for verifying pixel is firing') that distinguishes it from sibling pixel tools like meta_get_pixel (configuration) and meta_get_pixel_events (event details).

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 provides a clear usage context ('verifying pixel is firing') but does not explicitly mention alternatives or when not to use this tool. It implies a specific scenario but leaves it to the agent to infer that other pixel tools might be better for different tasks. No exclusions or alternatives are given.

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/open-work-org/open-mcp-servers'

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