Skip to main content
Glama
Liohtml

Matomo-MCP

by Liohtml

Visitor Locations

matomo_geo
Read-only

Retrieve visitor locations by country, continent, region, or city. Specify a site ID and date range to get a geographic breakdown of visits with optional segment filters.

Instructions

Visitor locations: visits broken down by country, continent, region, or city.

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
levelNoGeographic granularity.country
limitNoMaximum number of rows to return (-1 for all rows).
periodNoAggregation period for the report.day
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?

Annotations already declare readOnlyHint=true and openWorldHint=false, meaning the tool is read-only and not open-world. The description does not contradict these and adds only the breakdown dimensions; it does not add extra behavioral context beyond what annotations provide.

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, focused sentence. It avoids fluff and repeats only useful context from the title. The breakdown levels are listed compactly, making it easy to parse.

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 the rich schema and read-only annotations, the description sufficiently completes the tool's context for a straightforward reporting task. It lacks an explicit mention of what metrics are returned (e.g., number of visits, percentages), which is minor because the word 'visits' already conveys the core metric.

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 six parameters individually described in the input schema. The description itself contributes no additional parameter insight, so it relies entirely on the structured schema, which is already clear.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's role: 'visits broken down by country, continent, region, or city' – a specific resource (visitor locations) and breakdown dimensions. This differentiates it from sibling tools like matomo_visits_summary and matomo_pages, making its purpose unambiguous.

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?

Usage is implied by the purpose, but there is no explicit statement of when to use this tool vs alternatives, nor any mention of when to choose another sibling. The parameter description for site_id suggests calling matomo_list_sites first, but the main description lacks direct guidance.

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