Skip to main content
Glama
rybbit-mcp

rybbit-mcp

by nks-hub

User Journeys

rybbit_get_journeys
Read-onlyIdempotent

Analyze common user navigation paths through your site, showing page sequences and session counts for each journey.

Instructions

Get user journey (flow) analysis showing the most common navigation paths through the site. Shows sequences of pages users visit and how many sessions follow each path.

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_get_journeys"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNoNumber of journey steps to analyze (default 3)
siteIdYesSite ID (numeric ID or domain identifier)
endDateNoEnd date (YYYY-MM-DD)
filtersNoFilters to apply
timeZoneNoIANA timezone (default UTC)
startDateNoStart date (YYYY-MM-DD)
journeyLimitNoMax number of journey paths to return (default 100)
pastMinutesEndNoMinutes ago end
pastMinutesStartNoMinutes ago start

Output Schema

NameRequiredDescriptionDefault
dataYesJourney paths with session counts
noteNoCaveat about this response, e.g. how many rows were returned and how to get the rest
truncatedNoTrue when rows were dropped to keep the response under the size cap
totalSessionsNoSessions the percentages are relative to

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
    • addedInput schema / properties / journeyLimit / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / journeyLimit / minimum
      Added value: +-9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / items / additionalProperties
      Previous value: -trueNew value: +{}
  2. Changed8 schema fields changedv0.9.0
    • 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'."
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
    • addedOutput schema / properties / data / items / properties / count
      Added value: +{
      +  "description": "Sessions that followed this path",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / data / items / properties / percentage / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / sessions
      Removed value: -{
      -  "type": "number"
      -}
    • 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 / totalSessions
      Added value: +{
      +  "description": "Sessions the percentages are relative to",
      +  "type": "number"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when rows were dropped to keep the response under the size cap",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changedv0.8.1
    • 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": {
      +    "data": {
      +      "description": "Journey paths with session counts",
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "path": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "percentage": {
      +            "type": "number"
      +          },
      +          "sessions": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "data"
      +  ],
      +  "type": "object"
      +}
  4. Addedv0.5.1
  5. Removed
  6. Addedv0.3.3
  7. Removed
  8. 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."
  9. First observedv0.5.2

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already establish readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds useful output context — sequences of pages plus session counts per path — but says nothing about how the `steps` depth changes results, how paths are truncated, or pagination/limit behavior of the returned journey list.

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?

Two sentences, front-loaded with the core verb and resource, with no filler or marketing language. The second sentence partially restates the first ("sequences of pages users visit" overlaps with "navigation paths"), a small redundancy but not enough to harm readability.

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

Completeness3/5

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

With a rich 9-parameter schema, full description coverage, and an output schema that carries the return-value burden, the definition is adequate to invoke the tool. It falls short for a moderately complex analysis tool by omitting how `steps` scales the analysis and how journeys differ conceptually from the funnel sibling.

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% across all 9 parameters, so the schema already documents dates, timezone, filters, and limits. The description adds no parameter-specific meaning beyond the schema — notably it never connects `steps` to journey depth or `journeyLimit` to truncation of returned paths, which would have been valuable given the 2-10 step constraint.

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 uses a specific verb and resource ("Get user journey (flow) analysis") and scopes it to "the most common navigation paths through the site." That is clearer than a generic analytics query, but it never distinguishes the tool from the closely related funnel sibling (rybbit_analyze_funnel), leaving an agent to guess between path analysis and conversion-step 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?

There is no explicit when-to-use or when-not-to-use guidance, no mention of prerequisites such as needing start/end dates, and no named alternative. The only cue is the implied framing of "navigation paths," which an agent must extrapolate to decide between this and funnel/retention tools.

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