Skip to main content
Glama
dragonkhoi

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

TableJSON 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
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool 'gets data' which implies a read-only operation, but doesn't specify authentication requirements, rate limits, pagination behavior, or what the return format looks like (especially critical since there's no output schema). For a 10-parameter query tool with complex filtering, this is a significant gap in behavioral context.

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 description is appropriately concise with two sentences that efficiently state the purpose and use cases. It's front-loaded with the core function ('Get data for frequency of actions over time') followed by specific applications. No wasted words, though it could be slightly more structured with bullet points for the use cases.

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

Completeness2/5

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

For a complex 10-parameter query tool with no annotations and no output schema, the description is insufficient. It doesn't explain what the return data looks like (tabular? aggregated counts?), how results are structured, or provide examples of typical queries. The description should compensate for the lack of output schema by describing the return format, but doesn't.

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 all 10 parameters thoroughly. The description adds no specific parameter information beyond what's in the schema - it doesn't explain relationships between parameters like 'unit' and 'addiction_unit', or provide examples for the complex 'where' expression. Baseline 3 is appropriate 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.

Purpose4/5

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

The description clearly states the tool's purpose as 'Get data for frequency of actions over time' with specific use cases like analyzing user action frequency, identifying behavior patterns, and tracking engagement. It provides a verb ('Get') and resource ('data for frequency of actions'), but doesn't explicitly distinguish it from sibling tools like 'aggregate_event_counts' or 'query_segmentation_report' that might also involve frequency or time-based analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes 'Useful for analyzing how often users perform specific actions...' which implies usage context, but provides no explicit guidance on when to use this tool versus alternatives like 'aggregate_event_counts' or 'query_segmentation_report'. There are no when-not-to-use statements, prerequisites, or named alternatives mentioned.

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

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

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