Skip to main content
Glama
Plausible Analytics MCP Server

Plausible Analytics MCP Server

by er1carruda

get_page_breakdown

Retrieve detailed traffic metrics for a specific page or page pattern, including wildcards like '/blog/**', to analyze visitor behavior and performance.

Instructions

Get detailed metrics for a specific page or page pattern (supports wildcards like '/blog/**').

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page_path": "<page_path>",
      "date_range": "<date_range>"
    },
    "name": "get_page_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
filtersNoOptional additional filters, e.g. [["is", "visit:source", ["Google"]]]
metricsNoMetrics to retrieve
page_pathYesPage path or pattern, e.g. '/blog' or '/blog/**'
date_rangeYesDate range

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and mostly doesn't meet it. It never states that this is a read-only query, that wildcards aggregate matching pages into one row, or what the response looks like; the wildcard note merely echoes the schema's own '/blog/**' example.

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 tight sentence with the key distinguishing feature (page-pattern support) placed in parentheses immediately after the core purpose. Nothing is wasted, though the parenthetical could have been promoted into main prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter read tool with full schema coverage the description is broadly sufficient to invoke it, but with no output schema it does not explain what 'detailed metrics' returns or the default metric set. Wildcard aggregation semantics remain undefined.

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 page_path, date_range, metrics, and filters all documented inline, so the baseline is 3. The description adds no syntax or format detail beyond restating the wildcard behavior already present in the schema.

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?

States a specific verb ('Get') and resource ('detailed metrics for a specific page or page pattern'), which distinguishes it from a general listing tool. It stops short of naming a sibling such as get_top_pages, so the agent must infer the contrast between 'one page' and 'top pages'.

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 only implied: the agent can infer this tool is for querying a single page rather than a ranked list. There is no explicit when-to-use/when-not guidance, no prerequisites, and no mention of alternatives like get_top_pages or get_aggregate.

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