Skip to main content
Glama
charpeni

Pirsch MCP Server

by charpeni

pirsch_query_statistics

Retrieve Pirsch Analytics statistics for a domain and date range, covering traffic, pages, events, acquisition, devices, geography, tags, keywords, and funnels.

Instructions

Read Pirsch Analytics v1 statistics for a domain and date range. Pass domainId from pirsch_list_domains to query a specific domain. Supports traffic, pages, events, acquisition, devices, geography, tags, keywords, and funnels.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesInclusive end date in YYYY-MM-DD format.
tagNo
cityNo
fromYesInclusive start date in YYYY-MM-DD format.
pathNo
sortNo
tagsNo
eventNo
limitNo
scaleNo
startNoQuery the previous N seconds. Primarily useful for active visitors.
metricYesThe Pirsch statistic to return.
offsetNo
regionNo
searchNo
browserNo
countryNoISO-3166 Alpha-2 country code.
patternNoRE2-compatible page path pattern.
utmTermNo
domainIdNoPirsch domain ID, typically selected with pirsch_list_domains. Falls back to PIRSCH_DOMAIN_ID.
exitPathNo
languageNoISO-639-1 language code.
platformNo
referrerNo
timezoneNoIANA timezone, for example Europe/Berlin.
directionNo
entryPathNo
eventMetaNo
utmMediumNo
utmSourceNo
utmContentNo
screenClassNo
utmCampaignNo
eventMetaKeyNo
referrerNameNo
customMetricKeyNo
operatingSystemNo
customMetricTypeNo
includeAverageTimeOnPageNo
Behavior2/5

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

With no annotations provided, the description must carry the burden of behavioral disclosure. It only states 'Read', indicating a non-mutating operation, but provides no details on authentication, rate limits, pagination, or output behavior. For a complex analytics tool, this is insufficient.

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 two sentences long, front-loaded with the core purpose, and every clause adds value. It avoids redundancy and is efficiently structured for quick comprehension.

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?

Given the tool's complexity (39 parameters, no output schema, no annotations), the description is far from complete. It does not explain return values, how the various filters interact, or what the 'scale' parameter controls. The description only provides a high-level overview, leaving important context missing.

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

Parameters2/5

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

Schema description coverage is only 23%, and the description adds little to compensate. It explains that domainId comes from pirsch_list_domains and lists high-level metric categories, but the 39 parameters, including many unannotated filters, remain unexplained. The description adds limited meaning beyond the schema.

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 it reads Pirsch Analytics v1 statistics for a domain and date range, with a specific verb ('Read') and resource. It also lists the supported metric categories (traffic, pages, events, etc.), which differentiates it from sibling tools like pirsch_list_domains and pirsch_get_domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a clear prerequisite: 'Pass domainId from pirsch_list_domains to query a specific domain.' This establishes when the tool is used and how to obtain the required domain ID. It doesn't explicitly mention alternatives or exclusions, but the sibling tools are distinct enough that usage context is clear.

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/charpeni/pirsch-mcp'

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