List goals

List the goals set up in the site settings.

MCP tool plausible_read → list_goals

read

Returns each goal with its display name, trigger (pageview or custom_event) and the page path or event name it matches. It lists the goals as configured, whether or not anyone has converted yet. Use it before add_goal to avoid a duplicate.

Parameters

Parameters: list_goals
NameTypeDescription
site string required string Domain of the site as the Sites page lists it, e.g. acme-shop.example.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "plausible_read",
    "arguments": {
      "operation": "list_goals",
      "arguments": {
        "site": "site"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "site": "acme-shop.example",
    "goals": [
      {
        "name": "Checkout complete",
        "trigger": "pageview",
        "target": "/checkout/thank-you"
      },
      {
        "name": "Newsletter signup",
        "trigger": "custom_event",
        "target": "Newsletter Signup"
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.