Skip to main content
Glama
Plausible Analytics MCP Server

Plausible Analytics MCP Server

by er1carruda

get_utm_breakdown

Break down traffic by UTM source, medium, campaign, content, or term to analyze campaign performance and identify which campaigns drive results, using filters and date ranges.

Instructions

Get breakdown by UTM parameters to analyze campaign performance.

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": {
      "utm_param": "<utm_param>",
      "date_range": "<date_range>"
    },
    "name": "get_utm_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of results to return
filtersNoOptional filters, e.g. [["is", "event:page", ["/blog"]]]
utm_paramYesUTM parameter to analyze
date_rangeYesDate range

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 provided, so the description carries the full behavioral burden. It does not state that this is a read-only analytics operation, does not explain pagination or limit behavior, and does not describe what a breakdown result contains or how date_range and filters affect the grouping.

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?

The description is a single front-loaded sentence with no filler or repetition. It is concise and readable, though its brevity contributes to the missing usage and behavioral context noted elsewhere.

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?

For a four-parameter analytics tool with no annotations and no output schema, the description is too thin. The schema covers parameter definitions well, but the description does not explain result format, how the breakdown is aggregated, or when this tool is preferable to the many sibling breakdown and analytics tools.

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 the input schema already documents all four parameters, including the utm_param enum and filters example. The description only restates that UTM parameters are involved and adds no syntax, format, or behavioral detail beyond the schema. Baseline 3 is appropriate.

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 states a specific verb and resource: "Get breakdown by UTM parameters." This distinguishes it somewhat from page, browser, device, and location breakdown siblings because the grouping dimension is explicitly UTM parameters. It does not, however, differentiate it from other campaign/traffic analytics tools such as get_top_sources or plausible_query.

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 phrase "to analyze campaign performance" gives a broad intent but no explicit when-to-use guidance, no exclusions, and no named alternatives. An agent cannot tell from this description whether to choose this tool over get_top_sources, get_aggregate, or plausible_query for campaign analysis.

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