Skip to main content
Glama
Plausible Analytics MCP Server

Plausible Analytics MCP Server

by er1carruda

get_custom_property_breakdown

Retrieve a breakdown of custom event property values from Plausible Analytics by property key and date range, with optional result limits and filters.

Instructions

Get breakdown by a custom event property. property_name is the key without the 'event:props:' prefix.

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": {
      "property_name": "<property_name>",
      "date_range": "<date_range>"
    },
    "name": "get_custom_property_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results
filtersNoOptional filters, e.g. [["is", "visit:source", ["Google"]]]
date_rangeYesDate range
property_nameYesCustom property key (without 'event:props:' prefix), e.g. 'plan', 'category'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/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 behavioral burden, yet it only implies read-only via 'Get'. It says nothing about what is returned, whether results are ordered or truncated by limit, how date_range affects scope, or whether event filters apply.

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?

Two tight sentences with the core purpose front-loaded and no filler. The second sentence duplicates the schema's property_name note, which is mildly redundant but useful as a call-time reminder.

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 simple read aggregation with full schema coverage and no output schema, the definition is minimally sufficient. The notable gap is return behavior: an agent cannot tell whether the response is counts, percentages, or time-scoped, nor how limit interacts with the breakdown.

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%, so all four parameters are already documented, including the 'event:props:' prefix convention the description repeats. The description adds no new meaning about limit, filters, or date_range format beyond what the schema provides.

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 and resource: get a breakdown grouped by a custom event property. This implicitly separates it from the many fixed-dimension siblings (browser, device, location, os, utm), but it never names an alternative or states the distinguishing condition explicitly.

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?

There is no when-to-use guidance, no mention of prerequisites, and no routing to or away from siblings such as get_breakdown_by_browser or plausible_query. The agent must infer the use case from the name alone.

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