Skip to main content
Glama
rybbit-mcp

rybbit-mcp

by nks-hub

List Events

rybbit_list_events
Read-onlyIdempotent

List raw analytics events for a site, newest first, with timestamps, types, paths, names, and properties; filter by event name and page through history using cursors.

Instructions

List raw events for a site, newest first. Returns individual event records with timestamps, types, pathnames, event names, and properties. With eventName only matching events are returned. To page back through history pass the previous response's cursor.oldestCursor as beforeCursor; there is no page number.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "siteId": "<siteId>"
    },
    "name": "rybbit_list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page
siteIdYesSite ID (numeric ID or domain identifier)
endDateNoEnd date in ISO format (YYYY-MM-DD)
filtersNoArray of filters. Example: [{parameter:'browser',type:'equals',value:['Chrome']},{parameter:'country',type:'equals',value:['US','DE']}]
timeZoneNoIANA timezone (e.g., Europe/Prague). Default: UTC
eventNameNoOnly return events with this exact event_name (e.g., 'ad_click').
startDateNoStart date in ISO format (YYYY-MM-DD)
beforeCursorNoReturn the events just older than this cursor. Use cursor.oldestCursor from the previous page.
afterTimestampNoReturn events strictly newer than this timestamp (UTC 'YYYY-MM-DD HH:mm:ss'), newest first. The server looks at the latest 500 such events and returns no cursor; cannot be combined with beforeCursor/beforeTimestamp.
pastMinutesEndNoAlternative to dates: minutes ago end (default 0 = now)
beforeTimestampNoReturn events strictly older than this timestamp (UTC 'YYYY-MM-DD HH:mm:ss'). Events sharing that second are skipped, so page with beforeCursor instead.
pastMinutesStartNoAlternative to dates: minutes ago start (e.g., 60 = last hour)

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNoCaveat about this response, e.g. how many rows were returned and how to get the rest
cursorNoAbsent when afterTimestamp is used
truncatedNoTrue when rows were dropped to keep the response under the size cap

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.9.1
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / filters / items / additionalProperties
      Removed value: -false
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / cursor / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / items / properties / properties_parsed / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed16 schema fields changedv0.9.0
    • changedInput schema / properties / afterTimestamp / description
      Previous value: -"Return events strictly newer than this timestamp (UTC). Mirrors beforeTimestamp for forward pagination."New value: +"Return events strictly newer than this timestamp (UTC 'YYYY-MM-DD HH:mm:ss'), newest first. The server looks at the latest 500 such events and returns no cursor; cannot be combined with beforeCursor/beforeTimestamp."
    • addedInput schema / properties / beforeCursor
      Added value: +{
      +  "description": "Return the events just older than this cursor. Use cursor.oldestCursor from the previous page.",
      +  "type": "string"
      +}
    • changedInput schema / properties / beforeTimestamp / description
      Previous value: -"Return events strictly older than this timestamp (UTC 'YYYY-MM-DD HH:mm:ss'). Use cursor.oldestTimestamp from previous page."New value: +"Return events strictly older than this timestamp (UTC 'YYYY-MM-DD HH:mm:ss'). Events sharing that second are skipped, so page with beforeCursor instead."
    • changedInput schema / properties / eventName / description
      Previous value: -"Filter to only return events with this exact event_name (e.g., 'ad_click'). More precise than using the filters array which returns entire sessions."New value: +"Only return events with this exact event_name (e.g., 'ad_click')."
    • changedInput schema / properties / filters / items / properties / parameter / description
      Previous value: -"Filter dimension. One of: browser, browser_version, operating_system, operating_system_version, language, country, region, city, device_type, device_model, app_version, dimensions, referrer, hostname, pathname, page_title, querystring, event_name, channel, utm_source, utm_medium, utm_campaign, utm_term, utm_content, entry_page, exit_page, user_id, lat, lon, timezone, tag. Custom URL parameters use the prefix 'url_param:NAME' (e.g., 'url_param:campaign_id'). Note: user_id filter checks BOTH the device hash (user_id) and app-provided ID (identified_user_id). device_model and app_version are populated only for mobile-type sites (legacy: app) tracked via SDK."New value: +"Filter dimension, e.g. browser, country, pathname, device_type, referrer, event_name (all of them are listed by rybbit_describe_dimension). Custom URL parameters use the prefix 'url_param:NAME'."
    • addedInput schema / properties / limit / default
      Added value: +10
    • changedInput schema / properties / limit / description
      Previous value: -"Results per page (default: 20-50 depending on endpoint, max 200)"New value: +"Rows per page"
    • removedInput schema / properties / page
      Removed value: -{
      -  "description": "Page number, 1-indexed (default: 1)",
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / cursor / description
      Added value: +"Absent when afterTimestamp is used"
    • addedOutput schema / properties / cursor / properties / oldestCursor
      Added value: +{
      +  "description": "Pass as beforeCursor to get the next older page",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / cursor / required
      Removed value: -[
      -  "hasMore",
      -  "oldestTimestamp"
      -]
    • changedOutput schema / properties / data / items / properties / properties / description
      Previous value: -"Raw JSON-encoded property bag"New value: +"Raw property JSON, present only when it could not be parsed"
    • changedOutput schema / properties / data / items / properties / properties_parsed / description
      Previous value: -"Same as `properties`, parsed into an object (added by MCP wrapper)"New value: +"Event properties as an object"
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Caveat about this response, e.g. how many rows were returned and how to get the rest",
      +  "type": "string"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when rows were dropped to keep the response under the size cap",
      +  "type": "boolean"
      +}
  3. Changed4 schema fields changedv0.8.1
    • addedInput schema / properties / afterTimestamp
      Added value: +{
      +  "description": "Return events strictly newer than this timestamp (UTC). Mirrors beforeTimestamp for forward pagination.",
      +  "type": "string"
      +}
    • addedInput schema / properties / beforeTimestamp
      Added value: +{
      +  "description": "Return events strictly older than this timestamp (UTC 'YYYY-MM-DD HH:mm:ss'). Use cursor.oldestTimestamp from previous page.",
      +  "type": "string"
      +}
    • changedInput schema / properties / filters / items / properties / parameter / description
      Previous value: -"Filter dimension. One of: browser, browser_version, operating_system, operating_system_version, language, country, region, city, device_type, device_model, app_version, dimensions, referrer, hostname, pathname, page_title, querystring, event_name, channel, utm_source, utm_medium, utm_campaign, utm_term, utm_content, entry_page, exit_page, user_id, lat, lon, timezone, vpn, crawler, datacenter, company, company_type, company_domain, asn_org, asn_type, asn_domain, tag. Custom URL parameters use the prefix 'url_param:NAME' (e.g., 'url_param:campaign_id'). Note: user_id filter checks BOTH the device hash (user_id) and app-provided ID (identified_user_id). device_model and app_version are populated only for app-type sites tracked via SDK."New value: +"Filter dimension. One of: browser, browser_version, operating_system, operating_system_version, language, country, region, city, device_type, device_model, app_version, dimensions, referrer, hostname, pathname, page_title, querystring, event_name, channel, utm_source, utm_medium, utm_campaign, utm_term, utm_content, entry_page, exit_page, user_id, lat, lon, timezone, tag. Custom URL parameters use the prefix 'url_param:NAME' (e.g., 'url_param:campaign_id'). Note: user_id filter checks BOTH the device hash (user_id) and app-provided ID (identified_user_id). device_model and app_version are populated only for mobile-type sites (legacy: app) tracked via SDK."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "cursor": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "hasMore": {
      +          "type": "boolean"
      +        },
      +        "oldestTimestamp": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "hasMore",
      +        "oldestTimestamp"
      +      ],
      +      "type": "object"
      +    },
      +    "data": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "event_name": {
      +            "type": "string"
      +          },
      +          "properties": {
      +            "description": "Raw JSON-encoded property bag",
      +            "type": "string"
      +          },
      +          "properties_parsed": {
      +            "additionalProperties": {},
      +            "description": "Same as `properties`, parsed into an object (added by MCP wrapper)",
      +            "type": "object"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed1 schema field changedv0.4.3
    • changedInput schema / properties / filters / items / properties / parameter / description
      Previous value: -"Filter dimension: browser, operating_system, language, country, region, city, device_type, referrer, hostname, pathname, page_title, querystring, event_name, channel, utm_source, utm_medium, utm_campaign, utm_term, utm_content, entry_page, exit_page, user_id. Note: user_id filter checks BOTH the device hash (user_id) and app-provided ID (identified_user_id)."New value: +"Filter dimension. One of: browser, browser_version, operating_system, operating_system_version, language, country, region, city, device_type, device_model, app_version, dimensions, referrer, hostname, pathname, page_title, querystring, event_name, channel, utm_source, utm_medium, utm_campaign, utm_term, utm_content, entry_page, exit_page, user_id, lat, lon, timezone, vpn, crawler, datacenter, company, company_type, company_domain, asn_org, asn_type, asn_domain, tag. Custom URL parameters use the prefix 'url_param:NAME' (e.g., 'url_param:campaign_id'). Note: user_id filter checks BOTH the device hash (user_id) and app-provided ID (identified_user_id). device_model and app_version are populated only for app-type sites tracked via SDK."
  5. First observedv0.5.2

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds ordering ('newest first'), the shape of returned records, and the cursor-based paging model with no page numbers. It omits the 500-event cap on afterTimestamp and the mutual-exclusion rules, but those live in the schema.

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?

Three sentences, front-loaded with purpose and return fields, then pagination mechanics. The eventName sentence slightly duplicates the schema, but overall there is little waste.

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 12-parameter list tool with an output schema and full annotation coverage, the description covers what an agent needs to call it correctly: ordering, return contents, and how to page. Remaining details (mutual exclusions, cap behavior) are adequately handled by the schema.

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 including cursor, timestamp, and pastMinutes variants is already documented in the schema. The description only restates the eventName behavior and cursor paging, adding the clarifying note that there is no page number — marginal value, so baseline 3 applies.

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 ('List raw events for a site, newest first') and enumerates the returned fields, which implicitly separates it from aggregate/timeseries siblings. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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?

It gives useful operational guidance: eventName narrows results, and paging must use the previous response's cursor.oldestCursor with no page number. However, it never says when to prefer this over rybbit_get_event_aggregate, rybbit_get_event_names, or rybbit_list_sessions, and offers no exclusions.

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