Skip to main content
Glama

AdsAgent — Meta Ads MCP

insights_query_batch_overview

Read-only

Cached batch: each needs product_ref/product_name/ad_account_id; group_by, YYYY-MM-DD date_from/date_to; page for all. Partial=unknown, never zero. Use advertised insights_query_consistent

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
scopesYes
searchNo
date_toNo
group_byYes
sort_dirNodesc
sort_keyNospend
date_fromNo
page_sizeNo
view_modeNogrouped
managementNo
attributionNo
result_cursorNo
connection_contextNo
metadata_contract_versionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "error": {
      -              "properties": {
      -                "category": {
      -                  "type": "string"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "retry_after_seconds": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "retryable": {
      -                  "type": "boolean"
      -                },
      -                "subcode": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "index": {
      -              "type": "integer"
      -            },
      -            "result": {
      -              "properties": {
      -                "daily": {
      -                  "items": {
      -                    "properties": {
      -                      "ad_account_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_amount": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_strategy": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "budget_level": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "clicks": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status_observed_at": {
      -                        "description": "Configuration snapshot time only.",
      -                        "format": "date-time",
      -                        "type": "string"
      -                      },
      -                      "conversion_value": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "conversions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpa": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpc": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpm": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "ctr": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "daily_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "data_as_of_date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_start": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_stop": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "delivery_issue_codes": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "delivery_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "effective_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "funnel": {
      -                        "$ref": "#/$defs/sa"
      -                      },
      -                      "funnel_observation": {
      -                        "properties": {
      -                          "proves_source_coverage": {
      -                            "const": false
      -                          },
      -                          "proves_zero": {
      -                            "const": false
      -                          },
      -                          "status": {
      -                            "enum": [
      -                              "selected_events_returned",
      -                              "no_selected_events_returned",
      -                              "read_unverified",
      -                              "insights_unavailable"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "historical_result": {
      -                        "$ref": "#/$defs/s9"
      -                      },
      -                      "id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "impressions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "lifetime_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "metric_completeness": {
      -                        "$ref": "#/$defs/s2"
      -                      },
      -                      "money_unit": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "optimization_goal": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "product_type": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reach": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "result_segments": {
      -                        "items": {
      -                          "properties": {
      -                            "adset_specs": {
      -                              "items": {
      -                                "items": {
      -                                  "properties": {
      -                                    "event_type": {
      -                                      "type": "string"
      -                                    },
      -                                    "window_days": {
      -                                      "type": "integer"
      -                                    }
      -                                  },
      -                                  "type": "object"
      -                                },
      -                                "type": [
      -                                  "array",
      -                                  "null"
      -                                ]
      -                              },
      -                              "type": "array"
      -                            },
      -                            "as_of": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "count": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "count_rows": {
      -                              "type": "integer"
      -                            },
      -                            "currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "indicator": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "mixed_adset_specs": {
      -                              "type": "boolean"
      -                            },
      -                            "reasons": {
      -                              "items": {
      -                                "type": "string"
      -                              },
      -                              "type": "array"
      -                            },
      -                            "rows": {
      -                              "type": "integer"
      -                            },
      -                            "value": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_rows": {
      -                              "type": "integer"
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "roas": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "source_observed_at": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_usd": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "effective_attribution": {
      -                  "type": "string"
      -                },
      -                "funnel_events": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "funnel_semantics": {
      -                  "properties": {
      -                    "coverage_requirement": {
      -                      "const": "verify_insights_and_source_coverage"
      -                    },
      -                    "empty_funnel_interpretation": {
      -                      "const": "no_selected_events_returned_not_zero_proof"
      -                    },
      -                    "missing_event_implies_missing_insights": {
      -                      "const": false
      -                    },
      -                    "missing_event_is_zero": {
      -                      "const": false
      -                    },
      -                    "read_coverage_scope": {
      -                      "const": "query_result_not_upstream_ingestion"
      -                    },
      -                    "representation": {
      -                      "const": "sparse"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "items": {
      -                  "items": {
      -                    "properties": {
      -                      "ad_account_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_amount": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_strategy": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "budget_level": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "clicks": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status_observed_at": {
      -                        "description": "Configuration snapshot time only.",
      -                        "format": "date-time",
      -                        "type": "string"
      -                      },
      -                      "conversion_value": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "conversions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpa": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpc": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpm": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "ctr": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "daily_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "data_as_of_date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_start": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_stop": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "delivery_issue_codes": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "delivery_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "effective_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "funnel": {
      -                        "$ref": "#/$defs/sa"
      -                      },
      -                      "funnel_observation": {
      -                        "properties": {
      -                          "proves_source_coverage": {
      -                            "const": false
      -                          },
      -                          "proves_zero": {
      -                            "const": false
      -                          },
      -                          "status": {
      -                            "enum": [
      -                              "selected_events_returned",
      -                              "no_selected_events_returned",
      -                              "read_unverified",
      -                              "insights_unavailable"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "historical_result": {
      -                        "$ref": "#/$defs/s9"
      -                      },
      -                      "id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "impressions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "lifetime_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "metric_completeness": {
      -                        "$ref": "#/$defs/s2"
      -                      },
      -                      "money_unit": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "optimization_goal": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "product_type": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reach": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "result_segments": {
      -                        "items": {
      -                          "properties": {
      -                            "adset_specs": {
      -                              "items": {
      -                                "items": {
      -                                  "properties": {
      -                                    "event_type": {
      -                                      "type": "string"
      -                                    },
      -                                    "window_days": {
      -                                      "type": "integer"
      -                                    }
      -                                  },
      -                                  "type": "object"
      -                                },
      -                                "type": [
      -                                  "array",
      -                                  "null"
      -                                ]
      -                              },
      -                              "type": "array"
      -                            },
      -                            "as_of": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "count": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "count_rows": {
      -                              "type": "integer"
      -                            },
      -                            "currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "indicator": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "mixed_adset_specs": {
      -                              "type": "boolean"
      -                            },
      -                            "reasons": {
      -                              "items": {
      -                                "type": "string"
      -                              },
      -                              "type": "array"
      -                            },
      -                            "rows": {
      -                              "type": "integer"
      -                            },
      -                            "value": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_rows": {
      -                              "type": "integer"
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "roas": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "source_observed_at": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_usd": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "meta": {
      -                  "properties": {
      -                    "cache_hit": {
      -                      "type": "boolean"
      -                    },
      -                    "coalesced": {
      -                      "type": "boolean"
      -                    },
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "data_as_of_date": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "data_freshness": {
      -                      "$ref": "#/$defs/se"
      -                    },
      -                    "duration_ms": {
      -                      "type": "integer"
      -                    },
      -                    "failed": {
      -                      "type": "integer"
      -                    },
      -                    "freshness_warnings": {
      -                      "items": {
      -                        "properties": {
      -                          "account_count": {
      -                            "type": "integer"
      -                          },
      -                          "code": {
      -                            "type": "string"
      -                          },
      -                          "dispersion_seconds": {
      -                            "type": "integer"
      -                          },
      -                          "last_pull_failed_account_count": {
      -                            "type": [
      -                              "integer",
      -                              "null"
      -                            ]
      -                          },
      -                          "last_pull_status": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "message": {
      -                            "type": "string"
      -                          },
      -                          "metrics_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "newest_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "observed_account_count": {
      -                            "type": "integer"
      -                          },
      -                          "oldest_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "funnel_incomplete": {
      -                      "type": "boolean"
      -                    },
      -                    "funnel_read_coverage": {
      -                      "properties": {
      -                        "complete": {
      -                          "type": "boolean"
      -                        },
      -                        "reason": {
      -                          "type": "string"
      -                        },
      -                        "source": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "item_count": {
      -                      "type": "integer"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "metric_completeness": {
      -                      "$ref": "#/$defs/s2"
      -                    },
      -                    "metrics_source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "missing_scopes": {
      -                      "items": {
      -                        "properties": {
      -                          "index": {
      -                            "type": "integer"
      -                          },
      -                          "status": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "index",
      -                          "status"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "page": {
      -                      "type": "integer"
      -                    },
      -                    "page_size": {
      -                      "type": "integer"
      -                    },
      -                    "refresh_reused": {
      -                      "type": "boolean"
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "scope_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_row_count": {
      -                      "type": "integer"
      -                    },
      -                    "source_truncated": {
      -                      "type": "boolean"
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "standard_metrics_complete": {
      -                      "type": "boolean"
      -                    },
      -                    "succeeded": {
      -                      "type": "integer"
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_items": {
      -                      "type": "integer"
      -                    },
      -                    "total_pages": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "summary": {
      -                  "properties": {
      -                    "clicks": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "conversion_value": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "conversions": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpa": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpc": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpm": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "ctr": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "funnel": {
      -                      "$ref": "#/$defs/sa"
      -                    },
      -                    "historical_result": {
      -                      "$ref": "#/$defs/s9"
      -                    },
      -                    "impressions": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "metric_completeness": {
      -                      "$ref": "#/$defs/s2"
      -                    },
      -                    "reach": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "result_segments": {
      -                      "items": {
      -                        "properties": {
      -                          "adset_specs": {
      -                            "items": {
      -                              "items": {
      -                                "properties": {
      -                                  "event_type": {
      -                                    "type": "string"
      -                                  },
      -                                  "window_days": {
      -                                    "type": "integer"
      -                                  }
      -                                },
      -                                "type": "object"
      -                              },
      -                              "type": [
      -                                "array",
      -                                "null"
      -                              ]
      -                            },
      -                            "type": "array"
      -                          },
      -                          "as_of": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "count": {
      -                            "type": [
      -                              "number",
      -                              "null"
      -                            ]
      -                          },
      -                          "count_rows": {
      -                            "type": "integer"
      -                          },
      -                          "currency": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "indicator": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "mixed_adset_specs": {
      -                            "type": "boolean"
      -                          },
      -                          "reasons": {
      -                            "items": {
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "rows": {
      -                            "type": "integer"
      -                          },
      -                          "value": {
      -                            "type": [
      -                              "number",
      -                              "null"
      -                            ]
      -                          },
      -                          "value_currency": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "value_rows": {
      -                            "type": "integer"
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "roas": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "spend": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "spend_usd": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "items",
      -                "meta"
      -              ],
      -              "type": "object"
      -            },
      -            "scope": {
      -              "properties": {
      -                "ad_account_id": {
      -                  "type": "string"
      -                },
      -                "product_name": {
      -                  "type": "string"
      -                },
      -                "product_ref": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "status": {
      -              "enum": [
      -                "ok",
      -                "error",
      -                "missing",
      -                "incomplete"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "index",
      -            "scope",
      -            "status"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "$ref": "#/$defs/se"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metric_completeness": {
      -            "$ref": "#/$defs/s2"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "meta"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "result_page": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "byte_length": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "byte_offset": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "complete": {
      -            "description": "Frozen result bytes retrieved, not source completeness.",
      -            "type": "boolean"
      -          },
      -          "data_base64url": {
      -            "type": "string"
      -          },
      -          "encoding": {
      -            "const": "mcp-call-tool-result-json-utf8+base64url"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "segment_sha256": {
      -            "type": "string"
      -          },
      -          "sha256": {
      -            "type": "string"
      -          },
      -          "snapshot_ref": {
      -            "type": "string"
      -          },
      -          "total_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "version": {
      -            "const": 1
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "encoding",
      -          "snapshot_ref",
      -          "sha256",
      -          "segment_sha256",
      -          "data_base64url",
      -          "expires_at",
      -          "byte_offset",
      -          "byte_length",
      -          "total_bytes",
      -          "next_cursor",
      -          "complete"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "result_page"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "error": {
      +              "properties": {
      +                "category": {
      +                  "type": "string"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "retry_after_seconds": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "retryable": {
      +                  "type": "boolean"
      +                },
      +                "subcode": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "index": {
      +              "type": "integer"
      +            },
      +            "result": {
      +              "properties": {
      +                "daily": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/sa"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "historical_result": {
      +                        "$ref": "#/$defs/s9"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "metric_completeness": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "result_segments": {
      +                        "items": {
      +                          "properties": {
      +                            "adset_specs": {
      +                              "items": {
      +                                "items": {
      +                                  "properties": {
      +                                    "event_type": {
      +                                      "type": "string"
      +                                    },
      +                                    "window_days": {
      +                                      "type": "integer"
      +                                    }
      +                                  },
      +                                  "type": "object"
      +                                },
      +                                "type": [
      +                                  "array",
      +                                  "null"
      +                                ]
      +                              },
      +                              "type": "array"
      +                            },
      +                            "as_of": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "count": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "count_rows": {
      +                              "type": "integer"
      +                            },
      +                            "currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "indicator": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "mixed_adset_specs": {
      +                              "type": "boolean"
      +                            },
      +                            "reasons": {
      +                              "items": {
      +                                "type": "string"
      +                              },
      +                              "type": "array"
      +                            },
      +                            "rows": {
      +                              "type": "integer"
      +                            },
      +                            "value": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_rows": {
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "effective_attribution": {
      +                  "type": "string"
      +                },
      +                "funnel_events": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "funnel_semantics": {
      +                  "properties": {
      +                    "coverage_requirement": {
      +                      "const": "verify_insights_and_source_coverage"
      +                    },
      +                    "empty_funnel_interpretation": {
      +                      "const": "no_selected_events_returned_not_zero_proof"
      +                    },
      +                    "missing_event_implies_missing_insights": {
      +                      "const": false
      +                    },
      +                    "missing_event_is_zero": {
      +                      "const": false
      +                    },
      +                    "read_coverage_scope": {
      +                      "const": "query_result_not_upstream_ingestion"
      +                    },
      +                    "representation": {
      +                      "const": "sparse"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "items": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/sa"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "historical_result": {
      +                        "$ref": "#/$defs/s9"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "metric_completeness": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "result_segments": {
      +                        "items": {
      +                          "properties": {
      +                            "adset_specs": {
      +                              "items": {
      +                                "items": {
      +                                  "properties": {
      +                                    "event_type": {
      +                                      "type": "string"
      +                                    },
      +                                    "window_days": {
      +                                      "type": "integer"
      +                                    }
      +                                  },
      +                                  "type": "object"
      +                                },
      +                                "type": [
      +                                  "array",
      +                                  "null"
      +                                ]
      +                              },
      +                              "type": "array"
      +                            },
      +                            "as_of": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "count": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "count_rows": {
      +                              "type": "integer"
      +                            },
      +                            "currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "indicator": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "mixed_adset_specs": {
      +                              "type": "boolean"
      +                            },
      +                            "reasons": {
      +                              "items": {
      +                                "type": "string"
      +                              },
      +                              "type": "array"
      +                            },
      +                            "rows": {
      +                              "type": "integer"
      +                            },
      +                            "value": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_rows": {
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "meta": {
      +                  "properties": {
      +                    "cache_hit": {
      +                      "type": "boolean"
      +                    },
      +                    "coalesced": {
      +                      "type": "boolean"
      +                    },
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "data_as_of_date": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "data_freshness": {
      +                      "$ref": "#/$defs/se"
      +                    },
      +                    "duration_ms": {
      +                      "type": "integer"
      +                    },
      +                    "failed": {
      +                      "type": "integer"
      +                    },
      +                    "freshness_warnings": {
      +                      "items": {
      +                        "properties": {
      +                          "account_count": {
      +                            "type": "integer"
      +                          },
      +                          "code": {
      +                            "type": "string"
      +                          },
      +                          "dispersion_seconds": {
      +                            "type": "integer"
      +                          },
      +                          "last_pull_failed_account_count": {
      +                            "type": [
      +                              "integer",
      +                              "null"
      +                            ]
      +                          },
      +                          "last_pull_status": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "message": {
      +                            "type": "string"
      +                          },
      +                          "metrics_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "newest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "observed_account_count": {
      +                            "type": "integer"
      +                          },
      +                          "oldest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "funnel_incomplete": {
      +                      "type": "boolean"
      +                    },
      +                    "funnel_read_coverage": {
      +                      "properties": {
      +                        "complete": {
      +                          "type": "boolean"
      +                        },
      +                        "reason": {
      +                          "type": "string"
      +                        },
      +                        "source": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "item_count": {
      +                      "type": "integer"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "metric_completeness": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "metrics_source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "missing_scopes": {
      +                      "items": {
      +                        "properties": {
      +                          "index": {
      +                            "type": "integer"
      +                          },
      +                          "status": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "index",
      +                          "status"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "page": {
      +                      "type": "integer"
      +                    },
      +                    "page_size": {
      +                      "type": "integer"
      +                    },
      +                    "refresh_reused": {
      +                      "type": "boolean"
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "scope_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_row_count": {
      +                      "type": "integer"
      +                    },
      +                    "source_truncated": {
      +                      "type": "boolean"
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "standard_metrics_complete": {
      +                      "type": "boolean"
      +                    },
      +                    "succeeded": {
      +                      "type": "integer"
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_items": {
      +                      "type": "integer"
      +                    },
      +                    "total_pages": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "page_metrics": {
      +                  "properties": {
      +                    "attribution": {
      +                      "properties": {
      +                        "requested": {
      +                          "type": "string"
      +                        },
      +                        "status": {
      +                          "type": "string"
      +                        },
      +                        "window": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "metric_scope": {
      +                      "const": "whole_product_card"
      +                    },
      +                    "primary": {
      +                      "properties": {
      +                        "action_key": {
      +                          "type": "string"
      +                        },
      +                        "cost": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        },
      +                        "cost_status": {
      +                          "type": "string"
      +                        },
      +                        "currency": {
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "status": {
      +                          "type": "string"
      +                        },
      +                        "value": {
      +                          "type": [
      +                            "number",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "profiles": {
      +                      "items": {
      +                        "properties": {
      +                          "kpi_profile": {
      +                            "type": "string"
      +                          },
      +                          "primary": {
      +                            "properties": {
      +                              "cost": {
      +                                "type": [
      +                                  "number",
      +                                  "null"
      +                                ]
      +                              },
      +                              "status": {
      +                                "type": "string"
      +                              },
      +                              "value": {
      +                                "type": [
      +                                  "number",
      +                                  "null"
      +                                ]
      +                              }
      +                            },
      +                            "type": "object"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "summary": {
      +                  "properties": {
      +                    "clicks": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversion_value": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpa": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpc": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpm": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "ctr": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "funnel": {
      +                      "$ref": "#/$defs/sa"
      +                    },
      +                    "historical_result": {
      +                      "$ref": "#/$defs/s9"
      +                    },
      +                    "impressions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "metric_completeness": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "reach": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "result_segments": {
      +                      "items": {
      +                        "properties": {
      +                          "adset_specs": {
      +                            "items": {
      +                              "items": {
      +                                "properties": {
      +                                  "event_type": {
      +                                    "type": "string"
      +                                  },
      +                                  "window_days": {
      +                                    "type": "integer"
      +                                  }
      +                                },
      +                                "type": "object"
      +                              },
      +                              "type": [
      +                                "array",
      +                                "null"
      +                              ]
      +                            },
      +                            "type": "array"
      +                          },
      +                          "as_of": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "count": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "count_rows": {
      +                            "type": "integer"
      +                          },
      +                          "currency": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "indicator": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "mixed_adset_specs": {
      +                            "type": "boolean"
      +                          },
      +                          "reasons": {
      +                            "items": {
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "rows": {
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "value_currency": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "value_rows": {
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "roas": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend_usd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "items",
      +                "meta"
      +              ],
      +              "type": "object"
      +            },
      +            "scope": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": "string"
      +                },
      +                "product_name": {
      +                  "type": "string"
      +                },
      +                "product_ref": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "status": {
      +              "enum": [
      +                "ok",
      +                "error",
      +                "missing",
      +                "incomplete"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "index",
      +            "scope",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "$ref": "#/$defs/se"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s2"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "meta"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "result_page": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "byte_length": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "byte_offset": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "complete": {
      +            "description": "Frozen result bytes retrieved, not source completeness.",
      +            "type": "boolean"
      +          },
      +          "data_base64url": {
      +            "type": "string"
      +          },
      +          "encoding": {
      +            "const": "mcp-call-tool-result-json-utf8+base64url"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "segment_sha256": {
      +            "type": "string"
      +          },
      +          "sha256": {
      +            "type": "string"
      +          },
      +          "snapshot_ref": {
      +            "type": "string"
      +          },
      +          "total_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "version": {
      +            "const": 1
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "encoding",
      +          "snapshot_ref",
      +          "sha256",
      +          "segment_sha256",
      +          "data_base64url",
      +          "expires_at",
      +          "byte_offset",
      +          "byte_length",
      +          "total_bytes",
      +          "next_cursor",
      +          "complete"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "result_page"
      +    ]
      +  }
      +]
  2. Changed6 schema fields changed
    • addedOutput schema / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  4. Changed11 schema fields changed
    • removedOutput schema / $defs / s10
      Removed value: -{
      -  "properties": {
      -    "can_report_stored_total": {
      -      "type": "boolean"
      -    },
      -    "reason": {
      -      "type": "string"
      -    },
      -    "zero_proven": {
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "can_report_stored_total",
      -    "zero_proven",
      -    "reason"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / $defs / s13
      Added value: +{
      +  "properties": {
      +    "can_report_stored_total": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "zero_proven": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "can_report_stored_total",
      +    "zero_proven",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / $defs / s6
      Removed value: -{
      -  "properties": {
      -    "as_of": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "conversion_value": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "conversions": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "status": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / $defs / s7
      Removed value: -{
      -  "additionalProperties": {
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / s9
      Added value: +{
      +  "properties": {
      +    "as_of": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "conversion_value": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "conversions": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / $defs / sa
      Added value: +{
      +  "additionalProperties": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / $defs / sb
      Removed value: -{
      -  "properties": {
      -    "interval_min": {
      -      "type": "integer"
      -    },
      -    "label": {
      -      "type": "string"
      -    },
      -    "last_pull_failed_account_count": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "last_pull_scope": {
      -      "const": "workspace"
      -    },
      -    "last_pull_status": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "last_pulled_at": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "max_staleness_min": {
      -      "type": "integer"
      -    },
      -    "server_now_utc": {
      -      "type": "string"
      -    },
      -    "staleness_seconds": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / se
      Added value: +{
      +  "properties": {
      +    "interval_min": {
      +      "type": "integer"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "last_pull_failed_account_count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "last_pull_scope": {
      +      "const": "workspace"
      +    },
      +    "last_pull_status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "last_pulled_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "max_staleness_min": {
      +      "type": "integer"
      +    },
      +    "server_now_utc": {
      +      "type": "string"
      +    },
      +    "staleness_seconds": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "error": {
      -              "properties": {
      -                "category": {
      -                  "type": "string"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "retry_after_seconds": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "retryable": {
      -                  "type": "boolean"
      -                },
      -                "subcode": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "index": {
      -              "type": "integer"
      -            },
      -            "result": {
      -              "properties": {
      -                "daily": {
      -                  "items": {
      -                    "properties": {
      -                      "ad_account_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_amount": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_strategy": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "budget_level": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "clicks": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status_observed_at": {
      -                        "description": "Configuration snapshot time only.",
      -                        "format": "date-time",
      -                        "type": "string"
      -                      },
      -                      "conversion_value": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "conversions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpa": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpc": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpm": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "ctr": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "daily_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "data_as_of_date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_start": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_stop": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "delivery_issue_codes": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "delivery_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "effective_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "funnel": {
      -                        "$ref": "#/$defs/s7"
      -                      },
      -                      "funnel_observation": {
      -                        "properties": {
      -                          "proves_source_coverage": {
      -                            "const": false
      -                          },
      -                          "proves_zero": {
      -                            "const": false
      -                          },
      -                          "status": {
      -                            "enum": [
      -                              "selected_events_returned",
      -                              "no_selected_events_returned",
      -                              "read_unverified",
      -                              "insights_unavailable"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "historical_result": {
      -                        "$ref": "#/$defs/s6"
      -                      },
      -                      "id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "impressions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "lifetime_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "metric_completeness": {
      -                        "$ref": "#/$defs/s2"
      -                      },
      -                      "money_unit": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "optimization_goal": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "product_type": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reach": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "result_segments": {
      -                        "items": {
      -                          "properties": {
      -                            "as_of": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "count": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "count_rows": {
      -                              "type": "integer"
      -                            },
      -                            "currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "indicator": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "reasons": {
      -                              "items": {
      -                                "type": "string"
      -                              },
      -                              "type": "array"
      -                            },
      -                            "rows": {
      -                              "type": "integer"
      -                            },
      -                            "value": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_rows": {
      -                              "type": "integer"
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "roas": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "source_observed_at": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_usd": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "effective_attribution": {
      -                  "type": "string"
      -                },
      -                "funnel_events": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "funnel_semantics": {
      -                  "properties": {
      -                    "coverage_requirement": {
      -                      "const": "verify_insights_and_source_coverage"
      -                    },
      -                    "empty_funnel_interpretation": {
      -                      "const": "no_selected_events_returned_not_zero_proof"
      -                    },
      -                    "missing_event_implies_missing_insights": {
      -                      "const": false
      -                    },
      -                    "missing_event_is_zero": {
      -                      "const": false
      -                    },
      -                    "read_coverage_scope": {
      -                      "const": "query_result_not_upstream_ingestion"
      -                    },
      -                    "representation": {
      -                      "const": "sparse"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "items": {
      -                  "items": {
      -                    "properties": {
      -                      "ad_account_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_amount": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_strategy": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "budget_level": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "clicks": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status_observed_at": {
      -                        "description": "Configuration snapshot time only.",
      -                        "format": "date-time",
      -                        "type": "string"
      -                      },
      -                      "conversion_value": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "conversions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpa": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpc": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpm": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "ctr": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "daily_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "data_as_of_date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_start": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_stop": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "delivery_issue_codes": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "delivery_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "effective_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "funnel": {
      -                        "$ref": "#/$defs/s7"
      -                      },
      -                      "funnel_observation": {
      -                        "properties": {
      -                          "proves_source_coverage": {
      -                            "const": false
      -                          },
      -                          "proves_zero": {
      -                            "const": false
      -                          },
      -                          "status": {
      -                            "enum": [
      -                              "selected_events_returned",
      -                              "no_selected_events_returned",
      -                              "read_unverified",
      -                              "insights_unavailable"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "historical_result": {
      -                        "$ref": "#/$defs/s6"
      -                      },
      -                      "id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "impressions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "lifetime_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "metric_completeness": {
      -                        "$ref": "#/$defs/s2"
      -                      },
      -                      "money_unit": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "optimization_goal": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "product_type": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reach": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "result_segments": {
      -                        "items": {
      -                          "properties": {
      -                            "as_of": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "count": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "count_rows": {
      -                              "type": "integer"
      -                            },
      -                            "currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "indicator": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "reasons": {
      -                              "items": {
      -                                "type": "string"
      -                              },
      -                              "type": "array"
      -                            },
      -                            "rows": {
      -                              "type": "integer"
      -                            },
      -                            "value": {
      -                              "type": [
      -                                "number",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_currency": {
      -                              "type": [
      -                                "string",
      -                                "null"
      -                              ]
      -                            },
      -                            "value_rows": {
      -                              "type": "integer"
      -                            }
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "roas": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "source_observed_at": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_usd": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "meta": {
      -                  "properties": {
      -                    "cache_hit": {
      -                      "type": "boolean"
      -                    },
      -                    "coalesced": {
      -                      "type": "boolean"
      -                    },
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "data_as_of_date": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "data_freshness": {
      -                      "$ref": "#/$defs/sb"
      -                    },
      -                    "duration_ms": {
      -                      "type": "integer"
      -                    },
      -                    "failed": {
      -                      "type": "integer"
      -                    },
      -                    "freshness_warnings": {
      -                      "items": {
      -                        "properties": {
      -                          "account_count": {
      -                            "type": "integer"
      -                          },
      -                          "code": {
      -                            "type": "string"
      -                          },
      -                          "dispersion_seconds": {
      -                            "type": "integer"
      -                          },
      -                          "last_pull_failed_account_count": {
      -                            "type": [
      -                              "integer",
      -                              "null"
      -                            ]
      -                          },
      -                          "last_pull_status": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "message": {
      -                            "type": "string"
      -                          },
      -                          "metrics_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "newest_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "observed_account_count": {
      -                            "type": "integer"
      -                          },
      -                          "oldest_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "funnel_incomplete": {
      -                      "type": "boolean"
      -                    },
      -                    "funnel_read_coverage": {
      -                      "properties": {
      -                        "complete": {
      -                          "type": "boolean"
      -                        },
      -                        "reason": {
      -                          "type": "string"
      -                        },
      -                        "source": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "item_count": {
      -                      "type": "integer"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "metric_completeness": {
      -                      "$ref": "#/$defs/s2"
      -                    },
      -                    "metrics_source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "missing_scopes": {
      -                      "items": {
      -                        "properties": {
      -                          "index": {
      -                            "type": "integer"
      -                          },
      -                          "status": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "index",
      -                          "status"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "page": {
      -                      "type": "integer"
      -                    },
      -                    "page_size": {
      -                      "type": "integer"
      -                    },
      -                    "refresh_reused": {
      -                      "type": "boolean"
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "scope_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_row_count": {
      -                      "type": "integer"
      -                    },
      -                    "source_truncated": {
      -                      "type": "boolean"
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "standard_metrics_complete": {
      -                      "type": "boolean"
      -                    },
      -                    "succeeded": {
      -                      "type": "integer"
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_items": {
      -                      "type": "integer"
      -                    },
      -                    "total_pages": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "summary": {
      -                  "properties": {
      -                    "clicks": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "conversion_value": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "conversions": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpa": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpc": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpm": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "ctr": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "funnel": {
      -                      "$ref": "#/$defs/s7"
      -                    },
      -                    "historical_result": {
      -                      "$ref": "#/$defs/s6"
      -                    },
      -                    "impressions": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "metric_completeness": {
      -                      "$ref": "#/$defs/s2"
      -                    },
      -                    "reach": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "result_segments": {
      -                      "items": {
      -                        "properties": {
      -                          "as_of": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "count": {
      -                            "type": [
      -                              "number",
      -                              "null"
      -                            ]
      -                          },
      -                          "count_rows": {
      -                            "type": "integer"
      -                          },
      -                          "currency": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "indicator": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "reasons": {
      -                            "items": {
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "rows": {
      -                            "type": "integer"
      -                          },
      -                          "value": {
      -                            "type": [
      -                              "number",
      -                              "null"
      -                            ]
      -                          },
      -                          "value_currency": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "value_rows": {
      -                            "type": "integer"
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "roas": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "spend": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "spend_usd": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "items",
      -                "meta"
      -              ],
      -              "type": "object"
      -            },
      -            "scope": {
      -              "properties": {
      -                "ad_account_id": {
      -                  "type": "string"
      -                },
      -                "product_name": {
      -                  "type": "string"
      -                },
      -                "product_ref": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "status": {
      -              "enum": [
      -                "ok",
      -                "error",
      -                "missing",
      -                "incomplete"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "index",
      -            "scope",
      -            "status"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "$ref": "#/$defs/sb"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metric_completeness": {
      -            "$ref": "#/$defs/s2"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "meta"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "result_page": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "byte_length": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "byte_offset": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "complete": {
      -            "description": "Frozen result bytes retrieved, not source completeness.",
      -            "type": "boolean"
      -          },
      -          "data_base64url": {
      -            "type": "string"
      -          },
      -          "encoding": {
      -            "const": "mcp-call-tool-result-json-utf8+base64url"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "segment_sha256": {
      -            "type": "string"
      -          },
      -          "sha256": {
      -            "type": "string"
      -          },
      -          "snapshot_ref": {
      -            "type": "string"
      -          },
      -          "total_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "version": {
      -            "const": 1
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "encoding",
      -          "snapshot_ref",
      -          "sha256",
      -          "segment_sha256",
      -          "data_base64url",
      -          "expires_at",
      -          "byte_offset",
      -          "byte_length",
      -          "total_bytes",
      -          "next_cursor",
      -          "complete"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "result_page"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "error": {
      +              "properties": {
      +                "category": {
      +                  "type": "string"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "retry_after_seconds": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "retryable": {
      +                  "type": "boolean"
      +                },
      +                "subcode": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "index": {
      +              "type": "integer"
      +            },
      +            "result": {
      +              "properties": {
      +                "daily": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/sa"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "historical_result": {
      +                        "$ref": "#/$defs/s9"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "metric_completeness": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "result_segments": {
      +                        "items": {
      +                          "properties": {
      +                            "adset_specs": {
      +                              "items": {
      +                                "items": {
      +                                  "properties": {
      +                                    "event_type": {
      +                                      "type": "string"
      +                                    },
      +                                    "window_days": {
      +                                      "type": "integer"
      +                                    }
      +                                  },
      +                                  "type": "object"
      +                                },
      +                                "type": [
      +                                  "array",
      +                                  "null"
      +                                ]
      +                              },
      +                              "type": "array"
      +                            },
      +                            "as_of": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "count": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "count_rows": {
      +                              "type": "integer"
      +                            },
      +                            "currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "indicator": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "mixed_adset_specs": {
      +                              "type": "boolean"
      +                            },
      +                            "reasons": {
      +                              "items": {
      +                                "type": "string"
      +                              },
      +                              "type": "array"
      +                            },
      +                            "rows": {
      +                              "type": "integer"
      +                            },
      +                            "value": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_rows": {
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "effective_attribution": {
      +                  "type": "string"
      +                },
      +                "funnel_events": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "funnel_semantics": {
      +                  "properties": {
      +                    "coverage_requirement": {
      +                      "const": "verify_insights_and_source_coverage"
      +                    },
      +                    "empty_funnel_interpretation": {
      +                      "const": "no_selected_events_returned_not_zero_proof"
      +                    },
      +                    "missing_event_implies_missing_insights": {
      +                      "const": false
      +                    },
      +                    "missing_event_is_zero": {
      +                      "const": false
      +                    },
      +                    "read_coverage_scope": {
      +                      "const": "query_result_not_upstream_ingestion"
      +                    },
      +                    "representation": {
      +                      "const": "sparse"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "items": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/sa"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "historical_result": {
      +                        "$ref": "#/$defs/s9"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "metric_completeness": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "result_segments": {
      +                        "items": {
      +                          "properties": {
      +                            "adset_specs": {
      +                              "items": {
      +                                "items": {
      +                                  "properties": {
      +                                    "event_type": {
      +                                      "type": "string"
      +                                    },
      +                                    "window_days": {
      +                                      "type": "integer"
      +                                    }
      +                                  },
      +                                  "type": "object"
      +                                },
      +                                "type": [
      +                                  "array",
      +                                  "null"
      +                                ]
      +                              },
      +                              "type": "array"
      +                            },
      +                            "as_of": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "count": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "count_rows": {
      +                              "type": "integer"
      +                            },
      +                            "currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "indicator": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "mixed_adset_specs": {
      +                              "type": "boolean"
      +                            },
      +                            "reasons": {
      +                              "items": {
      +                                "type": "string"
      +                              },
      +                              "type": "array"
      +                            },
      +                            "rows": {
      +                              "type": "integer"
      +                            },
      +                            "value": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_rows": {
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "meta": {
      +                  "properties": {
      +                    "cache_hit": {
      +                      "type": "boolean"
      +                    },
      +                    "coalesced": {
      +                      "type": "boolean"
      +                    },
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "data_as_of_date": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "data_freshness": {
      +                      "$ref": "#/$defs/se"
      +                    },
      +                    "duration_ms": {
      +                      "type": "integer"
      +                    },
      +                    "failed": {
      +                      "type": "integer"
      +                    },
      +                    "freshness_warnings": {
      +                      "items": {
      +                        "properties": {
      +                          "account_count": {
      +                            "type": "integer"
      +                          },
      +                          "code": {
      +                            "type": "string"
      +                          },
      +                          "dispersion_seconds": {
      +                            "type": "integer"
      +                          },
      +                          "last_pull_failed_account_count": {
      +                            "type": [
      +                              "integer",
      +                              "null"
      +                            ]
      +                          },
      +                          "last_pull_status": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "message": {
      +                            "type": "string"
      +                          },
      +                          "metrics_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "newest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "observed_account_count": {
      +                            "type": "integer"
      +                          },
      +                          "oldest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "funnel_incomplete": {
      +                      "type": "boolean"
      +                    },
      +                    "funnel_read_coverage": {
      +                      "properties": {
      +                        "complete": {
      +                          "type": "boolean"
      +                        },
      +                        "reason": {
      +                          "type": "string"
      +                        },
      +                        "source": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "item_count": {
      +                      "type": "integer"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "metric_completeness": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "metrics_source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "missing_scopes": {
      +                      "items": {
      +                        "properties": {
      +                          "index": {
      +                            "type": "integer"
      +                          },
      +                          "status": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "index",
      +                          "status"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "page": {
      +                      "type": "integer"
      +                    },
      +                    "page_size": {
      +                      "type": "integer"
      +                    },
      +                    "refresh_reused": {
      +                      "type": "boolean"
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "scope_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_row_count": {
      +                      "type": "integer"
      +                    },
      +                    "source_truncated": {
      +                      "type": "boolean"
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "standard_metrics_complete": {
      +                      "type": "boolean"
      +                    },
      +                    "succeeded": {
      +                      "type": "integer"
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_items": {
      +                      "type": "integer"
      +                    },
      +                    "total_pages": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "summary": {
      +                  "properties": {
      +                    "clicks": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversion_value": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpa": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpc": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpm": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "ctr": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "funnel": {
      +                      "$ref": "#/$defs/sa"
      +                    },
      +                    "historical_result": {
      +                      "$ref": "#/$defs/s9"
      +                    },
      +                    "impressions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "metric_completeness": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "reach": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "result_segments": {
      +                      "items": {
      +                        "properties": {
      +                          "adset_specs": {
      +                            "items": {
      +                              "items": {
      +                                "properties": {
      +                                  "event_type": {
      +                                    "type": "string"
      +                                  },
      +                                  "window_days": {
      +                                    "type": "integer"
      +                                  }
      +                                },
      +                                "type": "object"
      +                              },
      +                              "type": [
      +                                "array",
      +                                "null"
      +                              ]
      +                            },
      +                            "type": "array"
      +                          },
      +                          "as_of": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "count": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "count_rows": {
      +                            "type": "integer"
      +                          },
      +                          "currency": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "indicator": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "mixed_adset_specs": {
      +                            "type": "boolean"
      +                          },
      +                          "reasons": {
      +                            "items": {
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "rows": {
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "value_currency": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "value_rows": {
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "roas": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend_usd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "items",
      +                "meta"
      +              ],
      +              "type": "object"
      +            },
      +            "scope": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": "string"
      +                },
      +                "product_name": {
      +                  "type": "string"
      +                },
      +                "product_ref": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "status": {
      +              "enum": [
      +                "ok",
      +                "error",
      +                "missing",
      +                "incomplete"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "index",
      +            "scope",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "$ref": "#/$defs/se"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s2"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "meta"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "result_page": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "byte_length": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "byte_offset": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "complete": {
      +            "description": "Frozen result bytes retrieved, not source completeness.",
      +            "type": "boolean"
      +          },
      +          "data_base64url": {
      +            "type": "string"
      +          },
      +          "encoding": {
      +            "const": "mcp-call-tool-result-json-utf8+base64url"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "segment_sha256": {
      +            "type": "string"
      +          },
      +          "sha256": {
      +            "type": "string"
      +          },
      +          "snapshot_ref": {
      +            "type": "string"
      +          },
      +          "total_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "version": {
      +            "const": 1
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "encoding",
      +          "snapshot_ref",
      +          "sha256",
      +          "segment_sha256",
      +          "data_base64url",
      +          "expires_at",
      +          "byte_offset",
      +          "byte_length",
      +          "total_bytes",
      +          "next_cursor",
      +          "complete"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "result_page"
      +    ]
      +  }
      +]
    • changedOutput schema / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / $ref
      Previous value: -"#/$defs/s10"New value: +"#/$defs/s13"
    • changedOutput schema / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / $ref
      Previous value: -"#/$defs/s10"New value: +"#/$defs/s13"
  5. Changed33 schema fields changed
    • addedOutput schema / $defs / s10
      Added value: +{
      +  "properties": {
      +    "can_report_stored_total": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "zero_proven": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "can_report_stored_total",
      +    "zero_proven",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / s2 / additionalProperties / properties
      Added value: +{
      +  "complete": {
      +    "type": "boolean"
      +  },
      +  "excluded_rows": {
      +    "type": "integer"
      +  },
      +  "reason": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • changedOutput schema / $defs / s2 / additionalProperties / type
      Previous value: -[
      -  "number",
      -  "null"
      -]New value: +"object"
    • addedOutput schema / $defs / s6 / properties / as_of
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / s6 / properties / conversion_value
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / s6 / properties / conversions
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • removedOutput schema / $defs / s6 / properties / interval_min
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / s6 / properties / label
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / s6 / properties / last_pull_failed_account_count
      Removed value: -{
      -  "type": [
      -    "integer",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / s6 / properties / last_pull_scope
      Removed value: -{
      -  "const": "workspace"
      -}
    • removedOutput schema / $defs / s6 / properties / last_pull_status
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / s6 / properties / last_pulled_at
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / $defs / s6 / properties / max_staleness_min
      Removed value: -{
      -  "type": "integer"
      -}
    • removedOutput schema / $defs / s6 / properties / server_now_utc
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / $defs / s6 / properties / staleness_seconds
      Removed value: -{
      -  "type": [
      -    "integer",
      -    "null"
      -  ]
      -}
    • addedOutput schema / $defs / s6 / properties / status
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / s7
      Added value: +{
      +  "additionalProperties": {
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / $defs / sb / properties / can_report_stored_total
      Removed value: -{
      -  "type": "boolean"
      -}
    • addedOutput schema / $defs / sb / properties / interval_min
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / $defs / sb / properties / label
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / sb / properties / last_pull_failed_account_count
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / sb / properties / last_pull_scope
      Added value: +{
      +  "const": "workspace"
      +}
    • addedOutput schema / $defs / sb / properties / last_pull_status
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / sb / properties / last_pulled_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / $defs / sb / properties / max_staleness_min
      Added value: +{
      +  "type": "integer"
      +}
    • removedOutput schema / $defs / sb / properties / reason
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / $defs / sb / properties / server_now_utc
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / $defs / sb / properties / staleness_seconds
      Added value: +{
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • removedOutput schema / $defs / sb / properties / zero_proven
      Removed value: -{
      -  "type": "boolean"
      -}
    • removedOutput schema / $defs / sb / required
      Removed value: -[
      -  "can_report_stored_total",
      -  "zero_proven",
      -  "reason"
      -]
    • changedOutput schema / else / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "items": {
      -        "items": {
      -          "properties": {
      -            "error": {
      -              "properties": {
      -                "category": {
      -                  "type": "string"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "retry_after_seconds": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "retryable": {
      -                  "type": "boolean"
      -                },
      -                "subcode": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "index": {
      -              "type": "integer"
      -            },
      -            "result": {
      -              "properties": {
      -                "daily": {
      -                  "items": {
      -                    "properties": {
      -                      "ad_account_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_amount": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_strategy": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "budget_level": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "clicks": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status_observed_at": {
      -                        "description": "Configuration snapshot time only.",
      -                        "format": "date-time",
      -                        "type": "string"
      -                      },
      -                      "conversion_value": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "conversions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpa": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpc": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpm": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "ctr": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "daily_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "data_as_of_date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_start": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_stop": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "delivery_issue_codes": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "delivery_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "effective_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "funnel": {
      -                        "$ref": "#/$defs/s2"
      -                      },
      -                      "funnel_observation": {
      -                        "properties": {
      -                          "proves_source_coverage": {
      -                            "const": false
      -                          },
      -                          "proves_zero": {
      -                            "const": false
      -                          },
      -                          "status": {
      -                            "enum": [
      -                              "selected_events_returned",
      -                              "no_selected_events_returned",
      -                              "read_unverified",
      -                              "insights_unavailable"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "impressions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "lifetime_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "money_unit": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "optimization_goal": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "product_type": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reach": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "roas": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "source_observed_at": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_usd": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "effective_attribution": {
      -                  "type": "string"
      -                },
      -                "funnel_events": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "funnel_semantics": {
      -                  "properties": {
      -                    "coverage_requirement": {
      -                      "const": "verify_insights_and_source_coverage"
      -                    },
      -                    "empty_funnel_interpretation": {
      -                      "const": "no_selected_events_returned_not_zero_proof"
      -                    },
      -                    "missing_event_implies_missing_insights": {
      -                      "const": false
      -                    },
      -                    "missing_event_is_zero": {
      -                      "const": false
      -                    },
      -                    "read_coverage_scope": {
      -                      "const": "query_result_not_upstream_ingestion"
      -                    },
      -                    "representation": {
      -                      "const": "sparse"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "items": {
      -                  "items": {
      -                    "properties": {
      -                      "ad_account_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "ad_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "adset_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_amount": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "bid_strategy": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "budget_level": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "campaign_name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "clicks": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "configured_status_observed_at": {
      -                        "description": "Configuration snapshot time only.",
      -                        "format": "date-time",
      -                        "type": "string"
      -                      },
      -                      "conversion_value": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "conversions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpa": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpc": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "cpm": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "ctr": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "currency": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "daily_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "data_as_of_date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_start": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "date_stop": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "delivery_issue_codes": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "delivery_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "effective_status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "funnel": {
      -                        "$ref": "#/$defs/s2"
      -                      },
      -                      "funnel_observation": {
      -                        "properties": {
      -                          "proves_source_coverage": {
      -                            "const": false
      -                          },
      -                          "proves_zero": {
      -                            "const": false
      -                          },
      -                          "status": {
      -                            "enum": [
      -                              "selected_events_returned",
      -                              "no_selected_events_returned",
      -                              "read_unverified",
      -                              "insights_unavailable"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "id": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "impressions": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "lifetime_budget": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "money_unit": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "optimization_goal": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "product_type": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "reach": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "roas": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "source_observed_at": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "spend_usd": {
      -                        "type": [
      -                          "number",
      -                          "null"
      -                        ]
      -                      },
      -                      "status": {
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                "meta": {
      -                  "properties": {
      -                    "cache_hit": {
      -                      "type": "boolean"
      -                    },
      -                    "coalesced": {
      -                      "type": "boolean"
      -                    },
      -                    "complete": {
      -                      "type": "boolean"
      -                    },
      -                    "data_as_of_date": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "data_freshness": {
      -                      "$ref": "#/$defs/s6"
      -                    },
      -                    "duration_ms": {
      -                      "type": "integer"
      -                    },
      -                    "failed": {
      -                      "type": "integer"
      -                    },
      -                    "freshness_warnings": {
      -                      "items": {
      -                        "properties": {
      -                          "account_count": {
      -                            "type": "integer"
      -                          },
      -                          "code": {
      -                            "type": "string"
      -                          },
      -                          "dispersion_seconds": {
      -                            "type": "integer"
      -                          },
      -                          "last_pull_failed_account_count": {
      -                            "type": [
      -                              "integer",
      -                              "null"
      -                            ]
      -                          },
      -                          "last_pull_status": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "message": {
      -                            "type": "string"
      -                          },
      -                          "metrics_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "newest_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "observed_account_count": {
      -                            "type": "integer"
      -                          },
      -                          "oldest_source_observed_at": {
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "funnel_incomplete": {
      -                      "type": "boolean"
      -                    },
      -                    "funnel_read_coverage": {
      -                      "properties": {
      -                        "complete": {
      -                          "type": "boolean"
      -                        },
      -                        "reason": {
      -                          "type": "string"
      -                        },
      -                        "source": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    "has_more": {
      -                      "type": "boolean"
      -                    },
      -                    "item_count": {
      -                      "type": "integer"
      -                    },
      -                    "limitations": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "metrics_source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "missing_scopes": {
      -                      "items": {
      -                        "properties": {
      -                          "index": {
      -                            "type": "integer"
      -                          },
      -                          "status": {
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "index",
      -                          "status"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "next_cursor": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "page": {
      -                      "type": "integer"
      -                    },
      -                    "page_size": {
      -                      "type": "integer"
      -                    },
      -                    "refresh_reused": {
      -                      "type": "boolean"
      -                    },
      -                    "returned_count": {
      -                      "type": "integer"
      -                    },
      -                    "scope_count": {
      -                      "type": "integer"
      -                    },
      -                    "source": {
      -                      "type": "string"
      -                    },
      -                    "source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "source_row_count": {
      -                      "type": "integer"
      -                    },
      -                    "source_truncated": {
      -                      "type": "boolean"
      -                    },
      -                    "source_watermark": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "standard_metrics_complete": {
      -                      "type": "boolean"
      -                    },
      -                    "succeeded": {
      -                      "type": "integer"
      -                    },
      -                    "total_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    },
      -                    "total_items": {
      -                      "type": "integer"
      -                    },
      -                    "total_pages": {
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "summary": {
      -                  "properties": {
      -                    "clicks": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "conversion_value": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "conversions": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpa": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpc": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "cpm": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "ctr": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "funnel": {
      -                      "$ref": "#/$defs/s2"
      -                    },
      -                    "impressions": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "reach": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "roas": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "spend": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "spend_usd": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              },
      -              "required": [
      -                "items",
      -                "meta"
      -              ],
      -              "type": "object"
      -            },
      -            "scope": {
      -              "properties": {
      -                "ad_account_id": {
      -                  "type": "string"
      -                },
      -                "product_name": {
      -                  "type": "string"
      -                },
      -                "product_ref": {
      -                  "type": "string"
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "status": {
      -              "enum": [
      -                "ok",
      -                "error",
      -                "missing",
      -                "incomplete"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "index",
      -            "scope",
      -            "status"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "meta": {
      -        "properties": {
      -          "cache_hit": {
      -            "type": "boolean"
      -          },
      -          "coalesced": {
      -            "type": "boolean"
      -          },
      -          "complete": {
      -            "type": "boolean"
      -          },
      -          "data_as_of_date": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "data_freshness": {
      -            "$ref": "#/$defs/s6"
      -          },
      -          "duration_ms": {
      -            "type": "integer"
      -          },
      -          "failed": {
      -            "type": "integer"
      -          },
      -          "freshness_warnings": {
      -            "items": {
      -              "properties": {
      -                "account_count": {
      -                  "type": "integer"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "dispersion_seconds": {
      -                  "type": "integer"
      -                },
      -                "last_pull_failed_account_count": {
      -                  "type": [
      -                    "integer",
      -                    "null"
      -                  ]
      -                },
      -                "last_pull_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "metrics_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "newest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "observed_account_count": {
      -                  "type": "integer"
      -                },
      -                "oldest_source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "has_more": {
      -            "type": "boolean"
      -          },
      -          "item_count": {
      -            "type": "integer"
      -          },
      -          "limitations": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "missing_scopes": {
      -            "items": {
      -              "properties": {
      -                "index": {
      -                  "type": "integer"
      -                },
      -                "status": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "status"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "page": {
      -            "type": "integer"
      -          },
      -          "page_size": {
      -            "type": "integer"
      -          },
      -          "refresh_reused": {
      -            "type": "boolean"
      -          },
      -          "returned_count": {
      -            "type": "integer"
      -          },
      -          "scope_count": {
      -            "type": "integer"
      -          },
      -          "source": {
      -            "type": "string"
      -          },
      -          "source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "source_row_count": {
      -            "type": "integer"
      -          },
      -          "source_truncated": {
      -            "type": "boolean"
      -          },
      -          "source_watermark": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "succeeded": {
      -            "type": "integer"
      -          },
      -          "total_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "total_items": {
      -            "type": "integer"
      -          },
      -          "total_pages": {
      -            "type": "integer"
      -          }
      -        },
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "items",
      -      "meta"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "result_page": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "byte_length": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "byte_offset": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "complete": {
      -            "description": "Frozen result bytes retrieved, not source completeness.",
      -            "type": "boolean"
      -          },
      -          "data_base64url": {
      -            "type": "string"
      -          },
      -          "encoding": {
      -            "const": "mcp-call-tool-result-json-utf8+base64url"
      -          },
      -          "expires_at": {
      -            "type": "string"
      -          },
      -          "next_cursor": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "segment_sha256": {
      -            "type": "string"
      -          },
      -          "sha256": {
      -            "type": "string"
      -          },
      -          "snapshot_ref": {
      -            "type": "string"
      -          },
      -          "total_bytes": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "version": {
      -            "const": 1
      -          }
      -        },
      -        "required": [
      -          "version",
      -          "encoding",
      -          "snapshot_ref",
      -          "sha256",
      -          "segment_sha256",
      -          "data_base64url",
      -          "expires_at",
      -          "byte_offset",
      -          "byte_length",
      -          "total_bytes",
      -          "next_cursor",
      -          "complete"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "result_page"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "error": {
      +              "properties": {
      +                "category": {
      +                  "type": "string"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "retry_after_seconds": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "retryable": {
      +                  "type": "boolean"
      +                },
      +                "subcode": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "index": {
      +              "type": "integer"
      +            },
      +            "result": {
      +              "properties": {
      +                "daily": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/s7"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "historical_result": {
      +                        "$ref": "#/$defs/s6"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "metric_completeness": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "result_segments": {
      +                        "items": {
      +                          "properties": {
      +                            "as_of": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "count": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "count_rows": {
      +                              "type": "integer"
      +                            },
      +                            "currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "indicator": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "reasons": {
      +                              "items": {
      +                                "type": "string"
      +                              },
      +                              "type": "array"
      +                            },
      +                            "rows": {
      +                              "type": "integer"
      +                            },
      +                            "value": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_rows": {
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "effective_attribution": {
      +                  "type": "string"
      +                },
      +                "funnel_events": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "funnel_semantics": {
      +                  "properties": {
      +                    "coverage_requirement": {
      +                      "const": "verify_insights_and_source_coverage"
      +                    },
      +                    "empty_funnel_interpretation": {
      +                      "const": "no_selected_events_returned_not_zero_proof"
      +                    },
      +                    "missing_event_implies_missing_insights": {
      +                      "const": false
      +                    },
      +                    "missing_event_is_zero": {
      +                      "const": false
      +                    },
      +                    "read_coverage_scope": {
      +                      "const": "query_result_not_upstream_ingestion"
      +                    },
      +                    "representation": {
      +                      "const": "sparse"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "items": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/s7"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "historical_result": {
      +                        "$ref": "#/$defs/s6"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "metric_completeness": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "result_segments": {
      +                        "items": {
      +                          "properties": {
      +                            "as_of": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "count": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "count_rows": {
      +                              "type": "integer"
      +                            },
      +                            "currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "indicator": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "reasons": {
      +                              "items": {
      +                                "type": "string"
      +                              },
      +                              "type": "array"
      +                            },
      +                            "rows": {
      +                              "type": "integer"
      +                            },
      +                            "value": {
      +                              "type": [
      +                                "number",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_currency": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "value_rows": {
      +                              "type": "integer"
      +                            }
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "meta": {
      +                  "properties": {
      +                    "cache_hit": {
      +                      "type": "boolean"
      +                    },
      +                    "coalesced": {
      +                      "type": "boolean"
      +                    },
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "data_as_of_date": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "data_freshness": {
      +                      "$ref": "#/$defs/sb"
      +                    },
      +                    "duration_ms": {
      +                      "type": "integer"
      +                    },
      +                    "failed": {
      +                      "type": "integer"
      +                    },
      +                    "freshness_warnings": {
      +                      "items": {
      +                        "properties": {
      +                          "account_count": {
      +                            "type": "integer"
      +                          },
      +                          "code": {
      +                            "type": "string"
      +                          },
      +                          "dispersion_seconds": {
      +                            "type": "integer"
      +                          },
      +                          "last_pull_failed_account_count": {
      +                            "type": [
      +                              "integer",
      +                              "null"
      +                            ]
      +                          },
      +                          "last_pull_status": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "message": {
      +                            "type": "string"
      +                          },
      +                          "metrics_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "newest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "observed_account_count": {
      +                            "type": "integer"
      +                          },
      +                          "oldest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "funnel_incomplete": {
      +                      "type": "boolean"
      +                    },
      +                    "funnel_read_coverage": {
      +                      "properties": {
      +                        "complete": {
      +                          "type": "boolean"
      +                        },
      +                        "reason": {
      +                          "type": "string"
      +                        },
      +                        "source": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "item_count": {
      +                      "type": "integer"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "metric_completeness": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "metrics_source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "missing_scopes": {
      +                      "items": {
      +                        "properties": {
      +                          "index": {
      +                            "type": "integer"
      +                          },
      +                          "status": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "index",
      +                          "status"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "page": {
      +                      "type": "integer"
      +                    },
      +                    "page_size": {
      +                      "type": "integer"
      +                    },
      +                    "refresh_reused": {
      +                      "type": "boolean"
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "scope_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_row_count": {
      +                      "type": "integer"
      +                    },
      +                    "source_truncated": {
      +                      "type": "boolean"
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "standard_metrics_complete": {
      +                      "type": "boolean"
      +                    },
      +                    "succeeded": {
      +                      "type": "integer"
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_items": {
      +                      "type": "integer"
      +                    },
      +                    "total_pages": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "summary": {
      +                  "properties": {
      +                    "clicks": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversion_value": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpa": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpc": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpm": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "ctr": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "funnel": {
      +                      "$ref": "#/$defs/s7"
      +                    },
      +                    "historical_result": {
      +                      "$ref": "#/$defs/s6"
      +                    },
      +                    "impressions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "metric_completeness": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "reach": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "result_segments": {
      +                      "items": {
      +                        "properties": {
      +                          "as_of": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "count": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "count_rows": {
      +                            "type": "integer"
      +                          },
      +                          "currency": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "indicator": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "reasons": {
      +                            "items": {
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "rows": {
      +                            "type": "integer"
      +                          },
      +                          "value": {
      +                            "type": [
      +                              "number",
      +                              "null"
      +                            ]
      +                          },
      +                          "value_currency": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "value_rows": {
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "roas": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend_usd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "items",
      +                "meta"
      +              ],
      +              "type": "object"
      +            },
      +            "scope": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": "string"
      +                },
      +                "product_name": {
      +                  "type": "string"
      +                },
      +                "product_ref": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "status": {
      +              "enum": [
      +                "ok",
      +                "error",
      +                "missing",
      +                "incomplete"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "index",
      +            "scope",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "$ref": "#/$defs/sb"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metric_completeness": {
      +            "$ref": "#/$defs/s2"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "meta"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "result_page": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "byte_length": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "byte_offset": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "complete": {
      +            "description": "Frozen result bytes retrieved, not source completeness.",
      +            "type": "boolean"
      +          },
      +          "data_base64url": {
      +            "type": "string"
      +          },
      +          "encoding": {
      +            "const": "mcp-call-tool-result-json-utf8+base64url"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "segment_sha256": {
      +            "type": "string"
      +          },
      +          "sha256": {
      +            "type": "string"
      +          },
      +          "snapshot_ref": {
      +            "type": "string"
      +          },
      +          "total_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "version": {
      +            "const": 1
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "encoding",
      +          "snapshot_ref",
      +          "sha256",
      +          "segment_sha256",
      +          "data_base64url",
      +          "expires_at",
      +          "byte_offset",
      +          "byte_length",
      +          "total_bytes",
      +          "next_cursor",
      +          "complete"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "result_page"
      +    ]
      +  }
      +]
    • changedOutput schema / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
    • changedOutput schema / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / $ref
      Previous value: -"#/$defs/sb"New value: +"#/$defs/s10"
  6. Changed5 schema fields changed
    • addedInput schema / properties / result_cursor
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / anyOf
      Added value: +[
      +  {
      +    "properties": {
      +      "items": {
      +        "items": {
      +          "properties": {
      +            "error": {
      +              "properties": {
      +                "category": {
      +                  "type": "string"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "retry_after_seconds": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "retryable": {
      +                  "type": "boolean"
      +                },
      +                "subcode": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "index": {
      +              "type": "integer"
      +            },
      +            "result": {
      +              "properties": {
      +                "daily": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "effective_attribution": {
      +                  "type": "string"
      +                },
      +                "funnel_events": {
      +                  "items": {
      +                    "type": "string"
      +                  },
      +                  "type": "array"
      +                },
      +                "funnel_semantics": {
      +                  "properties": {
      +                    "coverage_requirement": {
      +                      "const": "verify_insights_and_source_coverage"
      +                    },
      +                    "empty_funnel_interpretation": {
      +                      "const": "no_selected_events_returned_not_zero_proof"
      +                    },
      +                    "missing_event_implies_missing_insights": {
      +                      "const": false
      +                    },
      +                    "missing_event_is_zero": {
      +                      "const": false
      +                    },
      +                    "read_coverage_scope": {
      +                      "const": "query_result_not_upstream_ingestion"
      +                    },
      +                    "representation": {
      +                      "const": "sparse"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "items": {
      +                  "items": {
      +                    "properties": {
      +                      "ad_account_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "ad_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "adset_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_amount": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "bid_strategy": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "budget_level": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "campaign_name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "clicks": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "configured_status_observed_at": {
      +                        "description": "Configuration snapshot time only.",
      +                        "format": "date-time",
      +                        "type": "string"
      +                      },
      +                      "conversion_value": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "conversions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpa": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpc": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "cpm": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "ctr": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "currency": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "daily_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "data_as_of_date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_start": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "date_stop": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "delivery_issue_codes": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "delivery_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "effective_status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "funnel": {
      +                        "$ref": "#/$defs/s2"
      +                      },
      +                      "funnel_observation": {
      +                        "properties": {
      +                          "proves_source_coverage": {
      +                            "const": false
      +                          },
      +                          "proves_zero": {
      +                            "const": false
      +                          },
      +                          "status": {
      +                            "enum": [
      +                              "selected_events_returned",
      +                              "no_selected_events_returned",
      +                              "read_unverified",
      +                              "insights_unavailable"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "id": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "impressions": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "lifetime_budget": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "money_unit": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "name": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "optimization_goal": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "product_type": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "reach": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "roas": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "source_observed_at": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "spend_usd": {
      +                        "type": [
      +                          "number",
      +                          "null"
      +                        ]
      +                      },
      +                      "status": {
      +                        "type": [
      +                          "string",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "type": "array"
      +                },
      +                "meta": {
      +                  "properties": {
      +                    "cache_hit": {
      +                      "type": "boolean"
      +                    },
      +                    "coalesced": {
      +                      "type": "boolean"
      +                    },
      +                    "complete": {
      +                      "type": "boolean"
      +                    },
      +                    "data_as_of_date": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "data_freshness": {
      +                      "$ref": "#/$defs/s6"
      +                    },
      +                    "duration_ms": {
      +                      "type": "integer"
      +                    },
      +                    "failed": {
      +                      "type": "integer"
      +                    },
      +                    "freshness_warnings": {
      +                      "items": {
      +                        "properties": {
      +                          "account_count": {
      +                            "type": "integer"
      +                          },
      +                          "code": {
      +                            "type": "string"
      +                          },
      +                          "dispersion_seconds": {
      +                            "type": "integer"
      +                          },
      +                          "last_pull_failed_account_count": {
      +                            "type": [
      +                              "integer",
      +                              "null"
      +                            ]
      +                          },
      +                          "last_pull_status": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "message": {
      +                            "type": "string"
      +                          },
      +                          "metrics_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "newest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "observed_account_count": {
      +                            "type": "integer"
      +                          },
      +                          "oldest_source_observed_at": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          }
      +                        },
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "funnel_incomplete": {
      +                      "type": "boolean"
      +                    },
      +                    "funnel_read_coverage": {
      +                      "properties": {
      +                        "complete": {
      +                          "type": "boolean"
      +                        },
      +                        "reason": {
      +                          "type": "string"
      +                        },
      +                        "source": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    "has_more": {
      +                      "type": "boolean"
      +                    },
      +                    "item_count": {
      +                      "type": "integer"
      +                    },
      +                    "limitations": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "metrics_source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "missing_scopes": {
      +                      "items": {
      +                        "properties": {
      +                          "index": {
      +                            "type": "integer"
      +                          },
      +                          "status": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "index",
      +                          "status"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "next_cursor": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "page": {
      +                      "type": "integer"
      +                    },
      +                    "page_size": {
      +                      "type": "integer"
      +                    },
      +                    "refresh_reused": {
      +                      "type": "boolean"
      +                    },
      +                    "returned_count": {
      +                      "type": "integer"
      +                    },
      +                    "scope_count": {
      +                      "type": "integer"
      +                    },
      +                    "source": {
      +                      "type": "string"
      +                    },
      +                    "source_observed_at": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "source_row_count": {
      +                      "type": "integer"
      +                    },
      +                    "source_truncated": {
      +                      "type": "boolean"
      +                    },
      +                    "source_watermark": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "standard_metrics_complete": {
      +                      "type": "boolean"
      +                    },
      +                    "succeeded": {
      +                      "type": "integer"
      +                    },
      +                    "total_count": {
      +                      "type": [
      +                        "integer",
      +                        "null"
      +                      ]
      +                    },
      +                    "total_items": {
      +                      "type": "integer"
      +                    },
      +                    "total_pages": {
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "summary": {
      +                  "properties": {
      +                    "clicks": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversion_value": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "conversions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpa": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpc": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "cpm": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "ctr": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "funnel": {
      +                      "$ref": "#/$defs/s2"
      +                    },
      +                    "impressions": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "reach": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "roas": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "spend_usd": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                }
      +              },
      +              "required": [
      +                "items",
      +                "meta"
      +              ],
      +              "type": "object"
      +            },
      +            "scope": {
      +              "properties": {
      +                "ad_account_id": {
      +                  "type": "string"
      +                },
      +                "product_name": {
      +                  "type": "string"
      +                },
      +                "product_ref": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "status": {
      +              "enum": [
      +                "ok",
      +                "error",
      +                "missing",
      +                "incomplete"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "index",
      +            "scope",
      +            "status"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "meta": {
      +        "properties": {
      +          "cache_hit": {
      +            "type": "boolean"
      +          },
      +          "coalesced": {
      +            "type": "boolean"
      +          },
      +          "complete": {
      +            "type": "boolean"
      +          },
      +          "data_as_of_date": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "data_freshness": {
      +            "$ref": "#/$defs/s6"
      +          },
      +          "duration_ms": {
      +            "type": "integer"
      +          },
      +          "failed": {
      +            "type": "integer"
      +          },
      +          "freshness_warnings": {
      +            "items": {
      +              "properties": {
      +                "account_count": {
      +                  "type": "integer"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "dispersion_seconds": {
      +                  "type": "integer"
      +                },
      +                "last_pull_failed_account_count": {
      +                  "type": [
      +                    "integer",
      +                    "null"
      +                  ]
      +                },
      +                "last_pull_status": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "metrics_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "newest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "observed_account_count": {
      +                  "type": "integer"
      +                },
      +                "oldest_source_observed_at": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "has_more": {
      +            "type": "boolean"
      +          },
      +          "item_count": {
      +            "type": "integer"
      +          },
      +          "limitations": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "missing_scopes": {
      +            "items": {
      +              "properties": {
      +                "index": {
      +                  "type": "integer"
      +                },
      +                "status": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "status"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "page": {
      +            "type": "integer"
      +          },
      +          "page_size": {
      +            "type": "integer"
      +          },
      +          "refresh_reused": {
      +            "type": "boolean"
      +          },
      +          "returned_count": {
      +            "type": "integer"
      +          },
      +          "scope_count": {
      +            "type": "integer"
      +          },
      +          "source": {
      +            "type": "string"
      +          },
      +          "source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "source_row_count": {
      +            "type": "integer"
      +          },
      +          "source_truncated": {
      +            "type": "boolean"
      +          },
      +          "source_watermark": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "succeeded": {
      +            "type": "integer"
      +          },
      +          "total_count": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "total_items": {
      +            "type": "integer"
      +          },
      +          "total_pages": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "items",
      +      "meta"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "result_page": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "byte_length": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "byte_offset": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "complete": {
      +            "description": "Frozen result bytes retrieved, not source completeness.",
      +            "type": "boolean"
      +          },
      +          "data_base64url": {
      +            "type": "string"
      +          },
      +          "encoding": {
      +            "const": "mcp-call-tool-result-json-utf8+base64url"
      +          },
      +          "expires_at": {
      +            "type": "string"
      +          },
      +          "next_cursor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "segment_sha256": {
      +            "type": "string"
      +          },
      +          "sha256": {
      +            "type": "string"
      +          },
      +          "snapshot_ref": {
      +            "type": "string"
      +          },
      +          "total_bytes": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "version": {
      +            "const": 1
      +          }
      +        },
      +        "required": [
      +          "version",
      +          "encoding",
      +          "snapshot_ref",
      +          "sha256",
      +          "segment_sha256",
      +          "data_base64url",
      +          "expires_at",
      +          "byte_offset",
      +          "byte_length",
      +          "total_bytes",
      +          "next_cursor",
      +          "complete"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "result_page"
      +    ]
      +  }
      +]
    • removedOutput schema / else / properties / items
      Removed value: -{
      -  "items": {
      -    "properties": {
      -      "error": {
      -        "properties": {
      -          "category": {
      -            "type": "string"
      -          },
      -          "code": {
      -            "type": "string"
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "retry_after_seconds": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          },
      -          "subcode": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "index": {
      -        "type": "integer"
      -      },
      -      "result": {
      -        "properties": {
      -          "daily": {
      -            "items": {
      -              "properties": {
      -                "ad_account_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "ad_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "ad_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "adset_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "adset_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "bid_amount": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "bid_strategy": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "budget_level": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "campaign_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "campaign_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "clicks": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "configured_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "configured_status_observed_at": {
      -                  "description": "Configuration snapshot time only.",
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "conversion_value": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "conversions": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cpa": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cpc": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cpm": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "ctr": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "currency": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "daily_budget": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "data_as_of_date": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "date": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "date_start": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "date_stop": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "delivery_issue_codes": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "delivery_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "effective_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "funnel": {
      -                  "$ref": "#/$defs/s2"
      -                },
      -                "funnel_observation": {
      -                  "properties": {
      -                    "proves_source_coverage": {
      -                      "const": false
      -                    },
      -                    "proves_zero": {
      -                      "const": false
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "selected_events_returned",
      -                        "no_selected_events_returned",
      -                        "read_unverified",
      -                        "insights_unavailable"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "impressions": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "lifetime_budget": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "money_unit": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "optimization_goal": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "product_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "reach": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "roas": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "spend": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "spend_usd": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "effective_attribution": {
      -            "type": "string"
      -          },
      -          "funnel_events": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "funnel_semantics": {
      -            "properties": {
      -              "coverage_requirement": {
      -                "const": "verify_insights_and_source_coverage"
      -              },
      -              "empty_funnel_interpretation": {
      -                "const": "no_selected_events_returned_not_zero_proof"
      -              },
      -              "missing_event_implies_missing_insights": {
      -                "const": false
      -              },
      -              "missing_event_is_zero": {
      -                "const": false
      -              },
      -              "read_coverage_scope": {
      -                "const": "query_result_not_upstream_ingestion"
      -              },
      -              "representation": {
      -                "const": "sparse"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "items": {
      -            "items": {
      -              "properties": {
      -                "ad_account_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "ad_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "ad_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "adset_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "adset_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "bid_amount": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "bid_strategy": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "budget_level": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "campaign_id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "campaign_name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "clicks": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "configured_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "configured_status_observed_at": {
      -                  "description": "Configuration snapshot time only.",
      -                  "format": "date-time",
      -                  "type": "string"
      -                },
      -                "conversion_value": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "conversions": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cpa": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cpc": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "cpm": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "ctr": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "currency": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "daily_budget": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "data_as_of_date": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "date": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "date_start": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "date_stop": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "delivery_issue_codes": {
      -                  "items": {
      -                    "type": "string"
      -                  },
      -                  "type": "array"
      -                },
      -                "delivery_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "effective_status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "funnel": {
      -                  "$ref": "#/$defs/s2"
      -                },
      -                "funnel_observation": {
      -                  "properties": {
      -                    "proves_source_coverage": {
      -                      "const": false
      -                    },
      -                    "proves_zero": {
      -                      "const": false
      -                    },
      -                    "status": {
      -                      "enum": [
      -                        "selected_events_returned",
      -                        "no_selected_events_returned",
      -                        "read_unverified",
      -                        "insights_unavailable"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "id": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "impressions": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "lifetime_budget": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "money_unit": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "name": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "optimization_goal": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "product_type": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "reach": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "roas": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "source_observed_at": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "spend": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "spend_usd": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "status": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "meta": {
      -            "properties": {
      -              "cache_hit": {
      -                "type": "boolean"
      -              },
      -              "coalesced": {
      -                "type": "boolean"
      -              },
      -              "complete": {
      -                "type": "boolean"
      -              },
      -              "data_as_of_date": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "data_freshness": {
      -                "$ref": "#/$defs/s6"
      -              },
      -              "duration_ms": {
      -                "type": "integer"
      -              },
      -              "failed": {
      -                "type": "integer"
      -              },
      -              "freshness_warnings": {
      -                "items": {
      -                  "properties": {
      -                    "account_count": {
      -                      "type": "integer"
      -                    },
      -                    "code": {
      -                      "type": "string"
      -                    },
      -                    "dispersion_seconds": {
      -                      "type": "integer"
      -                    },
      -                    "last_pull_failed_account_count": {
      -                      "type": [
      -                        "integer",
      -                        "null"
      -                      ]
      -                    },
      -                    "last_pull_status": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "message": {
      -                      "type": "string"
      -                    },
      -                    "metrics_source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "newest_source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "observed_account_count": {
      -                      "type": "integer"
      -                    },
      -                    "oldest_source_observed_at": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "funnel_incomplete": {
      -                "type": "boolean"
      -              },
      -              "funnel_read_coverage": {
      -                "properties": {
      -                  "complete": {
      -                    "type": "boolean"
      -                  },
      -                  "reason": {
      -                    "type": "string"
      -                  },
      -                  "source": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "has_more": {
      -                "type": "boolean"
      -              },
      -              "item_count": {
      -                "type": "integer"
      -              },
      -              "limitations": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "metrics_source_observed_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "missing_scopes": {
      -                "items": {
      -                  "properties": {
      -                    "index": {
      -                      "type": "integer"
      -                    },
      -                    "status": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "index",
      -                    "status"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "next_cursor": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "page": {
      -                "type": "integer"
      -              },
      -              "page_size": {
      -                "type": "integer"
      -              },
      -              "refresh_reused": {
      -                "type": "boolean"
      -              },
      -              "returned_count": {
      -                "type": "integer"
      -              },
      -              "scope_count": {
      -                "type": "integer"
      -              },
      -              "source": {
      -                "type": "string"
      -              },
      -              "source_observed_at": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "source_row_count": {
      -                "type": "integer"
      -              },
      -              "source_truncated": {
      -                "type": "boolean"
      -              },
      -              "source_watermark": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "standard_metrics_complete": {
      -                "type": "boolean"
      -              },
      -              "succeeded": {
      -                "type": "integer"
      -              },
      -              "total_count": {
      -                "type": [
      -                  "integer",
      -                  "null"
      -                ]
      -              },
      -              "total_items": {
      -                "type": "integer"
      -              },
      -              "total_pages": {
      -                "type": "integer"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "summary": {
      -            "properties": {
      -              "clicks": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "conversion_value": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "conversions": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "cpa": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "cpc": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "cpm": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "ctr": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "funnel": {
      -                "$ref": "#/$defs/s2"
      -              },
      -              "impressions": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "reach": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "roas": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "spend": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "spend_usd": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "items",
      -          "meta"
      -        ],
      -        "type": "object"
      -      },
      -      "scope": {
      -        "properties": {
      -          "ad_account_id": {
      -            "type": "string"
      -          },
      -          "product_name": {
      -            "type": "string"
      -          },
      -          "product_ref": {
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "status": {
      -        "enum": [
      -          "ok",
      -          "error",
      -          "missing",
      -          "incomplete"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "index",
      -      "scope",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / else / properties / meta
      Removed value: -{
      -  "properties": {
      -    "cache_hit": {
      -      "type": "boolean"
      -    },
      -    "coalesced": {
      -      "type": "boolean"
      -    },
      -    "complete": {
      -      "type": "boolean"
      -    },
      -    "data_as_of_date": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "data_freshness": {
      -      "$ref": "#/$defs/s6"
      -    },
      -    "duration_ms": {
      -      "type": "integer"
      -    },
      -    "failed": {
      -      "type": "integer"
      -    },
      -    "freshness_warnings": {
      -      "items": {
      -        "properties": {
      -          "account_count": {
      -            "type": "integer"
      -          },
      -          "code": {
      -            "type": "string"
      -          },
      -          "dispersion_seconds": {
      -            "type": "integer"
      -          },
      -          "last_pull_failed_account_count": {
      -            "type": [
      -              "integer",
      -              "null"
      -            ]
      -          },
      -          "last_pull_status": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "message": {
      -            "type": "string"
      -          },
      -          "metrics_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "newest_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "observed_account_count": {
      -            "type": "integer"
      -          },
      -          "oldest_source_observed_at": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "has_more": {
      -      "type": "boolean"
      -    },
      -    "item_count": {
      -      "type": "integer"
      -    },
      -    "limitations": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "metrics_source_observed_at": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "missing_scopes": {
      -      "items": {
      -        "properties": {
      -          "index": {
      -            "type": "integer"
      -          },
      -          "status": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "index",
      -          "status"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "next_cursor": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "page": {
      -      "type": "integer"
      -    },
      -    "page_size": {
      -      "type": "integer"
      -    },
      -    "refresh_reused": {
      -      "type": "boolean"
      -    },
      -    "returned_count": {
      -      "type": "integer"
      -    },
      -    "scope_count": {
      -      "type": "integer"
      -    },
      -    "source": {
      -      "type": "string"
      -    },
      -    "source_observed_at": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "source_row_count": {
      -      "type": "integer"
      -    },
      -    "source_truncated": {
      -      "type": "boolean"
      -    },
      -    "source_watermark": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "succeeded": {
      -      "type": "integer"
      -    },
      -    "total_count": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "total_items": {
      -      "type": "integer"
      -    },
      -    "total_pages": {
      -      "type": "integer"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / else / required
      Removed value: -[
      -  "items",
      -  "meta"
      -]
  7. Changed10 schema fields changed
    • removedOutput schema / $defs / s5
      Removed value: -{
      -  "properties": {
      -    "interval_min": {
      -      "type": "integer"
      -    },
      -    "label": {
      -      "type": "string"
      -    },
      -    "last_pull_failed_account_count": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "last_pull_scope": {
      -      "const": "workspace"
      -    },
      -    "last_pull_status": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "last_pulled_at": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "max_staleness_min": {
      -      "type": "integer"
      -    },
      -    "server_now_utc": {
      -      "type": "string"
      -    },
      -    "staleness_seconds": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / s6
      Added value: +{
      +  "properties": {
      +    "interval_min": {
      +      "type": "integer"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "last_pull_failed_account_count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "last_pull_scope": {
      +      "const": "workspace"
      +    },
      +    "last_pull_status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "last_pulled_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "max_staleness_min": {
      +      "type": "integer"
      +    },
      +    "server_now_utc": {
      +      "type": "string"
      +    },
      +    "staleness_seconds": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • removedOutput schema / $defs / sa
      Removed value: -{
      -  "properties": {
      -    "can_report_stored_total": {
      -      "type": "boolean"
      -    },
      -    "reason": {
      -      "type": "string"
      -    },
      -    "zero_proven": {
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "can_report_stored_total",
      -    "zero_proven",
      -    "reason"
      -  ],
      -  "type": "object"
      -}
    • addedOutput schema / $defs / sb
      Added value: +{
      +  "properties": {
      +    "can_report_stored_total": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "zero_proven": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "can_report_stored_total",
      +    "zero_proven",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / daily / items / properties / configured_status_observed_at
      Added value: +{
      +  "description": "Configuration snapshot time only.",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / items / items / properties / configured_status_observed_at
      Added value: +{
      +  "description": "Configuration snapshot time only.",
      +  "format": "date-time",
      +  "type": "string"
      +}
    • changedOutput schema / else / properties / items / items / properties / result / properties / meta / properties / data_freshness / $ref
      Previous value: -"#/$defs/s5"New value: +"#/$defs/s6"
    • changedOutput schema / else / properties / meta / properties / data_freshness / $ref
      Previous value: -"#/$defs/s5"New value: +"#/$defs/s6"
    • changedOutput schema / else / properties / read_evidence / properties / scopes / items / properties / funnel / additionalProperties / $ref
      Previous value: -"#/$defs/sa"New value: +"#/$defs/sb"
    • changedOutput schema / else / properties / read_evidence / properties / scopes / items / properties / metrics / additionalProperties / $ref
      Previous value: -"#/$defs/sa"New value: +"#/$defs/sb"
  8. Changed3 schema fields changed
    • addedOutput schema / $defs / sa
      Added value: +{
      +  "properties": {
      +    "can_report_stored_total": {
      +      "type": "boolean"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "zero_proven": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "can_report_stored_total",
      +    "zero_proven",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / meta / properties / standard_metrics_complete
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / else / properties / read_evidence
      Added value: +{
      +  "description": "Proofs apply independently to returned metrics and scope as stored/observed. A new read_ref is a call identifier, never a source watermark. False or missing proof means unknown, not zero. Fingerprints correlate requests/results in audits; they are not authorization or pagination tokens.",
      +  "properties": {
      +    "artifact_returned": {
      +      "type": "boolean"
      +    },
      +    "configuration": {
      +      "properties": {
      +        "account_inventory_enumerated": {
      +          "const": false
      +        },
      +        "all_campaigns_paused_proven": {
      +          "const": false
      +        },
      +        "requested_ids_complete": {
      +          "type": "boolean"
      +        },
      +        "scope": {
      +          "const": "requested_entity_ids_only"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "mmp": {
      +      "properties": {
      +        "can_report_scoped_totals": {
      +          "type": "boolean"
      +        },
      +        "provider_cache_max_age_seconds": {
      +          "const": 90
      +        },
      +        "reason": {
      +          "type": "string"
      +        },
      +        "scope": {
      +          "const": "linked_apps_queried_channels_and_windows"
      +        },
      +        "source_observed_at": {
      +          "type": "null"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "read_ref": {
      +      "pattern": "^read_[0-9a-f]{32}$",
      +      "type": "string"
      +    },
      +    "request_fingerprint": {
      +      "type": "string"
      +    },
      +    "result_fingerprint": {
      +      "type": "string"
      +    },
      +    "scopes": {
      +      "items": {
      +        "properties": {
      +          "all_campaigns_paused_proven": {
      +            "const": false
      +          },
      +          "funnel": {
      +            "additionalProperties": {
      +              "$ref": "#/$defs/sa"
      +            },
      +            "maxProperties": 32,
      +            "type": "object"
      +          },
      +          "index": {
      +            "type": "integer"
      +          },
      +          "inventory_anchor": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "inventory_coverage": {
      +            "type": "string"
      +          },
      +          "inventory_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "metrics": {
      +            "additionalProperties": {
      +              "$ref": "#/$defs/sa"
      +            },
      +            "type": "object"
      +          },
      +          "metrics_source_observed_at": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "range_complete": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "scope": {
      +            "const": "stored_query"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "maxItems": 10,
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "read_ref",
      +    "request_fingerprint",
      +    "result_fingerprint"
      +  ],
      +  "type": "object"
      +}
  9. Changed9 schema fields changed
    • removedOutput schema / $defs / s3
      Removed value: -{
      -  "properties": {
      -    "interval_min": {
      -      "type": "integer"
      -    },
      -    "label": {
      -      "type": "string"
      -    },
      -    "last_pull_failed_account_count": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "last_pull_scope": {
      -      "const": "workspace"
      -    },
      -    "last_pull_status": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "last_pulled_at": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "max_staleness_min": {
      -      "type": "integer"
      -    },
      -    "server_now_utc": {
      -      "type": "string"
      -    },
      -    "staleness_seconds": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}
    • addedOutput schema / $defs / s5
      Added value: +{
      +  "properties": {
      +    "interval_min": {
      +      "type": "integer"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "last_pull_failed_account_count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "last_pull_scope": {
      +      "const": "workspace"
      +    },
      +    "last_pull_status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "last_pulled_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "max_staleness_min": {
      +      "type": "integer"
      +    },
      +    "server_now_utc": {
      +      "type": "string"
      +    },
      +    "staleness_seconds": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / daily / items / properties / funnel_observation
      Added value: +{
      +  "properties": {
      +    "proves_source_coverage": {
      +      "const": false
      +    },
      +    "proves_zero": {
      +      "const": false
      +    },
      +    "status": {
      +      "enum": [
      +        "selected_events_returned",
      +        "no_selected_events_returned",
      +        "read_unverified",
      +        "insights_unavailable"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / funnel_semantics / properties / empty_funnel_interpretation
      Added value: +{
      +  "const": "no_selected_events_returned_not_zero_proof"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / funnel_semantics / properties / read_coverage_scope
      Added value: +{
      +  "const": "query_result_not_upstream_ingestion"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / items / items / properties / funnel_observation
      Added value: +{
      +  "properties": {
      +    "proves_source_coverage": {
      +      "const": false
      +    },
      +    "proves_zero": {
      +      "const": false
      +    },
      +    "status": {
      +      "enum": [
      +        "selected_events_returned",
      +        "no_selected_events_returned",
      +        "read_unverified",
      +        "insights_unavailable"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / else / properties / items / items / properties / result / properties / meta / properties / data_freshness / $ref
      Previous value: -"#/$defs/s3"New value: +"#/$defs/s5"
    • changedOutput schema / else / properties / meta / properties / data_freshness / $ref
      Previous value: -"#/$defs/s3"New value: +"#/$defs/s5"
    • addedOutput schema / else / properties / workspace_ref
      Added value: +{
      +  "description": "Opaque workspace comparison hint; not an authorization credential.",
      +  "pattern": "^workspace_[0-9a-f]{32}$",
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • addedOutput schema / $defs / s3 / properties / last_pull_scope
      Added value: +{
      +  "const": "workspace"
      +}
  11. Changed19 schema fields changed
    • addedOutput schema / $defs / s2 / additionalProperties
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • removedOutput schema / $defs / s2 / properties
      Removed value: -{
      -  "cache_hit": {
      -    "type": "boolean"
      -  },
      -  "coalesced": {
      -    "type": "boolean"
      -  },
      -  "complete": {
      -    "type": "boolean"
      -  },
      -  "data_as_of_date": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "data_freshness": {
      -    "properties": {
      -      "interval_min": {
      -        "type": "integer"
      -      },
      -      "label": {
      -        "type": "string"
      -      },
      -      "last_pull_failed_account_count": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "last_pull_status": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "last_pulled_at": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "max_staleness_min": {
      -        "type": "integer"
      -      },
      -      "server_now_utc": {
      -        "type": "string"
      -      },
      -      "staleness_seconds": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "duration_ms": {
      -    "type": "integer"
      -  },
      -  "failed": {
      -    "type": "integer"
      -  },
      -  "freshness_warnings": {
      -    "items": {
      -      "properties": {
      -        "account_count": {
      -          "type": "integer"
      -        },
      -        "code": {
      -          "type": "string"
      -        },
      -        "dispersion_seconds": {
      -          "type": "integer"
      -        },
      -        "last_pull_failed_account_count": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "last_pull_status": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "message": {
      -          "type": "string"
      -        },
      -        "metrics_source_observed_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "newest_source_observed_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "observed_account_count": {
      -          "type": "integer"
      -        },
      -        "oldest_source_observed_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "has_more": {
      -    "type": "boolean"
      -  },
      -  "item_count": {
      -    "type": "integer"
      -  },
      -  "limitations": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "metrics_source_observed_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "missing_scopes": {
      -    "items": {
      -      "properties": {
      -        "index": {
      -          "type": "integer"
      -        },
      -        "status": {
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "index",
      -        "status"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "next_cursor": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "page": {
      -    "type": "integer"
      -  },
      -  "page_size": {
      -    "type": "integer"
      -  },
      -  "refresh_reused": {
      -    "type": "boolean"
      -  },
      -  "returned_count": {
      -    "type": "integer"
      -  },
      -  "scope_count": {
      -    "type": "integer"
      -  },
      -  "source": {
      -    "type": "string"
      -  },
      -  "source_observed_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "source_row_count": {
      -    "type": "integer"
      -  },
      -  "source_truncated": {
      -    "type": "boolean"
      -  },
      -  "source_watermark": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "succeeded": {
      -    "type": "integer"
      -  },
      -  "total_count": {
      -    "type": [
      -      "integer",
      -      "null"
      -    ]
      -  },
      -  "total_items": {
      -    "type": "integer"
      -  },
      -  "total_pages": {
      -    "type": "integer"
      -  }
      -}
    • addedOutput schema / $defs / s3
      Added value: +{
      +  "properties": {
      +    "interval_min": {
      +      "type": "integer"
      +    },
      +    "label": {
      +      "type": "string"
      +    },
      +    "last_pull_failed_account_count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "last_pull_status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "last_pulled_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "max_staleness_min": {
      +      "type": "integer"
      +    },
      +    "server_now_utc": {
      +      "type": "string"
      +    },
      +    "staleness_seconds": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / daily / items / properties / funnel / $ref
      Added value: +"#/$defs/s2"
    • removedOutput schema / else / properties / items / items / properties / result / properties / daily / items / properties / funnel / additionalProperties
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / else / properties / items / items / properties / result / properties / daily / items / properties / funnel / type
      Removed value: -"object"
    • addedOutput schema / else / properties / items / items / properties / result / properties / funnel_semantics
      Added value: +{
      +  "properties": {
      +    "coverage_requirement": {
      +      "const": "verify_insights_and_source_coverage"
      +    },
      +    "missing_event_implies_missing_insights": {
      +      "const": false
      +    },
      +    "missing_event_is_zero": {
      +      "const": false
      +    },
      +    "representation": {
      +      "const": "sparse"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / items / items / properties / funnel / $ref
      Added value: +"#/$defs/s2"
    • removedOutput schema / else / properties / items / items / properties / result / properties / items / items / properties / funnel / additionalProperties
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / else / properties / items / items / properties / result / properties / items / items / properties / funnel / type
      Removed value: -"object"
    • removedOutput schema / else / properties / items / items / properties / result / properties / meta / $ref
      Removed value: -"#/$defs/s2"
    • addedOutput schema / else / properties / items / items / properties / result / properties / meta / properties
      Added value: +{
      +  "cache_hit": {
      +    "type": "boolean"
      +  },
      +  "coalesced": {
      +    "type": "boolean"
      +  },
      +  "complete": {
      +    "type": "boolean"
      +  },
      +  "data_as_of_date": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "data_freshness": {
      +    "$ref": "#/$defs/s3"
      +  },
      +  "duration_ms": {
      +    "type": "integer"
      +  },
      +  "failed": {
      +    "type": "integer"
      +  },
      +  "freshness_warnings": {
      +    "items": {
      +      "properties": {
      +        "account_count": {
      +          "type": "integer"
      +        },
      +        "code": {
      +          "type": "string"
      +        },
      +        "dispersion_seconds": {
      +          "type": "integer"
      +        },
      +        "last_pull_failed_account_count": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "last_pull_status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "metrics_source_observed_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "newest_source_observed_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "observed_account_count": {
      +          "type": "integer"
      +        },
      +        "oldest_source_observed_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "funnel_incomplete": {
      +    "type": "boolean"
      +  },
      +  "funnel_read_coverage": {
      +    "properties": {
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "reason": {
      +        "type": "string"
      +      },
      +      "source": {
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "has_more": {
      +    "type": "boolean"
      +  },
      +  "item_count": {
      +    "type": "integer"
      +  },
      +  "limitations": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "metrics_source_observed_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "missing_scopes": {
      +    "items": {
      +      "properties": {
      +        "index": {
      +          "type": "integer"
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "index",
      +        "status"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "next_cursor": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "page": {
      +    "type": "integer"
      +  },
      +  "page_size": {
      +    "type": "integer"
      +  },
      +  "refresh_reused": {
      +    "type": "boolean"
      +  },
      +  "returned_count": {
      +    "type": "integer"
      +  },
      +  "scope_count": {
      +    "type": "integer"
      +  },
      +  "source": {
      +    "type": "string"
      +  },
      +  "source_observed_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "source_row_count": {
      +    "type": "integer"
      +  },
      +  "source_truncated": {
      +    "type": "boolean"
      +  },
      +  "source_watermark": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "succeeded": {
      +    "type": "integer"
      +  },
      +  "total_count": {
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "total_items": {
      +    "type": "integer"
      +  },
      +  "total_pages": {
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / else / properties / items / items / properties / result / properties / meta / type
      Added value: +"object"
    • addedOutput schema / else / properties / items / items / properties / result / properties / summary / properties / funnel / $ref
      Added value: +"#/$defs/s2"
    • removedOutput schema / else / properties / items / items / properties / result / properties / summary / properties / funnel / additionalProperties
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / else / properties / items / items / properties / result / properties / summary / properties / funnel / type
      Removed value: -"object"
    • removedOutput schema / else / properties / meta / $ref
      Removed value: -"#/$defs/s2"
    • addedOutput schema / else / properties / meta / properties
      Added value: +{
      +  "cache_hit": {
      +    "type": "boolean"
      +  },
      +  "coalesced": {
      +    "type": "boolean"
      +  },
      +  "complete": {
      +    "type": "boolean"
      +  },
      +  "data_as_of_date": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "data_freshness": {
      +    "$ref": "#/$defs/s3"
      +  },
      +  "duration_ms": {
      +    "type": "integer"
      +  },
      +  "failed": {
      +    "type": "integer"
      +  },
      +  "freshness_warnings": {
      +    "items": {
      +      "properties": {
      +        "account_count": {
      +          "type": "integer"
      +        },
      +        "code": {
      +          "type": "string"
      +        },
      +        "dispersion_seconds": {
      +          "type": "integer"
      +        },
      +        "last_pull_failed_account_count": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "last_pull_status": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "metrics_source_observed_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "newest_source_observed_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "observed_account_count": {
      +          "type": "integer"
      +        },
      +        "oldest_source_observed_at": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "has_more": {
      +    "type": "boolean"
      +  },
      +  "item_count": {
      +    "type": "integer"
      +  },
      +  "limitations": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "metrics_source_observed_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "missing_scopes": {
      +    "items": {
      +      "properties": {
      +        "index": {
      +          "type": "integer"
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "index",
      +        "status"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "next_cursor": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "page": {
      +    "type": "integer"
      +  },
      +  "page_size": {
      +    "type": "integer"
      +  },
      +  "refresh_reused": {
      +    "type": "boolean"
      +  },
      +  "returned_count": {
      +    "type": "integer"
      +  },
      +  "scope_count": {
      +    "type": "integer"
      +  },
      +  "source": {
      +    "type": "string"
      +  },
      +  "source_observed_at": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "source_row_count": {
      +    "type": "integer"
      +  },
      +  "source_truncated": {
      +    "type": "boolean"
      +  },
      +  "source_watermark": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "succeeded": {
      +    "type": "integer"
      +  },
      +  "total_count": {
      +    "type": [
      +      "integer",
      +      "null"
      +    ]
      +  },
      +  "total_items": {
      +    "type": "integer"
      +  },
      +  "total_pages": {
      +    "type": "integer"
      +  }
      +}
    • addedOutput schema / else / properties / meta / type
      Added value: +"object"
  12. First observed

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare this a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower. The description still adds real value beyond them: it discloses the caching behavior ('Cached batch') and the partial-data semantics ('Partial=unknown, never zero'), which the agent would otherwise misinterpret as real zeros. Rate limits and refresh behavior remain unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the 'Cached batch' qualifier, so nothing is padded. However, the semicolon-chained fragments are ambiguous to parse and the brevity here reflects under-specification rather than efficient conciseness for a 15-parameter tool.

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

Completeness2/5

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

For a 15-parameter, nested-scopes tool with 0% schema coverage, the description is far too thin. It leaves the scopes object contract, pagination limits, sort/view behavior and the distinction from sibling insights tools unspecified; the existence of an output schema removes only the return-value burden.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 15 parameters, so the schema carries none of the burden and the description must compensate. It only touches product_ref/product_name/ad_account_id (which are not even top-level fields), group_by, date_from/date_to and page; search, sort_key/sort_dir, page_size, view_mode, management, attribution, result_cursor, connection_context, metadata_contract_version and the scopes array shape are entirely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Cached batch' plus the tool name conveys a batch insights-overview query, and it names a sibling (insights_query_consistent), which helps discriminate slightly. But the phrasing is telegraphic and never states plainly what is being returned or how 'batch' differs from the non-batch siblings like insights_query_overview; an agent has to infer the scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

'Use advertised insights_query_consistent' points at one alternative, but without any condition (when the cached batch is preferred over the consistent variant, or over insights_query_overview). 'page for all' implies a pagination requirement. Context is implied rather than stated, so it lands at minimum viable.

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