Skip to main content
Glama

mixpanel

query_frequency_report

Analyze user action frequency over time to identify behavior patterns and track engagement. Specify date range, time granularity, and event filters for detailed insights.

Instructions

Get data for frequency of actions over time. Useful for analyzing how often users perform specific actions, identifying patterns of behavior, and tracking user engagement over time.

Input Schema

NameRequiredDescriptionDefault
addiction_unitYesThe granularity to return frequency of actions at
eventNoThe event to generate returning counts for
from_dateYesThe date in yyyy-mm-dd format to begin querying from (inclusive)
limitNoReturn the top limit segmentation values. This parameter does nothing if 'on' is not specified
onNoThe property expression to segment the second event on
project_idNoThe Mixpanel project ID. Optional since it has a default.
to_dateYesThe date in yyyy-mm-dd format to query to (inclusive)
unitYesThe overall time period to return frequency of actions for
whereYesAn expression to filter the returning events by based on the grammar: <expression> ::= 'properties["' <property> '"]' | <expression> <binary op> <expression> | <unary op> <expression> | <math op> '(' <expression> ')' | <string literal> <binary op> ::= '+' | '-' | '*' | '/' | '%' | '==' | '!=' | '>' | '>=' | '<' | '<=' | 'in' | 'and' | 'or' | <unary op> ::= '-' | 'not'
workspace_idNoThe ID of the workspace if applicable

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "addiction_unit": { "description": "The granularity to return frequency of actions at", "enum": [ "hour", "day" ], "type": "string" }, "event": { "description": "The event to generate returning counts for", "type": "string" }, "from_date": { "description": "The date in yyyy-mm-dd format to begin querying from (inclusive)", "type": "string" }, "limit": { "description": "Return the top limit segmentation values. This parameter does nothing if 'on' is not specified", "type": "number" }, "on": { "description": "The property expression to segment the second event on", "type": "string" }, "project_id": { "description": "The Mixpanel project ID. Optional since it has a default.", "type": "string" }, "to_date": { "description": "The date in yyyy-mm-dd format to query to (inclusive)", "type": "string" }, "unit": { "description": "The overall time period to return frequency of actions for", "enum": [ "day", "week", "month" ], "type": "string" }, "where": { "description": "An expression to filter the returning events by based on the grammar: <expression> ::= 'properties[\"' <property> '\"]'\n | <expression> <binary op> <expression>\n | <unary op> <expression>\n | <math op> '(' <expression> ')'\n | <string literal>\n <binary op> ::= '+' | '-' | '*' | '/' | '%' | '==' | '!=' |\n '>' | '>=' | '<' | '<=' | 'in' | 'and' | 'or'\n | <unary op> ::= '-' | 'not'", "type": "string" }, "workspace_id": { "description": "The ID of the workspace if applicable", "type": "string" } }, "required": [ "from_date", "to_date", "unit", "addiction_unit", "where" ], "type": "object" }

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/dragonkhoi/mixpanel-mcp'

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