Skip to main content
Glama

Get Events

openpanel_get_events
Read-onlyIdempotent

Retrieve tracked OpenPanel events using filters for event name, profile, project, and date range, with pagination for large result sets.

Instructions

Query tracked events from OpenPanel with filtering and pagination.

Args:

  • project_id (string, optional): OpenPanel project ID. If omitted, uses the project linked to your client credentials.

  • event (string | string[], optional): Event name(s) to filter by

  • profile_id (string, optional): Filter events by user profile ID

  • start (string, optional): Start date in ISO format (e.g. '2025-01-01')

  • end (string, optional): End date in ISO format (e.g. '2025-01-31')

  • page (number, optional): Page number (default: 1)

  • limit (number, optional): Events per page (default: 50, max: 200)

Returns JSON: { "meta": { "count": number, "totalCount": number, "pages": number, "current": number }, "data": [{ "id", "name", "profileId", "properties", "createdAt", "country", "browser", ... }] }

Use 'page' to paginate through large result sets.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "openpanel_get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date in ISO format (e.g. '2025-01-31')
pageNoPage number for pagination (default: 1)
eventNoEvent name(s) to filter by. String or array of strings.
limitNoNumber of events per page (default: 50, max: 200)
startNoStart date in ISO format (e.g. '2025-01-01')
profile_idNoFilter events by a specific user profile ID
project_idNoOpenPanel project ID. Optional — if omitted, uses the project linked to your client credentials.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely new behavioral context: the default project derived from client credentials, the 50-per-page default with a 200 cap, and the response envelope including meta counts and pages. It stops short of noting rate limits or any maximum date-range constraint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The Returns block earns its place because no output schema exists. However, the seven-item Args block duplicates schema descriptions that are already at 100% coverage, which is pure redundancy in a description that is otherwise front-loaded and well-organized.

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?

With seven optional parameters, no output schema, and no required fields, the description supplies the two things an agent could not get elsewhere: the response envelope shape and the credential-based project fallback. The only missing element is guidance on choosing this tool over its sibling read tools.

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 every parameter is already documented with types, defaults, and bounds. The Args block largely restates the schema, though it does clarify that event accepts either a single string or an array and that omitting project_id falls back to credential-linked project. Baseline 3 is appropriate since the schema carries the weight.

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 opens with a specific verb and resource: 'Query tracked events from OpenPanel with filtering and pagination.' That is unambiguous about what the tool returns. It does not distinguish itself from siblings like openpanel_get_chart or openpanel_track_event, so an agent must infer the boundary from the name alone.

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?

Usage is only implied: the filtering parameters suggest exploratory read queries, and the closing line 'Use page to paginate through large result sets' gives one concrete operating instruction. There is no explicit when-to-use versus openpanel_get_chart, and no stated exclusions or prerequisites beyond the project_id fallback note.

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