Skip to main content
Glama
plausible-mcp

plausible-mcp

by getsentry

Compare pages or sources

compare_breakdown
Read-onlyIdempotent

Rank which pages gained or lost pageviews, or which sources and channels gained or lost visits between two periods, including groups that appeared or disappeared.

Instructions

Find which pages gained or lost pageviews, or which sources or channels gained or lost visits between two periods. Ranks changes across all groups, including groups that appeared or disappeared. Set direction to losses for a drop.

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": {
      "site_id": "<site_id>",
      "period_b": "<period_b>",
      "dimension": "<dimension>"
    },
    "name": "compare_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNo
pageNo
limitNo
site_idYes
period_aNo7d or start,end.
period_bYes7d or start,end.
dimensionYes
directionNolargest_change
property_filtersNo

Output Schema

NameRequiredDescriptionDefault
metricYes
resultsYes
period_aYes
period_bYes
dimensionYes
groups_comparedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and openWorld, so safety is covered. Beyond that, the description discloses genuinely non-obvious behavior: results are ranked across all groups, and groups that appeared or disappeared between periods are still included, which an agent could not infer from the schema and which materially affects how results should be interpreted.

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?

Three short sentences: the main capability first, then the ranking behavior, then the direction tip. Every sentence adds information and nothing is repeated from the schema or annotations.

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?

With nine parameters (three required), low schema coverage, and an output schema that handles return values, the description covers the core purpose and the direction parameter but leaves limit truncation behavior, filter semantics, and the period_b input format unaddressed. Adequate to call the tool correctly in the default case, but thin for a nine-parameter comparison endpoint.

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 only 22%, so the description must carry weight. It explains dimension implicitly (pages vs sources vs channels) and clarifies direction semantics ('losses'), but says nothing about site_id, limit/pagination, property_filters, goal, or page, and only indirectly hints at period_a/period_b. It compensates for roughly half the coverage gap.

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 gives a concrete verb plus resource split by dimension: pages gaining/losing pageviews, sources or channels gaining/losing visits, between two periods. It differentiates itself from a plain breakdown by stating it ranks changes across all groups, which signals how it differs from get_breakdown or compare_periods, though it never names those siblings explicitly.

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: 'between two periods' plus the note about direction tells an agent this is a comparison tool, and 'Set direction to losses for a drop' is a usable nudge. It never states when to prefer this over compare_periods (whole-site period comparison) or get_breakdown (single-period listing), so choosing the right sibling is left to inference.

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