Skip to main content
Glama
TheBestCo

BestPrice MCP

Inspect BestPrice price history

get_price_history
Read-onlyIdempotent

Check if today's price is low, typical, or high by retrieving deterministic price history, median statistics, and deal classification for an exact product ID.

Instructions

Use this when the user asks whether today's price is good, low, typical, or high, whether it recently became cheaper, or wants price history for one exact grouped product_id. Do not use it to discover products, compare merchants, guarantee a future price, or repeat advertised discount claims. It returns deterministic minimum and median statistics, compact daily history, coverage gaps, methodology, and a bounded deal classification. period_days selects the daily series and coverage gaps only: deal_classification and price_delta_vs_180d_median_pct always compare the current price with the 180-day median, and window_stats always carries the 30-, 90- and 180-day statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
product_idYesExact grouped BestPrice product id returned by search_products, in bp_<id> form.
period_daysNoRequested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Use 180 unless the user asks otherwise.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.8.0
    • removedOutput schema / $defs / __schema0 / const
      Removed value: -"2.0"
    • addedOutput schema / $defs / __schema0 / description
      Added value: +"Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    • addedOutput schema / $defs / __schema0 / pattern
      Added value: +"^[1-9][0-9]*\\.[0-9]+$"
    • removedOutput schema / $defs / __schema10 / additionalProperties
      Removed value: -false
    • removedOutput schema / $defs / __schema8 / additionalProperties
      Removed value: -false
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "current_price": {
      -        "$ref": "#/$defs/__schema6"
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "description": "Classification against the 180-day window statistics, independent of period_days.",
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "methodology_id": {
      -        "const": "bestprice_daily_min_v1",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "enum": [
      -          30,
      -          90,
      -          180
      -        ],
      -        "type": "number"
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema9"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "series": {
      -        "items": {
      -          "$ref": "#/$defs/__schema10"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "window_stats": {
      -        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      -        "items": {
      -          "$ref": "#/$defs/__schema8"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "description": "Classification against the 180-day window statistics, independent of period_days.",
      +        "enum": [
      +          "record_low",
      +          "excellent_price",
      +          "good_price",
      +          "typical_price",
      +          "above_typical",
      +          "insufficient_data",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change.",
      +        "maxLength": 100,
      +        "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "enum": [
      +          30,
      +          90,
      +          180
      +        ],
      +        "type": "number"
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema10"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed10 schema fields changedv1.2.7
    • removedInput schema / properties / period_days / anyOf
      Removed value: -[
      -  {
      -    "const": 30,
      -    "type": "number"
      -  },
      -  {
      -    "const": 90,
      -    "type": "number"
      -  },
      -  {
      -    "const": 180,
      -    "type": "number"
      -  }
      -]
    • changedInput schema / properties / period_days / description
      Previous value: -"Requested history window in days. Use 180 for the strongest price context unless the user asks otherwise."New value: +"Requested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Use 180 unless the user asks otherwise."
    • addedInput schema / properties / period_days / enum
      Added value: +[
      +  30,
      +  90,
      +  180
      +]
    • addedInput schema / properties / period_days / type
      Added value: +"number"
    • addedOutput schema / $defs / __schema10
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "date": {
      +      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +      "type": "string"
      +    },
      +    "merchant_count": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "price": {
      +      "$ref": "#/$defs/__schema7"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "price",
      +    "merchant_count"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / $defs / __schema9 / additionalProperties
      Removed value: -false
    • removedOutput schema / $defs / __schema9 / properties
      Removed value: -{
      -  "date": {
      -    "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -    "type": "string"
      -  },
      -  "merchant_count": {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "price": {
      -    "$ref": "#/$defs/__schema7"
      -  }
      -}
    • removedOutput schema / $defs / __schema9 / required
      Removed value: -[
      -  "date",
      -  "price",
      -  "merchant_count"
      -]
    • changedOutput schema / $defs / __schema9 / type
      Previous value: -"object"New value: +"number"
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "current_price": {
      -        "$ref": "#/$defs/__schema6"
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "methodology_id": {
      -        "const": "bestprice_daily_min_v1",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "anyOf": [
      -          {
      -            "const": 30,
      -            "type": "number"
      -          },
      -          {
      -            "const": 90,
      -            "type": "number"
      -          },
      -          {
      -            "const": 180,
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "series": {
      -        "items": {
      -          "$ref": "#/$defs/__schema9"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      },
      -      "window_stats": {
      -        "items": {
      -          "$ref": "#/$defs/__schema8"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "$ref": "#/$defs/__schema1"
      -      },
      -      "currency": {
      -        "$ref": "#/$defs/__schema2"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "$ref": "#/$defs/__schema3"
      -      },
      -      "schema_version": {
      -        "$ref": "#/$defs/__schema0"
      -      },
      -      "warnings": {
      -        "$ref": "#/$defs/__schema4"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "description": "Classification against the 180-day window statistics, independent of period_days.",
      +        "enum": [
      +          "record_low",
      +          "excellent_price",
      +          "good_price",
      +          "typical_price",
      +          "above_typical",
      +          "insufficient_data",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "const": "bestprice_daily_min_v1",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "enum": [
      +          30,
      +          90,
      +          180
      +        ],
      +        "type": "number"
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema10"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested.",
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changedv1.2.2
    • addedOutput schema / $defs
      Added value: +{
      +  "__schema0": {
      +    "const": "2.0",
      +    "type": "string"
      +  },
      +  "__schema1": {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +    "type": "string"
      +  },
      +  "__schema2": {
      +    "const": "EUR",
      +    "type": "string"
      +  },
      +  "__schema3": {
      +    "const": "el-GR",
      +    "type": "string"
      +  },
      +  "__schema4": {
      +    "items": {
      +      "$ref": "#/$defs/__schema5"
      +    },
      +    "maxItems": 20,
      +    "type": "array"
      +  },
      +  "__schema5": {
      +    "maxLength": 240,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "__schema6": {
      +    "anyOf": [
      +      {
      +        "$ref": "#/$defs/__schema7"
      +      },
      +      {
      +        "type": "null"
      +      }
      +    ]
      +  },
      +  "__schema7": {
      +    "maximum": 10000000,
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "__schema8": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage_pct": {
      +        "maximum": 100,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "days": {
      +        "anyOf": [
      +          {
      +            "const": 30,
      +            "type": "number"
      +          },
      +          {
      +            "const": 90,
      +            "type": "number"
      +          },
      +          {
      +            "const": 180,
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "longest_gap_days": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "median_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "minimum_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "observations": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "days",
      +      "minimum_price",
      +      "median_price",
      +      "observations",
      +      "coverage_pct"
      +    ],
      +    "type": "object"
      +  },
      +  "__schema9": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "date": {
      +        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      +        "type": "string"
      +      },
      +      "merchant_count": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "price": {
      +        "$ref": "#/$defs/__schema7"
      +      }
      +    },
      +    "required": [
      +      "date",
      +      "price",
      +      "merchant_count"
      +    ],
      +    "type": "object"
      +  }
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "bestprice_url": {
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "const": "EUR",
      -        "type": "string"
      -      },
      -      "current_price": {
      -        "anyOf": [
      -          {
      -            "maximum": 10000000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "current_price_source": {
      -        "enum": [
      -          "live_offer_minimum",
      -          "latest_daily_history",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "data_gaps": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "coverage_note": {
      -            "maxLength": 180,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "longest_gap_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missing_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "stale_days": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "missing_days",
      -          "longest_gap_days",
      -          "stale_days",
      -          "coverage_note"
      -        ],
      -        "type": "object"
      -      },
      -      "deal_classification": {
      -        "enum": [
      -          "record_low",
      -          "excellent_price",
      -          "good_price",
      -          "typical_price",
      -          "above_typical",
      -          "insufficient_data",
      -          "unavailable"
      -        ],
      -        "type": "string"
      -      },
      -      "decision_id": {
      -        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      -        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      -        "type": "string"
      -      },
      -      "locale": {
      -        "const": "el-GR",
      -        "type": "string"
      -      },
      -      "methodology_id": {
      -        "const": "bestprice_daily_min_v1",
      -        "type": "string"
      -      },
      -      "period_days": {
      -        "anyOf": [
      -          {
      -            "const": 30,
      -            "type": "number"
      -          },
      -          {
      -            "const": 90,
      -            "type": "number"
      -          },
      -          {
      -            "const": 180,
      -            "type": "number"
      -          }
      -        ]
      -      },
      -      "price_delta_vs_180d_median_pct": {
      -        "anyOf": [
      -          {
      -            "type": "number"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "product_id": {
      -        "pattern": "^bp_[0-9]{10}$",
      -        "type": "string"
      -      },
      -      "product_title": {
      -        "anyOf": [
      -          {
      -            "maxLength": 220,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "quality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cluster_continuity": {
      -            "enum": [
      -              "same_cluster",
      -              "discontinuous",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          },
      -          "outlier_status": {
      -            "enum": [
      -              "protected",
      -              "unsafe",
      -              "unknown"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "cluster_continuity",
      -          "outlier_status"
      -        ],
      -        "type": "object"
      -      },
      -      "schema_version": {
      -        "const": "2.0",
      -        "type": "string"
      -      },
      -      "series": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "date": {
      -              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      -              "type": "string"
      -            },
      -            "merchant_count": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "price": {
      -              "maximum": 10000000,
      -              "minimum": 0,
      -              "type": "number"
      -            }
      -          },
      -          "required": [
      -            "date",
      -            "price",
      -            "merchant_count"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 64,
      -        "type": "array"
      -      },
      -      "source_last_observed_at": {
      -        "anyOf": [
      -          {
      -            "format": "date-time",
      -            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "warnings": {
      -        "items": {
      -          "maxLength": 240,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      },
      -      "window_stats": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "coverage_pct": {
      -              "maximum": 100,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "days": {
      -              "anyOf": [
      -                {
      -                  "const": 30,
      -                  "type": "number"
      -                },
      -                {
      -                  "const": 90,
      -                  "type": "number"
      -                },
      -                {
      -                  "const": 180,
      -                  "type": "number"
      -                }
      -              ]
      -            },
      -            "longest_gap_days": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "median_price": {
      -              "anyOf": [
      -                {
      -                  "maximum": 10000000,
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "minimum_price": {
      -              "anyOf": [
      -                {
      -                  "maximum": 10000000,
      -                  "minimum": 0,
      -                  "type": "number"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "observations": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "days",
      -            "minimum_price",
      -            "median_price",
      -            "observations",
      -            "coverage_pct"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 3,
      -        "minItems": 3,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "product_id",
      -      "product_title",
      -      "decision_id",
      -      "bestprice_url",
      -      "period_days",
      -      "current_price",
      -      "current_price_source",
      -      "source_last_observed_at",
      -      "window_stats",
      -      "price_delta_vs_180d_median_pct",
      -      "deal_classification",
      -      "methodology_id",
      -      "data_gaps",
      -      "series"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "const": "EUR",
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 240,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "locale": {
      -        "const": "el-GR",
      -        "type": "string"
      -      },
      -      "schema_version": {
      -        "const": "2.0",
      -        "type": "string"
      -      },
      -      "warnings": {
      -        "items": {
      -          "maxLength": 240,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "maxItems": 20,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "schema_version",
      -      "as_of",
      -      "currency",
      -      "locale",
      -      "warnings",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "bestprice_url": {
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "current_price": {
      +        "$ref": "#/$defs/__schema6"
      +      },
      +      "current_price_source": {
      +        "enum": [
      +          "live_offer_minimum",
      +          "latest_daily_history",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "data_gaps": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "coverage_note": {
      +            "maxLength": 180,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "longest_gap_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missing_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "stale_days": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "missing_days",
      +          "longest_gap_days",
      +          "stale_days",
      +          "coverage_note"
      +        ],
      +        "type": "object"
      +      },
      +      "deal_classification": {
      +        "enum": [
      +          "record_low",
      +          "excellent_price",
      +          "good_price",
      +          "typical_price",
      +          "above_typical",
      +          "insufficient_data",
      +          "unavailable"
      +        ],
      +        "type": "string"
      +      },
      +      "decision_id": {
      +        "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry.",
      +        "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      +        "type": "string"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "methodology_id": {
      +        "const": "bestprice_daily_min_v1",
      +        "type": "string"
      +      },
      +      "period_days": {
      +        "anyOf": [
      +          {
      +            "const": 30,
      +            "type": "number"
      +          },
      +          {
      +            "const": 90,
      +            "type": "number"
      +          },
      +          {
      +            "const": 180,
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "price_delta_vs_180d_median_pct": {
      +        "anyOf": [
      +          {
      +            "type": "number"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "product_id": {
      +        "pattern": "^bp_[0-9]{10}$",
      +        "type": "string"
      +      },
      +      "product_title": {
      +        "anyOf": [
      +          {
      +            "maxLength": 220,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "quality": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cluster_continuity": {
      +            "enum": [
      +              "same_cluster",
      +              "discontinuous",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          },
      +          "outlier_status": {
      +            "enum": [
      +              "protected",
      +              "unsafe",
      +              "unknown"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "cluster_continuity",
      +          "outlier_status"
      +        ],
      +        "type": "object"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "series": {
      +        "items": {
      +          "$ref": "#/$defs/__schema9"
      +        },
      +        "maxItems": 64,
      +        "type": "array"
      +      },
      +      "source_last_observed_at": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      },
      +      "window_stats": {
      +        "items": {
      +          "$ref": "#/$defs/__schema8"
      +        },
      +        "maxItems": 3,
      +        "minItems": 3,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "product_id",
      +      "product_title",
      +      "decision_id",
      +      "bestprice_url",
      +      "period_days",
      +      "current_price",
      +      "current_price_source",
      +      "source_last_observed_at",
      +      "window_stats",
      +      "price_delta_vs_180d_median_pct",
      +      "deal_classification",
      +      "methodology_id",
      +      "data_gaps",
      +      "series"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "$ref": "#/$defs/__schema1"
      +      },
      +      "currency": {
      +        "$ref": "#/$defs/__schema2"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 240,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "locale": {
      +        "$ref": "#/$defs/__schema3"
      +      },
      +      "schema_version": {
      +        "$ref": "#/$defs/__schema0"
      +      },
      +      "warnings": {
      +        "$ref": "#/$defs/__schema4"
      +      }
      +    },
      +    "required": [
      +      "schema_version",
      +      "as_of",
      +      "currency",
      +      "locale",
      +      "warnings",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observedv1.8.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds behavioral context: returns deterministic statistics, compact daily history, coverage gaps, methodology, and bounded deal classification. It also clarifies that deal_classification and price_delta always compare with 180-day median regardless of period_days, and window_stats always carries 30/90/180 stats. No contradiction with annotations.

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

Conciseness4/5

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

Three sentences: one for usage, one for return contents, one for parameter nuance. No fluff, and the most important directive (when to use) is front-loaded. Slightly long due to the detailed parameter explanation, but every sentence earns its place.

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

Completeness5/5

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

With an output schema present and only 2 parameters (1 required), the description covers when to use, exclusions, return contents, and parameter behavior. Nothing an agent needs to call it correctly is missing.

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

Parameters3/5

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

The input schema already provides 100% description coverage for both parameters, including the exact clarification about period_days affecting only series and data_gaps. The tool description repeats that same wording without adding new semantics. Since the schema does the heavy lifting, baseline 3 is appropriate.

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

Purpose5/5

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

The description states a specific verb (get price history) and resource (exact grouped product_id), and explicitly lists the question types it answers ('good, low, typical, high... recently became cheaper'). It also distinguishes from siblings by saying 'Do not use it to discover products, compare merchants' – clearly separating it from search_products and compare_offers.

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

Usage Guidelines5/5

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

The first sentence gives an explicit 'Use this when...' condition, and the second gives 'Do not use it to...' exclusions. It also instructs on period_days default ('Use 180 unless the user asks otherwise'). This is exemplary guidance.

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