Skip to main content
Glama
Liohtml

Matomo-MCP

by Liohtml

Pages

matomo_pages
Read-only

Analyze page behavior with metrics for top pages, entry and exit pages, downloads, and outbound links. Specify site, date range, and segment to get tailored reports.

Instructions

Page-level analytics: most visited page URLs or titles, entry and exit pages, file downloads, and clicked outbound links. URLs are returned flattened (full paths), sorted by visits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoDate for the report: 'today', 'yesterday', 'YYYY-MM-DD', a rolling window like 'last7' or 'last30', or a range 'YYYY-MM-DD,YYYY-MM-DD' (combine with period=range).yesterday
limitNoMaximum number of rows to return (-1 for all rows).
periodNoAggregation period for the report.day
reportNoWhich page report to fetch.page_urls
segmentNoOptional Matomo segment filter, e.g. 'deviceType==mobile;country==DE'. See https://matomo.org/docs/segmentation/ for the syntax.
site_idYesNumeric Matomo site ID. If unknown, call matomo_list_sites first.
Behavior4/5

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

Annotations already mark the tool as read-only, and the description adds useful behavioral context: URLs are returned flattened as full paths and sorted by visits. This goes beyond the annotation for report-specific behavior and avoids surprises.

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

Conciseness5/5

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

The description comprises two sentences: the first front-loads the tool purpose and report list; the second covers output formatting. There is no filler, and each sentence contributes essential user information.

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?

Given there is no output schema, the description still communicates the nature and shape of the returned data (page URLs/titles, entry/exit, downloads, outlinks, full paths, sorted by visits). It could go deeper into per-report row shapes, but the combination of schema descriptions and this context is sufficient for basic invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema describes 100% of parameters with defaults and enums. The description adds meaning by mapping report types to the output behavior (most visited URLs/titles, entry/exit pages, downloads, outlinks) and clarifying URL flattening and sort order, which improves parameter comprehension.

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 identifies the tool as returning page-level analytics reports and enumerates the specific report types (most visited URLs/titles, entry/exit pages, downloads, outbound links). It is distinct from siblings like matomo_visits_summary and matomo_referrers, though it lacks a strong imperative verb such as 'list' or 'get'.

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?

The description says 'Page-level analytics reports' and lists what it covers, which gives context for when to use it. However, it does not explicitly mention when not to use it or point to alternatives like matomo_page_performance or matomo_visits_summary.

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

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/Liohtml/matomo-mcp'

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