Skip to main content
Glama
Plausible Analytics MCP Server

Plausible Analytics MCP Server

by er1carruda

get_goal_conversions

Retrieve conversion data for Plausible goals and events by date range, with optional goal-name and custom filters to analyze specific conversion performance.

Instructions

Get conversion data for goals/events tracked in Plausible. Optionally filter to a specific goal by name.

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

Input Schema

NameRequiredDescriptionDefault
filtersNoOptional additional filters, e.g. [["is", "visit:source", ["Google"]]]
date_rangeYesDate range
goal_filterNoFilter to a specific goal name

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?

With no annotations supplied, the description carries the full burden of behavioral disclosure and does not meet it. It never states the aggregation level, the metrics returned (visitors vs. conversion rate vs. event counts), behavior when no goals exist, or any rate/token limits. 'Tracked in Plausible' is the only hint that goals must already be configured, which is thin for a query tool with zero annotation coverage.

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 short sentences, front-loaded with the resource and purpose, with no wasted preamble. The second sentence largely duplicates the goal_filter schema description, which is minor redundancy rather than bloat.

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 three-parameter read tool this covers the core purpose, but with no output schema the description should describe the shape of the result — an agent cannot tell whether it receives totals, per-goal rows, or a time series. Adding one clause on the return payload would make it complete.

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 schema already documents date_range, goal_filter, and the filter array with an example. The description only restates the goal_filter meaning ('filter to a specific goal by name') and adds nothing about date_range formats or the filter grammar. Baseline 3 is appropriate when the schema does the explanatory work.

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 names a specific verb and resource — 'Get conversion data for goals/events tracked in Plausible' — which is concrete enough for an agent to distinguish it from the breakdown and timeseries siblings. It does not explicitly name a competing alternative, so it stops short of a 5.

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: an agent can infer it should call this when it wants goal/event conversion figures, and the second sentence signals that goal narrowing is optional. There is no statement of when to prefer this over get_aggregate or get_timeseries, and no preconditions such as goals having been configured in the Plausible project.

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