Skip to main content
Glama
Liohtml

Matomo-MCP

by Liohtml

Referrers

matomo_referrers
Read-only

Analyze traffic origins by retrieving referrer reports: channel overview, referring websites, search engines, social networks, campaigns, and AI assistants.

Instructions

Where traffic comes from: channel overview (direct, search, websites, social, campaigns), referring websites, search engines and keywords, social networks, campaign performance, and AI assistants (Matomo 5.1+).

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 referrer report to fetch.overview
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.
Behavior3/5

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

The description does not disclose any behavioral aspects beyond stating it provides data. However, the annotation indicates read-only, so no side effects are expected. The description itself does not add any behavioral transparency.

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 is a single, clear sentence that efficiently lists the types of referrer data available, with no unnecessary words.

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?

The description is concise but covers the main categories of referrer data. However, it does not mention any limitations, required permissions, or how the output is structured, so it is not fully complete.

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?

The description does not elaborate on the parameters beyond what is already in the schema. The schema descriptions cover each parameter, so the tool description adds no additional parameter semantics.

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 states that the tool provides referrer traffic data, listing various types such as channel overview, search engines, etc., which gives a clear understanding of its purpose.

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?

The description does not provide any guidance on when to use this tool versus alternative tools, nor does it mention any prerequisites or contexts where it is appropriate.

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