Faurya MCP

Insights Boards

Let an AI assistant read, build and lay out your Faurya insights boards and widgets through MCP.

Insights boards tools

The insights feature lets an AI assistant work with the boards on your site's Insights page. It can read a board's layout, create boards, add and configure widgets, and arrange them on the grid. You can ask for a whole dashboard in one sentence ("build me a revenue board with MRR, churn and new subscribers") and the assistant will build it.

These tools manage what a board shows, not the numbers on it. To get the figures themselves, the assistant uses the Analytics and Revenue Reports tools.

Supported access levels

AccessSupportedAllows
ReadYesList boards, read a board's widgets and layout, read the metric catalog.
WriteYesCreate, rename and delete boards; add, change and remove widgets; save the layout. Write implies read.

Role requirements and site scoping

Insights tools require insights:read or insights:write for the selected site. Insights boards is off by default: turn it on when you approve the connection, or edit the connection later in Faurya settings. Supply siteId for multi-site connections — board and widget ids are only accepted for the site the call names.

Tool summary

ToolAccessPurpose
faurya_list_insight_boardsReadLists boards with their widget count and current revision.
faurya_get_insight_boardReadReads one board with every widget and its placement.
faurya_get_insight_metric_catalogReadLists every metric, widget kind, range and limit, plus this site's goals and AI crawlers.
faurya_create_insight_boardWriteCreates an empty board.
faurya_update_insight_boardWriteRenames a board, moves it in the sidebar, or changes its default range.
faurya_delete_insight_boardWriteDeletes a board and every widget on it.
faurya_add_insight_widgetWriteAdds a configured widget to a board.
faurya_update_insight_widgetWriteChanges a widget's title, range, content or filters.
faurya_delete_insight_widgetWriteRemoves a widget.
faurya_save_insight_layoutWritePlaces every widget on a board in one call.

Common errors

INSUFFICIENT_SCOPE, SITE_SCOPE_REQUIRED, SITE_NOT_PERMITTED, NOT_FOUND, VALIDATION_ERROR, INVALID_WIDGET_COMBINATION, REVISION_CONFLICT, LIMIT_REACHED, and RATE_LIMITED.

Example prompts

Create an insights board called "Growth" with unique visitors, conversion rate, MRR and new paid subscribers.
Add a chart comparing sessions and pageviews over the last 90 days, with GitHub pushes marked on it.
On my Growth board, add a world map of revenue by country and a breakdown of signups by referrer.
Tidy up my Revenue board: put the number tiles in a row along the top and the charts below.
Change the visitors chart on my Growth board to only show traffic from the US.

How editing works

Three rules keep boards safe when an assistant edits them:

  1. The assistant reads the catalog first. faurya_get_insight_metric_catalog lists every metric a widget can use, plus your site's own goal names and AI crawler providers. A widget naming anything not in the catalog is refused, so nothing broken is ever saved.
  2. Every write carries the board's revision. A board has a revision number that goes up whenever anyone changes it or anything on it. Each write must send the revision it last read. If you or a teammate saved the board in the meantime, the write is refused with REVISION_CONFLICT and nothing changes — the assistant re-reads the board and tries once more. Each successful write returns the new revision.
  3. A widget is checked whole before it is saved. Its kind, metrics, overlays and range are validated together, so an invalid widget costs nothing and leaves nothing behind.

Widget kinds

kindWhat it showsWhat it takesDefault size
numberOne figureExactly one chartable metric2 × 1
chartA time series, line or barUp to 2 chartable metrics of the same grain, plus up to 4 markers4 × 3
breakdownOne dimension as ranked barsOne dimension:* metric and a measure (revenue or a goal)3 × 3
mapCountries on a world mapdimension:country and a measure4 × 3
movementGains against losses for a movement reportOne movement:* metric3 × 3
goal-reachShare of visitors who complete each goalgoals:reach plus 1–8 of your goals4 × 3
goal-rhythmYour goals by day of the weekgoals:rhythm plus 1–8 of your goals6 × 3
crawl-providerOne AI provider's crawler requestsOne crawl:provider:<id> metric3 × 2
crawl-pagesRecently crawled pagescrawl:recent-pages4 × 4
live-orbPeople on your site right now, on a globelive:visitors3 × 3

Sizes are columns × rows on the 12-column grid.

Metrics

The catalog is the source of truth for your site, but these are the groups it contains:

GroupExamples
audienceuniqueVisitors, newVisitors, returningVisitors, sessions, pageviews, bounceRate, conversionRate, avgSessionDuration, revenuePerVisitor, goals:reach, goals:rhythm, live:visitors
revenueEvery revenue report as report:<slug> — e.g. report:monthly-recurring-revenue, report:paid-subscribers, report:net-mrr-churn-rate, report:net-cash-flow — and the movement reports as movement:mrr-movements, movement:net-mrr-movements, movement:subscriber-movements, movement:subscription-movements
dimensiondimension:referrers, dimension:campaign, dimension:pages, dimension:entryPages, dimension:hostname, dimension:country, dimension:region, dimension:city, dimension:browser, dimension:os, dimension:devices
crawlcrawl:provider:<id> for each AI crawler seen on your site, crawl:recent-pages
feedChart markers: notes, xMentions, githubPushes, redditMentions

Some revenue metrics are monthly figures and can only be shown over longer ranges; the catalog lists the allowed ranges for each metric.

Ranges

Boards and widgets use these ranges: TODAY, YESTERDAY, LAST_24_HOURS, LAST_7_DAYS, LAST_30_DAYS, LAST_60_DAYS, LAST_90_DAYS. A board has a default range; a widget can override it with rangeOverride.

Limits

Boards per site50
Widgets per board50
Metrics per widget2
Markers per widget4
Filters per widget8
Goals per goal widget8
Board name60 characters
Widget title80 characters
Grid12 columns; widgets 1–12 wide and 1–6 tall

faurya_list_insight_boards

What it does

Lists the site's boards in sidebar order: id, name, position, default range, widget count and current revision. It returns no widgets and computes no numbers.

Permission required

Insights boards: Read.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.

Example output

{
  "success": true,
  "requestId": "req_example",
  "data": {
    "siteId": "site_example",
    "boards": [
      {
        "id": "board_growth",
        "name": "Growth",
        "position": 0,
        "defaultRange": "LAST_30_DAYS",
        "revision": 7,
        "widgetCount": 5,
        "createdAt": "2026-10-19T10:00:00.000Z",
        "updatedAt": "2026-11-02T14:21:00.000Z"
      }
    ],
    "limits": { "boardsPerSite": 50, "widgetsPerBoard": 50 }
  }
}

faurya_get_insight_board

What it does

Reads one board whole: the board and every widget with its placement (x, y, w, h), title, range override, metrics, markers and filters. Each widget also includes its decoded content (kind, metrics, markers, measure, goals) and its effectiveRange.

Permission required

Insights boards: Read.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
boardIdstringYesA board id from faurya_list_insight_boards.

Example MCP input

{ "siteId": "site_example", "boardId": "board_growth" }

Notes

This returns the layout, not the figures. Use the board's revision from here in the next write.

faurya_get_insight_metric_catalog

What it does

Returns everything needed to build a valid widget: every metric key with its label, unit, group, whether it can be charted and which ranges it allows; the ten widget kinds and what each accepts; the ranges; the limits; and this site's own goal names and AI crawler provider ids.

Permission required

Insights boards: Read.

When to use it

Before adding or changing any widget.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
groupstringNoOnly one group: audience, revenue, dimension, crawl or feed.

Example MCP input

{ "siteId": "site_example", "group": "revenue" }

faurya_create_insight_board

What it does

Creates an empty board at the end of the sidebar and returns it with revision: 1.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
namestringNoUp to 60 characters. Defaults to "Page N".
defaultRangestringNoOne of the ranges.

Example MCP input

{ "siteId": "site_example", "name": "Revenue", "defaultRange": "LAST_90_DAYS" }

Example output

{
  "success": true,
  "requestId": "req_example",
  "data": {
    "success": true,
    "changed": true,
    "siteId": "site_example",
    "operation": "create_insight_board",
    "revision": 1,
    "after": {
      "id": "board_revenue",
      "name": "Revenue",
      "position": 1,
      "defaultRange": "LAST_90_DAYS",
      "revision": 1
    }
  }
}

Every write tool answers in this shape: changed, the board's new revision, and the object after the change (and before, where there was one).

Common errors

LIMIT_REACHED when the site already has 50 boards.

faurya_update_insight_board

What it does

Renames a board, moves it in the sidebar, or changes its default range. Widgets are not touched.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
boardIdstringYesThe board to change.
revisionintegerYesThe revision you last read.
namestringNoNew name.
positionintegerNoNew sidebar position, from 0.
defaultRangestringNoNew default range.

Send at least one of name, position or defaultRange.

Example MCP input

{ "siteId": "site_example", "boardId": "board_growth", "revision": 7, "name": "Growth (weekly)", "defaultRange": "LAST_7_DAYS" }

Common errors

REVISION_CONFLICT if the board changed since you read it.

faurya_delete_insight_board

What it does

Permanently deletes a board and every widget on it.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
boardIdstringYesThe board to delete.
revisionintegerYesThe revision you last read.
confirmbooleanYesMust be true.

Example MCP input

{ "siteId": "site_example", "boardId": "board_old", "revision": 3, "confirm": true }

This cannot be undone. A well-behaved assistant asks you to confirm before calling it.

faurya_add_insight_widget

What it does

Adds one configured widget to a board. If you leave out placement, Faurya puts the widget in the first free spot that fits, at the default size for its kind.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
boardIdstringYesThe board to add to.
revisionintegerYesThe board's current revision.
contentobjectYesWhat the widget shows — see below.
titlestringNoUp to 80 characters.
rangeOverridestringNoA range for this widget only.
placementobjectNo{ x, y, w, h }. Omit to auto-place. A placement you choose is not checked against other widgets — use faurya_save_insight_layout to rearrange safely.

content fields:

FieldDescription
kindOne of the widget kinds.
metrics[{ "metricKey": "...", "form": "LINE" | "BAR" }]. The first metric uses the left axis, the second the right. form applies to charts.
markersChart only: [{ "markerKey": "githubPushes" }].
measureBreakdown and map only: { "kind": "revenue" } or { "kind": "goal", "goal": "signup" }.
goalsGoal widgets only: your goal names, e.g. ["signup", "checkout"].

Example MCP inputs

A number tile:

{
  "siteId": "site_example",
  "boardId": "board_revenue",
  "revision": 1,
  "title": "MRR",
  "content": {
    "kind": "number",
    "metrics": [{ "metricKey": "report:monthly-recurring-revenue" }]
  }
}

A two-metric chart with markers:

{
  "siteId": "site_example",
  "boardId": "board_growth",
  "revision": 7,
  "title": "Traffic",
  "content": {
    "kind": "chart",
    "metrics": [
      { "metricKey": "uniqueVisitors", "form": "LINE" },
      { "metricKey": "conversionRate", "form": "LINE" }
    ],
    "markers": [{ "markerKey": "githubPushes" }, { "markerKey": "notes" }]
  }
}

Revenue by referrer, and signups by country on a map:

{
  "siteId": "site_example",
  "boardId": "board_growth",
  "revision": 8,
  "content": {
    "kind": "breakdown",
    "metrics": [{ "metricKey": "dimension:referrers" }],
    "measure": { "kind": "revenue" }
  }
}
{
  "siteId": "site_example",
  "boardId": "board_growth",
  "revision": 9,
  "content": {
    "kind": "map",
    "metrics": [{ "metricKey": "dimension:country" }],
    "measure": { "kind": "goal", "goal": "signup" }
  }
}

Common errors

INVALID_WIDGET_COMBINATION when the content breaks a rule (for example two metrics on a number tile, or a goal the site doesn't have) — the message says which. REVISION_CONFLICT, LIMIT_REACHED at 50 widgets.

faurya_update_insight_widget

What it does

Changes one widget's title, range override, content or filters. Placement is changed with faurya_save_insight_layout.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
widgetIdstringYesThe widget to change.
revisionintegerYesThe board's current revision.
titlestringNoNew title, or null to clear it.
rangeOverridestringNoNew range, or null to use the board's default.
contentobjectNoThe whole new content, same shape as when adding.
filtersarrayNoThe whole filter set: [{ "dimension": "COUNTRY", "value": "US" }].

Filter dimensions: REFERRER, CAMPAIGN, HOSTNAME, PATH, ENTRY_PAGE, COUNTRY, REGION, CITY, BROWSER, OS, DEVICE. (A breakdown's goal is set through its content's measure, not as a filter.)

Example MCP input

{
  "siteId": "site_example",
  "widgetId": "widget_traffic",
  "revision": 10,
  "filters": [{ "dimension": "COUNTRY", "value": "US" }]
}

content and filters replace what is stored. Anything you leave out — a metric, a marker, a filter — is removed.

faurya_delete_insight_widget

What it does

Removes one widget from its board, with its metrics, markers and filters. The other widgets stay where they are; save a new layout afterwards if you want to close the gap.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
widgetIdstringYesThe widget to remove.
revisionintegerYesThe board's current revision.

faurya_save_insight_layout

What it does

Sets the position and size of every widget on a board in one call, on the 12-column grid. This is the saved layout everyone sees; on narrow screens the board is shown as a stack derived from it.

Permission required

Insights boards: Write.

Input

ParameterTypeRequiredDescription
siteIdstringConditionalRequired when the connection has multiple permitted sites.
boardIdstringYesThe board to lay out.
revisionintegerYesThe board's current revision.
widgetsarrayYes[{ "id", "x", "y", "w", "h" }] for every widget on the board. x 0–11, y from 0, w 1–12, h 1–6.

Example MCP input

{
  "siteId": "site_example",
  "boardId": "board_growth",
  "revision": 11,
  "widgets": [
    { "id": "widget_mrr", "x": 0, "y": 0, "w": 3, "h": 1 },
    { "id": "widget_subs", "x": 3, "y": 0, "w": 3, "h": 1 },
    { "id": "widget_traffic", "x": 0, "y": 1, "w": 6, "h": 3 },
    { "id": "widget_map", "x": 6, "y": 0, "w": 6, "h": 4 }
  ]
}

Common errors

VALIDATION_ERROR if a widget is missing from the list, two widgets overlap, a widget runs past column 12, or an id isn't on this board.