Skip to main content
Glama

PageLens Analytics

get_journeys

Read-only

Most common page-to-page paths visitors take.

Input Schema

NameRequiredDescriptionDefault
toNoEnd date YYYY-MM-DD, inclusive (default today)
fromNoStart date YYYY-MM-DD (overrides period)
limitNoRows to return (default 10)
periodNoTime range (default 7d)
filtersNoOptional filters "dimension:value" (is). Other operators go after the dimension: "page!:/x" is not, "page~:blog" contains, "page!~:blog" does not contain, "page^:/docs" starts with. Dimensions: page, title, hostname, referrer, channel, utm_source, utm_medium, utm_campaign, browser, os, device, screen, country (ISO code), city, language, event, tag
site_idYesSite id from list_sites
timezoneNoIANA timezone for days and hours, e.g. Europe/Berlin (default UTC)
segment_idNoApply a saved segment (see list_segments); combines with filters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and closed-world scope, so safety is covered. The description adds only the idea of 'most common' aggregation, but says nothing about how paths are ranked, truncated by limit, or computed over the selected period/segment.

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?

A single sentence with zero filler, and the core concept is front-loaded. It is arguably too terse for an 8-parameter analytical tool, but nothing in it is wasted.

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?

With 8 parameters, no output schema, and an inherently structured return value (ordered path sequences), the agent is left guessing what a 'journey' row looks like. There is no mention of result shape, ordering, or how limit interacts with path depth.

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%, with all 8 parameters (date range, period, filters DSL, segment_id, site_id, timezone, limit) documented in the schema itself. The description contributes no additional parameter meaning, so the 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 states the resource and its scope precisely: 'page-to-page paths visitors take,' which tells an agent this returns aggregated navigation sequences rather than raw page metrics. It does not name any sibling (e.g. get_pages, run_funnel, get_breakdown) to differentiate the tool, so it falls short of a 5.

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 when-to-use guidance and no alternatives named. An agent cannot tell from this sentence why it would call get_journeys instead of run_funnel or get_breakdown for related path/flow questions. Only the implied 'journey analysis' context is present.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources