Skip to main content
Glama

Update calculated metric

update_calculated_metric

Update a calculated metric. Full replacement — you must send name, formula AND symbol.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCalculated metric ID (from list_calculated_metrics)
nameYesMetric name
symbolYesDisplay format: numbers, decimal, % or currency
formulaYesFormula as an ARRAY of tokens in evaluation order. CTR = clicks ÷ impressions × 100 is: [{id:"t1",type:"METRIC",query:{datasource_id:"gadw",data_view:"ACCOUNT",metrics:[{value:"clicks"}]}}, {id:"t2",type:"OPERATOR",operator:"÷"}, {id:"t3",type:"METRIC",query:{datasource_id:"gadw",data_view:"ACCOUNT",metrics:[{value:"impressions"}]}}, {id:"t4",type:"OPERATOR",operator:"×"}, {id:"t5",type:"NUMBER",number:100}]

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe calculated metric as saved — id, name, formula and symbol.
successYesTrue when the call succeeded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "chart-mogul",
      -                    "amplitude",
      -                    "harvest",
      -                    "zoho-crm",
      -                    "clockify",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "harvest",
      +                    "zoho-crm",
      +                    "clockify",
      +                    "adtraction",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "chart-mogul",
      -                    "amplitude",
      -                    "harvest",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "harvest",
      +                    "zoho-crm",
      +                    "clockify",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "chart-mogul",
      -                    "amplitude",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "harvest",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  4. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "clickup",
      -                    "make",
      -                    "freshdesk",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "chart-mogul",
      +                    "amplitude",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "surnex",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "clickup",
      +                    "make",
      +                    "freshdesk",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  6. Changed1 schema field changed
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "surnex",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
  7. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / formula / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "id": {
      -          "description": "Unique token id within the formula, e.g. \"t1\"",
      -          "type": "string"
      -        },
      -        "number": {
      -          "description": "Required when type is NUMBER",
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "operator": {
      -          "anyOf": [
      -            {
      -              "enum": [
      -                "+",
      -                "-",
      -                "*",
      -                "/",
      -                "×",
      -                "÷",
      -                "(",
      -                ")"
      -              ],
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      -        },
      -        "query": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": true,
      -              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      -              "properties": {
      -                "advanced": {
      -                  "additionalProperties": {},
      -                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      -                  "type": "object"
      -                },
      -                "data_view": {
      -                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      -                  "type": "string"
      -                },
      -                "datasource_id": {
      -                  "description": "Datasource alias, e.g. gadw (from datasources)",
      -                  "enum": [
      -                    "advanced-web-ranking",
      -                    "ac",
      -                    "adroll",
      -                    "ahrefs",
      -                    "basecamp",
      -                    "brightlocal",
      -                    "call-rail",
      -                    "drip",
      -                    "keywords",
      -                    "sendin-blue",
      -                    "sendgrid",
      -                    "moosend",
      -                    "mailer-lite",
      -                    "pingdom",
      -                    "uptime-robot",
      -                    "piwik-pro",
      -                    "wordpress",
      -                    "pabbly-connect",
      -                    "ment",
      -                    "twilio",
      -                    "switchy",
      -                    "vimeo",
      -                    "pinterest",
      -                    "pinterest-ads",
      -                    "gtres",
      -                    "paypal",
      -                    "gps",
      -                    "gs",
      -                    "CUSTOM_IMPORT",
      -                    "CUSTOM_DATA",
      -                    "CALCULATION",
      -                    "GOALS",
      -                    "str",
      -                    "wistia",
      -                    "ca-mon",
      -                    "convertkit",
      -                    "woocommerce",
      -                    "xero",
      -                    "matomo",
      -                    "go-high-level",
      -                    "wcs",
      -                    "bing-webmaster-tools",
      -                    "pipedrive",
      -                    "salesforce",
      -                    "tiktok",
      -                    "tiktok-ads",
      -                    "twr",
      -                    "twr-ads",
      -                    "spf",
      -                    "ytbe",
      -                    "google-local-services-ads",
      -                    "klaviyo",
      -                    "gsh",
      -                    "ga4",
      -                    "lkdin-ads",
      -                    "lkdin-pg",
      -                    "mlchmp",
      -                    "inst-ads",
      -                    "inst",
      -                    "fb-ads",
      -                    "fb-pg",
      -                    "gmb",
      -                    "serpstat",
      -                    "hubspot",
      -                    "gadw",
      -                    "sem-rush",
      -                    "se-ranking",
      -                    "microsoft-ads",
      -                    "plausible",
      -                    "snapchat-ads",
      -                    "amazon-advertising",
      -                    "microsoft-clarity",
      -                    "serp-watch",
      -                    "vbout",
      -                    "moz",
      -                    "chatgpt-ads",
      -                    "omnisend",
      -                    "airtable",
      -                    "nozzle",
      -                    "demo"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "custom": {
      -                        "description": "A dynamic dimension absent from the static catalog",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the dimension on the widget",
      -                        "type": "string"
      -                      },
      -                      "selector": {
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Dimension id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "filters": {
      -                  "description": "Row filters",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "field": {
      -                        "description": "Metric or dimension id to filter on",
      -                        "type": "string"
      -                      },
      -                      "logicalOperator": {
      -                        "anyOf": [
      -                          {
      -                            "enum": [
      -                              "and",
      -                              "or"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      -                      },
      -                      "operator": {
      -                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "anyOf": [
      -                          {
      -                            "type": "string"
      -                          },
      -                          {
      -                            "type": "number"
      -                          },
      -                          {
      -                            "type": "boolean"
      -                          },
      -                          {
      -                            "items": {},
      -                            "type": "array"
      -                          }
      -                        ],
      -                        "description": "Value to compare against"
      -                      }
      -                    },
      -                    "required": [
      -                      "field",
      -                      "operator",
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "metrics": {
      -                  "description": "Metrics to compute over — must belong to the data view",
      -                  "items": {
      -                    "additionalProperties": true,
      -                    "properties": {
      -                      "action_type": {
      -                        "type": "string"
      -                      },
      -                      "custom": {
      -                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      -                        "type": "boolean"
      -                      },
      -                      "data_view": {
      -                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      -                        "type": "string"
      -                      },
      -                      "invert_comparison": {
      -                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      -                        "type": "boolean"
      -                      },
      -                      "label": {
      -                        "description": "Display name — renames the metric on the widget",
      -                        "type": "string"
      -                      },
      -                      "request_metrics": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "selector": {
      -                        "type": "string"
      -                      },
      -                      "summary": {
      -                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      -                        "enum": [
      -                          "SUM",
      -                          "AVG",
      -                          "MAX",
      -                          "MIN"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "symbol": {
      -                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      -                        "enum": [
      -                          "number",
      -                          "decimal",
      -                          "percent",
      -                          "%",
      -                          "currency",
      -                          "$",
      -                          "text",
      -                          "link",
      -                          "date",
      -                          "s",
      -                          "ms",
      -                          "time",
      -                          "seconds",
      -                          "minutes",
      -                          "milliseconds"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "value": {
      -                        "description": "Metric id (from describe_datasource)",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "value"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "description": "Required when type is METRIC — the query whose value this token contributes"
      -        },
      -        "type": {
      -          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      -          "enum": [
      -            "METRIC",
      -            "NUMBER",
      -            "OPERATOR"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "type"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "id": {
      +          "description": "Unique token id within the formula, e.g. \"t1\"",
      +          "type": "string"
      +        },
      +        "number": {
      +          "description": "Required when type is NUMBER",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "operator": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "+",
      +                "-",
      +                "*",
      +                "/",
      +                "×",
      +                "÷",
      +                "(",
      +                ")"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is OPERATOR. Use × and ÷ for multiply/divide (what the UI writes); the ASCII * and / are also accepted since migrated formulas use them. Grouping: ( and )"
      +        },
      +        "query": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": true,
      +              "description": "A builder query: which datasource, view, metrics, dimensions and filters to compute",
      +              "properties": {
      +                "advanced": {
      +                  "additionalProperties": {},
      +                  "description": "Datasource-specific settings — describe_datasource lists required keys per view",
      +                  "type": "object"
      +                },
      +                "data_view": {
      +                  "description": "Data view (from describe_datasource), e.g. ACCOUNT",
      +                  "type": "string"
      +                },
      +                "datasource_id": {
      +                  "description": "Datasource alias, e.g. gadw (from datasources)",
      +                  "enum": [
      +                    "advanced-web-ranking",
      +                    "ac",
      +                    "adroll",
      +                    "ahrefs",
      +                    "basecamp",
      +                    "brightlocal",
      +                    "call-rail",
      +                    "drip",
      +                    "keywords",
      +                    "sendin-blue",
      +                    "sendgrid",
      +                    "moosend",
      +                    "mailer-lite",
      +                    "pingdom",
      +                    "uptime-robot",
      +                    "piwik-pro",
      +                    "wordpress",
      +                    "pabbly-connect",
      +                    "ment",
      +                    "twilio",
      +                    "switchy",
      +                    "vimeo",
      +                    "pinterest",
      +                    "pinterest-ads",
      +                    "gtres",
      +                    "paypal",
      +                    "gps",
      +                    "gs",
      +                    "CUSTOM_IMPORT",
      +                    "CUSTOM_DATA",
      +                    "CALCULATION",
      +                    "GOALS",
      +                    "str",
      +                    "wistia",
      +                    "ca-mon",
      +                    "convertkit",
      +                    "woocommerce",
      +                    "xero",
      +                    "matomo",
      +                    "go-high-level",
      +                    "wcs",
      +                    "bing-webmaster-tools",
      +                    "pipedrive",
      +                    "salesforce",
      +                    "tiktok",
      +                    "tiktok-ads",
      +                    "twr",
      +                    "twr-ads",
      +                    "spf",
      +                    "ytbe",
      +                    "google-local-services-ads",
      +                    "klaviyo",
      +                    "gsh",
      +                    "ga4",
      +                    "lkdin-ads",
      +                    "lkdin-pg",
      +                    "mlchmp",
      +                    "inst-ads",
      +                    "inst",
      +                    "fb-ads",
      +                    "fb-pg",
      +                    "gmb",
      +                    "serpstat",
      +                    "hubspot",
      +                    "gadw",
      +                    "sem-rush",
      +                    "se-ranking",
      +                    "microsoft-ads",
      +                    "plausible",
      +                    "snapchat-ads",
      +                    "amazon-advertising",
      +                    "microsoft-clarity",
      +                    "serp-watch",
      +                    "vbout",
      +                    "moz",
      +                    "chatgpt-ads",
      +                    "omnisend",
      +                    "airtable",
      +                    "nozzle",
      +                    "demo"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dimensions": {
      +                  "description": "Breakdown dimensions, e.g. [{ value: \"DATE\" }]",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "custom": {
      +                        "description": "A dynamic dimension absent from the static catalog",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the dimension belongs to; filled from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the dimension on the widget",
      +                        "type": "string"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Dimension id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "filters": {
      +                  "description": "Row filters",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "field": {
      +                        "description": "Metric or dimension id to filter on",
      +                        "type": "string"
      +                      },
      +                      "logicalOperator": {
      +                        "anyOf": [
      +                          {
      +                            "enum": [
      +                              "and",
      +                              "or"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "null"
      +                          }
      +                        ],
      +                        "description": "How this row joins the previous one — 'and' (default) or 'or'"
      +                      },
      +                      "operator": {
      +                        "description": "Operator id — the valid list per datasource comes from describe_datasource",
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "anyOf": [
      +                          {
      +                            "type": "string"
      +                          },
      +                          {
      +                            "type": "number"
      +                          },
      +                          {
      +                            "type": "boolean"
      +                          },
      +                          {
      +                            "items": {},
      +                            "type": "array"
      +                          }
      +                        ],
      +                        "description": "Value to compare against"
      +                      }
      +                    },
      +                    "required": [
      +                      "field",
      +                      "operator",
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "metrics": {
      +                  "description": "Metrics to compute over — must belong to the data view",
      +                  "items": {
      +                    "additionalProperties": true,
      +                    "properties": {
      +                      "action_type": {
      +                        "description": "Meta/Instagram action-based metrics only (actions, conversions, cost_per_action_type…) — the action key the value is read under. Filled from the catalog — only send it with custom: true",
      +                        "type": "string"
      +                      },
      +                      "custom": {
      +                        "description": "A dynamic per-account metric absent from the static catalog (e.g. a Meta custom conversion)",
      +                        "type": "boolean"
      +                      },
      +                      "data_view": {
      +                        "description": "Data view the metric belongs to; resolved from the catalog when omitted",
      +                        "type": "string"
      +                      },
      +                      "invert_comparison": {
      +                        "description": "Colour a rise as negative — for lower-is-better metrics (cost, CPC, bounce rate)",
      +                        "type": "boolean"
      +                      },
      +                      "label": {
      +                        "description": "Display name — renames the metric on the widget",
      +                        "type": "string"
      +                      },
      +                      "request_metrics": {
      +                        "description": "The upstream vendor field(s) this metric is built from. Filled from the catalog — only send it with custom: true",
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "selector": {
      +                        "description": "Where the value is read from in the vendor response. Filled from the catalog — only send it with custom: true, copying what describe_datasource reports",
      +                        "type": "string"
      +                      },
      +                      "summary": {
      +                        "description": "Aggregation for the total: 'SUM', 'AVG', 'MAX', or 'MIN'",
      +                        "enum": [
      +                          "SUM",
      +                          "AVG",
      +                          "MAX",
      +                          "MIN"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "symbol": {
      +                        "description": "Number format. Numeric: 'number' (plain), 'decimal', 'percent' (or '%'), 'currency' (or '$'). Duration: 's', 'ms', 'time', 'seconds', 'minutes', 'milliseconds'. Passed through unformatted: 'text', 'link', 'date'",
      +                        "enum": [
      +                          "number",
      +                          "decimal",
      +                          "percent",
      +                          "%",
      +                          "currency",
      +                          "$",
      +                          "text",
      +                          "link",
      +                          "date",
      +                          "s",
      +                          "ms",
      +                          "time",
      +                          "seconds",
      +                          "minutes",
      +                          "milliseconds"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "value": {
      +                        "description": "Metric id (from describe_datasource)",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "value"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Required when type is METRIC — the query whose value this token contributes"
      +        },
      +        "type": {
      +          "description": "'METRIC' (a query), 'NUMBER' (a literal), or 'OPERATOR' (an arithmetic symbol)",
      +          "enum": [
      +            "METRIC",
      +            "NUMBER",
      +            "OPERATOR"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / properties / success / description
      Previous value: -"True when the call succeeded. A failure comes back as an error result instead."New value: +"True when the call succeeded."
  8. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false. The description adds a genuinely useful trait beyond those: this is a full-replacement update requiring name, formula and symbol, which warns the agent that omitted fields will be overwritten/clobbered. It does not cover auth requirements or what happens to prior values, keeping it from a 5.

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?

Two tight sentences, front-loaded with the action and immediately followed by the critical constraint. No filler and nothing to trim.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present and 100% schema coverage, the description need not explain returns or field formats, and its full-replacement warning covers the main behavioral risk. It is nearly complete, missing only explicit routing against sibling update/create 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 all four parameters are already documented by the schema, and the schema itself marks them required. The description merely restates the required fields (name, formula, symbol) without adding syntax or format insight beyond the schema, so the baseline 3 applies.

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 verb+resource are explicit ("Update a calculated metric"), and the second clause clarifies the update semantics as a full replacement. It does not name or differentiate itself from close siblings such as create_calculated_metric or update_calculated_metric_widget, so it lands just 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit when-to-use vs. when-not-to-use guidance and names no alternatives (e.g., create_calculated_metric for new metrics, update_calculated_metric_widget for widgets). The "full replacement" note is a call-semantics constraint rather than routing guidance, so usage context is essentially absent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources