Skip to main content
Glama

Validate dealer offer feed

dealer_feed_validate
Read-onlyIdempotent

Validate a dealer price feed for required fields, freshness and identity. Example: {"records":[{"product":"american-gold-eagle-1oz","dealer_id":"shop-a","offer":{"unit_price":4260}}]}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "records": "<records>"
    },
    "name": "dealer_feed_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNo
recordsYes
payment_scopeNo
freshness_max_age_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "records": [
      -      {
      -        "dealer_id": "shop-a",
      -        "offer": {
      -          "unit_price": 4260
      -        },
      -        "product": "american-gold-eagle-1oz"
      -      }
      -    ]
      -  }
      -]
    • removedInput schema / properties / as_of / description
      Removed value: -"Evaluation timestamp (ISO-8601). Defaults to Bullion Price Check latest price refresh when omitted."
    • removedInput schema / properties / freshness_max_age_seconds / description
      Removed value: -"Maximum quote age in seconds (defaults to \"86400\" = 24 hours)."
    • removedInput schema / properties / payment_scope / description
      Removed value: -"Optional payment method scope."
    • removedInput schema / properties / records / description
      Removed value: -"Dealer offer records to validate and compare against live BPC melt."
    • changedInput schema / properties / records / items / properties / product / oneOf
      Previous value: -[
      -  {
      -    "description": "Tracked BPC product slug or name.",
      -    "type": "string"
      -  },
      -  {
      -    "$ref": "#/$defs/product"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "$ref": "#/$defs/product"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "oneOf": [
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "as_of": {
      -          "type": "string"
      -        },
      -        "attribution_credit": {
      -          "type": "object"
      -        },
      -        "bpc_benchmark_checks": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "below_melt_warning": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "product_slug": {
      -                "type": "string"
      -              },
      -              "record_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "single_unit_price_usd": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "tracked_by_bpc": {
      -                "type": "boolean"
      -              },
      -              "unit_melt_usd": {
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "cheapest_claims": {
      -          "items": {
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "customization": {
      -          "type": "string"
      -        },
      -        "data_as_of": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "data_sources": {
      -          "additionalProperties": true,
      -          "type": "object"
      -        },
      -        "disclaimer": {
      -          "type": "string"
      -        },
      -        "execution_mode": {
      -          "enum": [
      -            "caller_supplied_stateless",
      -            "bpc_live_and_caller"
      -          ]
      -        },
      -        "freshness": {
      -          "required": [
      -            "stale"
      -          ],
      -          "type": "object"
      -        },
      -        "groups": {
      -          "items": {
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "no_accuracy_guarantee": {
      -          "type": "string"
      -        },
      -        "ok": {
      -          "const": true
      -        },
      -        "payment_scope": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "records": {
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "comparison_eligibility": {
      -                "enum": [
      -                  "eligible",
      -                  "ineligible"
      -                ]
      -              },
      -              "dealer_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "diagnostics": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "blocks_eligibility": {
      -                      "type": "boolean"
      -                    },
      -                    "blocks_validity": {
      -                      "type": "boolean"
      -                    },
      -                    "code": {
      -                      "type": "string"
      -                    },
      -                    "field": {
      -                      "type": "string"
      -                    },
      -                    "message": {
      -                      "type": "string"
      -                    },
      -                    "severity": {
      -                      "enum": [
      -                        "error",
      -                        "warning",
      -                        "info"
      -                      ]
      -                    }
      -                  },
      -                  "required": [
      -                    "code",
      -                    "severity",
      -                    "field",
      -                    "message",
      -                    "blocks_validity",
      -                    "blocks_eligibility"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "freshness": {
      -                "enum": [
      -                  "fresh",
      -                  "not_fresh",
      -                  "unknown"
      -                ]
      -              },
      -              "identity_key": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "identity_status": {
      -                "enum": [
      -                  "exact",
      -                  "unknown",
      -                  "ambiguous",
      -                  "mismatch"
      -                ]
      -              },
      -              "payment_method": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "record_id": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "single_unit_price": {
      -                "oneOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "exact": {
      -                        "type": "string"
      -                      },
      -                      "rounded": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "amount": {
      -                            "type": "string"
      -                          },
      -                          "currency": {
      -                            "type": "string"
      -                          },
      -                          "rounding": {
      -                            "const": "half_up_2dp"
      -                          }
      -                        },
      -                        "required": [
      -                          "amount",
      -                          "currency",
      -                          "rounding"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    },
      -                    "required": [
      -                      "exact",
      -                      "rounded"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "stock_status": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "validity": {
      -                "enum": [
      -                  "valid",
      -                  "invalid"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "record_id",
      -              "dealer_id",
      -              "validity",
      -              "comparison_eligibility",
      -              "identity_status",
      -              "identity_key",
      -              "diagnostics",
      -              "single_unit_price",
      -              "payment_method",
      -              "stock_status",
      -              "freshness"
      -            ],
      -            "type": "object"
      -          },
      -          "type": "array"
      -        },
      -        "schema_version": {
      -          "const": "1.0.0"
      -        },
      -        "summary": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "cheapest_claim_count": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "diagnostic_counts": {
      -              "additionalProperties": {
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "type": "object"
      -            },
      -            "eligible_count": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "record_count": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "valid_count": {
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "record_count",
      -            "valid_count",
      -            "eligible_count",
      -            "cheapest_claim_count",
      -            "diagnostic_counts"
      -          ],
      -          "type": "object"
      -        },
      -        "tool": {
      -          "const": "dealer_feed_validate"
      -        }
      -      },
      -      "required": [
      -        "ok",
      -        "tool",
      -        "schema_version",
      -        "execution_mode",
      -        "as_of",
      -        "disclaimer",
      -        "no_accuracy_guarantee",
      -        "payment_scope",
      -        "records",
      -        "groups",
      -        "cheapest_claims",
      -        "summary"
      -      ],
      -      "type": "object"
      -    },
      -    {
      -      "additionalProperties": false,
      -      "properties": {
      -        "customization": {
      -          "type": "string"
      -        },
      -        "data_as_of": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "error": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "const": "INVALID_INPUT"
      -            },
      -            "diagnostics": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "blocks_eligibility": {
      -                    "type": "boolean"
      -                  },
      -                  "blocks_validity": {
      -                    "type": "boolean"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "field": {
      -                    "type": "string"
      -                  },
      -                  "message": {
      -                    "type": "string"
      -                  },
      -                  "severity": {
      -                    "enum": [
      -                      "error",
      -                      "warning",
      -                      "info"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "code",
      -                  "severity",
      -                  "field",
      -                  "message",
      -                  "blocks_validity",
      -                  "blocks_eligibility"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "message": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "message",
      -            "diagnostics"
      -          ],
      -          "type": "object"
      -        },
      -        "execution_mode": {
      -          "const": "caller_supplied_stateless"
      -        },
      -        "ok": {
      -          "const": false
      -        },
      -        "schema_version": {
      -          "const": "1.0.0"
      -        },
      -        "tool": {
      -          "const": "dealer_feed_validate"
      -        }
      -      },
      -      "required": [
      -        "ok",
      -        "tool",
      -        "schema_version",
      -        "execution_mode",
      -        "error"
      -      ],
      -      "type": "object"
      -    }
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "type": "string"
      -      },
      -      "bpc_benchmark_checks": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "below_melt_warning": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_slug": {
      -              "type": "string"
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "tracked_by_bpc": {
      -              "type": "boolean"
      -            },
      -            "unit_melt_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "cheapest_claims": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "customization": {
      -        "type": "string"
      -      },
      -      "data_as_of": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "data_sources": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "disclaimer": {
      -        "type": "string"
      -      },
      -      "execution_mode": {
      -        "enum": [
      -          "caller_supplied_stateless",
      -          "bpc_live_and_caller"
      -        ]
      -      },
      -      "freshness": {
      -        "required": [
      -          "stale"
      -        ],
      -        "type": "object"
      -      },
      -      "groups": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "no_accuracy_guarantee": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "payment_scope": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "records": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "comparison_eligibility": {
      -              "enum": [
      -                "eligible",
      -                "ineligible"
      -              ]
      -            },
      -            "dealer_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "diagnostics": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "blocks_eligibility": {
      -                    "type": "boolean"
      -                  },
      -                  "blocks_validity": {
      -                    "type": "boolean"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "field": {
      -                    "type": "string"
      -                  },
      -                  "message": {
      -                    "type": "string"
      -                  },
      -                  "severity": {
      -                    "enum": [
      -                      "error",
      -                      "warning",
      -                      "info"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "code",
      -                  "severity",
      -                  "field",
      -                  "message",
      -                  "blocks_validity",
      -                  "blocks_eligibility"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "freshness": {
      -              "enum": [
      -                "fresh",
      -                "not_fresh",
      -                "unknown"
      -              ]
      -            },
      -            "identity_key": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "identity_status": {
      -              "enum": [
      -                "exact",
      -                "unknown",
      -                "ambiguous",
      -                "mismatch"
      -              ]
      -            },
      -            "payment_method": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price": {
      -              "oneOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "exact": {
      -                      "type": "string"
      -                    },
      -                    "rounded": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "amount": {
      -                          "type": "string"
      -                        },
      -                        "currency": {
      -                          "type": "string"
      -                        },
      -                        "rounding": {
      -                          "const": "half_up_2dp"
      -                        }
      -                      },
      -                      "required": [
      -                        "amount",
      -                        "currency",
      -                        "rounding"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "exact",
      -                    "rounded"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "stock_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "validity": {
      -              "enum": [
      -                "valid",
      -                "invalid"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "record_id",
      -            "dealer_id",
      -            "validity",
      -            "comparison_eligibility",
      -            "identity_status",
      -            "identity_key",
      -            "diagnostics",
      -            "single_unit_price",
      -            "payment_method",
      -            "stock_status",
      -            "freshness"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "summary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cheapest_claim_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "diagnostic_counts": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "type": "object"
      -          },
      -          "eligible_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "record_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "valid_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "record_count",
      -          "valid_count",
      -          "eligible_count",
      -          "cheapest_claim_count",
      -          "diagnostic_counts"
      -        ],
      -        "type": "object"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "as_of",
      -      "disclaimer",
      -      "no_accuracy_guarantee",
      -      "payment_scope",
      -      "records",
      -      "groups",
      -      "cheapest_claims",
      -      "summary"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "customization": {
      -        "type": "string"
      -      },
      -      "data_as_of": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "const": "INVALID_INPUT"
      -          },
      -          "diagnostics": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "blocks_eligibility": {
      -                  "type": "boolean"
      -                },
      -                "blocks_validity": {
      -                  "type": "boolean"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "field": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "severity": {
      -                  "enum": [
      -                    "error",
      -                    "warning",
      -                    "info"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "severity",
      -                "field",
      -                "message",
      -                "blocks_validity",
      -                "blocks_eligibility"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "diagnostics"
      -        ],
      -        "type": "object"
      -      },
      -      "execution_mode": {
      -        "const": "caller_supplied_stateless"
      -      },
      -      "ok": {
      -        "const": false
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "type": "string"
      +      },
      +      "attribution_credit": {
      +        "type": "object"
      +      },
      +      "bpc_benchmark_checks": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "below_melt_warning": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_slug": {
      +              "type": "string"
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "tracked_by_bpc": {
      +              "type": "boolean"
      +            },
      +            "unit_melt_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "cheapest_claims": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "customization": {
      +        "type": "string"
      +      },
      +      "data_as_of": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "data_sources": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "disclaimer": {
      +        "type": "string"
      +      },
      +      "execution_mode": {
      +        "enum": [
      +          "caller_supplied_stateless",
      +          "bpc_live_and_caller"
      +        ]
      +      },
      +      "freshness": {
      +        "required": [
      +          "stale"
      +        ],
      +        "type": "object"
      +      },
      +      "groups": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "no_accuracy_guarantee": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "payment_scope": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "records": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "comparison_eligibility": {
      +              "enum": [
      +                "eligible",
      +                "ineligible"
      +              ]
      +            },
      +            "dealer_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "diagnostics": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "blocks_eligibility": {
      +                    "type": "boolean"
      +                  },
      +                  "blocks_validity": {
      +                    "type": "boolean"
      +                  },
      +                  "code": {
      +                    "type": "string"
      +                  },
      +                  "field": {
      +                    "type": "string"
      +                  },
      +                  "message": {
      +                    "type": "string"
      +                  },
      +                  "severity": {
      +                    "enum": [
      +                      "error",
      +                      "warning",
      +                      "info"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "severity",
      +                  "field",
      +                  "message",
      +                  "blocks_validity",
      +                  "blocks_eligibility"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "not_fresh",
      +                "unknown"
      +              ]
      +            },
      +            "identity_key": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "identity_status": {
      +              "enum": [
      +                "exact",
      +                "unknown",
      +                "ambiguous",
      +                "mismatch"
      +              ]
      +            },
      +            "payment_method": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "exact": {
      +                      "type": "string"
      +                    },
      +                    "rounded": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "amount": {
      +                          "type": "string"
      +                        },
      +                        "currency": {
      +                          "type": "string"
      +                        },
      +                        "rounding": {
      +                          "const": "half_up_2dp"
      +                        }
      +                      },
      +                      "required": [
      +                        "amount",
      +                        "currency",
      +                        "rounding"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "exact",
      +                    "rounded"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "stock_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "validity": {
      +              "enum": [
      +                "valid",
      +                "invalid"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "record_id",
      +            "dealer_id",
      +            "validity",
      +            "comparison_eligibility",
      +            "identity_status",
      +            "identity_key",
      +            "diagnostics",
      +            "single_unit_price",
      +            "payment_method",
      +            "stock_status",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cheapest_claim_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "diagnostic_counts": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "eligible_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "record_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "valid_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "record_count",
      +          "valid_count",
      +          "eligible_count",
      +          "cheapest_claim_count",
      +          "diagnostic_counts"
      +        ],
      +        "type": "object"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "as_of",
      +      "disclaimer",
      +      "no_accuracy_guarantee",
      +      "payment_scope",
      +      "records",
      +      "groups",
      +      "cheapest_claims",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "customization": {
      +        "type": "string"
      +      },
      +      "data_as_of": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "const": "INVALID_INPUT"
      +          },
      +          "diagnostics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "blocks_eligibility": {
      +                  "type": "boolean"
      +                },
      +                "blocks_validity": {
      +                  "type": "boolean"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "field": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "error",
      +                    "warning",
      +                    "info"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "severity",
      +                "field",
      +                "message",
      +                "blocks_validity",
      +                "blocks_eligibility"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "diagnostics"
      +        ],
      +        "type": "object"
      +      },
      +      "execution_mode": {
      +        "const": "caller_supplied_stateless"
      +      },
      +      "ok": {
      +        "const": false
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "records": [
      +      {
      +        "dealer_id": "shop-a",
      +        "offer": {
      +          "unit_price": 4260
      +        },
      +        "product": "american-gold-eagle-1oz"
      +      }
      +    ]
      +  }
      +]
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "type": "string"
      -      },
      -      "bpc_benchmark_checks": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "below_melt_warning": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_slug": {
      -              "type": "string"
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "tracked_by_bpc": {
      -              "type": "boolean"
      -            },
      -            "unit_melt_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "cheapest_claims": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "customization": {
      -        "type": "string"
      -      },
      -      "data_sources": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "disclaimer": {
      -        "type": "string"
      -      },
      -      "execution_mode": {
      -        "enum": [
      -          "caller_supplied_stateless",
      -          "bpc_live_and_caller"
      -        ]
      -      },
      -      "freshness": {
      -        "required": [
      -          "stale"
      -        ],
      -        "type": "object"
      -      },
      -      "groups": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "no_accuracy_guarantee": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "payment_scope": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "records": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "comparison_eligibility": {
      -              "enum": [
      -                "eligible",
      -                "ineligible"
      -              ]
      -            },
      -            "dealer_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "diagnostics": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "blocks_eligibility": {
      -                    "type": "boolean"
      -                  },
      -                  "blocks_validity": {
      -                    "type": "boolean"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "field": {
      -                    "type": "string"
      -                  },
      -                  "message": {
      -                    "type": "string"
      -                  },
      -                  "severity": {
      -                    "enum": [
      -                      "error",
      -                      "warning",
      -                      "info"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "code",
      -                  "severity",
      -                  "field",
      -                  "message",
      -                  "blocks_validity",
      -                  "blocks_eligibility"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "freshness": {
      -              "enum": [
      -                "fresh",
      -                "not_fresh",
      -                "unknown"
      -              ]
      -            },
      -            "identity_key": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "identity_status": {
      -              "enum": [
      -                "exact",
      -                "unknown",
      -                "ambiguous",
      -                "mismatch"
      -              ]
      -            },
      -            "payment_method": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price": {
      -              "oneOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "exact": {
      -                      "type": "string"
      -                    },
      -                    "rounded": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "amount": {
      -                          "type": "string"
      -                        },
      -                        "currency": {
      -                          "type": "string"
      -                        },
      -                        "rounding": {
      -                          "const": "half_up_2dp"
      -                        }
      -                      },
      -                      "required": [
      -                        "amount",
      -                        "currency",
      -                        "rounding"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "exact",
      -                    "rounded"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "stock_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "validity": {
      -              "enum": [
      -                "valid",
      -                "invalid"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "record_id",
      -            "dealer_id",
      -            "validity",
      -            "comparison_eligibility",
      -            "identity_status",
      -            "identity_key",
      -            "diagnostics",
      -            "single_unit_price",
      -            "payment_method",
      -            "stock_status",
      -            "freshness"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "summary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cheapest_claim_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "diagnostic_counts": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "type": "object"
      -          },
      -          "eligible_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "record_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "valid_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "record_count",
      -          "valid_count",
      -          "eligible_count",
      -          "cheapest_claim_count",
      -          "diagnostic_counts"
      -        ],
      -        "type": "object"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "as_of",
      -      "disclaimer",
      -      "no_accuracy_guarantee",
      -      "payment_scope",
      -      "records",
      -      "groups",
      -      "cheapest_claims",
      -      "summary"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "customization": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "const": "INVALID_INPUT"
      -          },
      -          "diagnostics": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "blocks_eligibility": {
      -                  "type": "boolean"
      -                },
      -                "blocks_validity": {
      -                  "type": "boolean"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "field": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "severity": {
      -                  "enum": [
      -                    "error",
      -                    "warning",
      -                    "info"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "severity",
      -                "field",
      -                "message",
      -                "blocks_validity",
      -                "blocks_eligibility"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "diagnostics"
      -        ],
      -        "type": "object"
      -      },
      -      "execution_mode": {
      -        "const": "caller_supplied_stateless"
      -      },
      -      "ok": {
      -        "const": false
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "type": "string"
      +      },
      +      "bpc_benchmark_checks": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "below_melt_warning": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_slug": {
      +              "type": "string"
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "tracked_by_bpc": {
      +              "type": "boolean"
      +            },
      +            "unit_melt_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "cheapest_claims": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "customization": {
      +        "type": "string"
      +      },
      +      "data_as_of": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "data_sources": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "disclaimer": {
      +        "type": "string"
      +      },
      +      "execution_mode": {
      +        "enum": [
      +          "caller_supplied_stateless",
      +          "bpc_live_and_caller"
      +        ]
      +      },
      +      "freshness": {
      +        "required": [
      +          "stale"
      +        ],
      +        "type": "object"
      +      },
      +      "groups": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "no_accuracy_guarantee": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "payment_scope": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "records": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "comparison_eligibility": {
      +              "enum": [
      +                "eligible",
      +                "ineligible"
      +              ]
      +            },
      +            "dealer_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "diagnostics": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "blocks_eligibility": {
      +                    "type": "boolean"
      +                  },
      +                  "blocks_validity": {
      +                    "type": "boolean"
      +                  },
      +                  "code": {
      +                    "type": "string"
      +                  },
      +                  "field": {
      +                    "type": "string"
      +                  },
      +                  "message": {
      +                    "type": "string"
      +                  },
      +                  "severity": {
      +                    "enum": [
      +                      "error",
      +                      "warning",
      +                      "info"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "severity",
      +                  "field",
      +                  "message",
      +                  "blocks_validity",
      +                  "blocks_eligibility"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "not_fresh",
      +                "unknown"
      +              ]
      +            },
      +            "identity_key": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "identity_status": {
      +              "enum": [
      +                "exact",
      +                "unknown",
      +                "ambiguous",
      +                "mismatch"
      +              ]
      +            },
      +            "payment_method": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "exact": {
      +                      "type": "string"
      +                    },
      +                    "rounded": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "amount": {
      +                          "type": "string"
      +                        },
      +                        "currency": {
      +                          "type": "string"
      +                        },
      +                        "rounding": {
      +                          "const": "half_up_2dp"
      +                        }
      +                      },
      +                      "required": [
      +                        "amount",
      +                        "currency",
      +                        "rounding"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "exact",
      +                    "rounded"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "stock_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "validity": {
      +              "enum": [
      +                "valid",
      +                "invalid"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "record_id",
      +            "dealer_id",
      +            "validity",
      +            "comparison_eligibility",
      +            "identity_status",
      +            "identity_key",
      +            "diagnostics",
      +            "single_unit_price",
      +            "payment_method",
      +            "stock_status",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cheapest_claim_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "diagnostic_counts": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "eligible_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "record_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "valid_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "record_count",
      +          "valid_count",
      +          "eligible_count",
      +          "cheapest_claim_count",
      +          "diagnostic_counts"
      +        ],
      +        "type": "object"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "as_of",
      +      "disclaimer",
      +      "no_accuracy_guarantee",
      +      "payment_scope",
      +      "records",
      +      "groups",
      +      "cheapest_claims",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "customization": {
      +        "type": "string"
      +      },
      +      "data_as_of": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "const": "INVALID_INPUT"
      +          },
      +          "diagnostics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "blocks_eligibility": {
      +                  "type": "boolean"
      +                },
      +                "blocks_validity": {
      +                  "type": "boolean"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "field": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "error",
      +                    "warning",
      +                    "info"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "severity",
      +                "field",
      +                "message",
      +                "blocks_validity",
      +                "blocks_eligibility"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "diagnostics"
      +        ],
      +        "type": "object"
      +      },
      +      "execution_mode": {
      +        "const": "caller_supplied_stateless"
      +      },
      +      "ok": {
      +        "const": false
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "type": "string"
      -      },
      -      "bpc_benchmark_checks": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "below_melt_warning": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "product_slug": {
      -              "type": "string"
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "tracked_by_bpc": {
      -              "type": "boolean"
      -            },
      -            "unit_melt_usd": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "cheapest_claims": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "customization": {
      -        "type": "string"
      -      },
      -      "data_sources": {
      -        "additionalProperties": true,
      -        "type": "object"
      -      },
      -      "disclaimer": {
      -        "type": "string"
      -      },
      -      "execution_mode": {
      -        "enum": [
      -          "caller_supplied_stateless",
      -          "bpc_live_and_caller"
      -        ]
      -      },
      -      "groups": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "no_accuracy_guarantee": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "payment_scope": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "records": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "comparison_eligibility": {
      -              "enum": [
      -                "eligible",
      -                "ineligible"
      -              ]
      -            },
      -            "dealer_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "diagnostics": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "blocks_eligibility": {
      -                    "type": "boolean"
      -                  },
      -                  "blocks_validity": {
      -                    "type": "boolean"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "field": {
      -                    "type": "string"
      -                  },
      -                  "message": {
      -                    "type": "string"
      -                  },
      -                  "severity": {
      -                    "enum": [
      -                      "error",
      -                      "warning",
      -                      "info"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "code",
      -                  "severity",
      -                  "field",
      -                  "message",
      -                  "blocks_validity",
      -                  "blocks_eligibility"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "freshness": {
      -              "enum": [
      -                "fresh",
      -                "not_fresh",
      -                "unknown"
      -              ]
      -            },
      -            "identity_key": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "identity_status": {
      -              "enum": [
      -                "exact",
      -                "unknown",
      -                "ambiguous",
      -                "mismatch"
      -              ]
      -            },
      -            "payment_method": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price": {
      -              "oneOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "exact": {
      -                      "type": "string"
      -                    },
      -                    "rounded": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "amount": {
      -                          "type": "string"
      -                        },
      -                        "currency": {
      -                          "type": "string"
      -                        },
      -                        "rounding": {
      -                          "const": "half_up_2dp"
      -                        }
      -                      },
      -                      "required": [
      -                        "amount",
      -                        "currency",
      -                        "rounding"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "exact",
      -                    "rounded"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "stock_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "validity": {
      -              "enum": [
      -                "valid",
      -                "invalid"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "record_id",
      -            "dealer_id",
      -            "validity",
      -            "comparison_eligibility",
      -            "identity_status",
      -            "identity_key",
      -            "diagnostics",
      -            "single_unit_price",
      -            "payment_method",
      -            "stock_status",
      -            "freshness"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "summary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cheapest_claim_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "diagnostic_counts": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "type": "object"
      -          },
      -          "eligible_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "record_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "valid_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "record_count",
      -          "valid_count",
      -          "eligible_count",
      -          "cheapest_claim_count",
      -          "diagnostic_counts"
      -        ],
      -        "type": "object"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "as_of",
      -      "disclaimer",
      -      "no_accuracy_guarantee",
      -      "payment_scope",
      -      "records",
      -      "groups",
      -      "cheapest_claims",
      -      "summary"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "customization": {
      -        "type": "string"
      -      },
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "const": "INVALID_INPUT"
      -          },
      -          "diagnostics": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "blocks_eligibility": {
      -                  "type": "boolean"
      -                },
      -                "blocks_validity": {
      -                  "type": "boolean"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "field": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "severity": {
      -                  "enum": [
      -                    "error",
      -                    "warning",
      -                    "info"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "severity",
      -                "field",
      -                "message",
      -                "blocks_validity",
      -                "blocks_eligibility"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "diagnostics"
      -        ],
      -        "type": "object"
      -      },
      -      "execution_mode": {
      -        "const": "caller_supplied_stateless"
      -      },
      -      "ok": {
      -        "const": false
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "type": "string"
      +      },
      +      "bpc_benchmark_checks": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "below_melt_warning": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_slug": {
      +              "type": "string"
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "tracked_by_bpc": {
      +              "type": "boolean"
      +            },
      +            "unit_melt_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "cheapest_claims": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "customization": {
      +        "type": "string"
      +      },
      +      "data_sources": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "disclaimer": {
      +        "type": "string"
      +      },
      +      "execution_mode": {
      +        "enum": [
      +          "caller_supplied_stateless",
      +          "bpc_live_and_caller"
      +        ]
      +      },
      +      "freshness": {
      +        "required": [
      +          "stale"
      +        ],
      +        "type": "object"
      +      },
      +      "groups": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "no_accuracy_guarantee": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "payment_scope": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "records": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "comparison_eligibility": {
      +              "enum": [
      +                "eligible",
      +                "ineligible"
      +              ]
      +            },
      +            "dealer_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "diagnostics": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "blocks_eligibility": {
      +                    "type": "boolean"
      +                  },
      +                  "blocks_validity": {
      +                    "type": "boolean"
      +                  },
      +                  "code": {
      +                    "type": "string"
      +                  },
      +                  "field": {
      +                    "type": "string"
      +                  },
      +                  "message": {
      +                    "type": "string"
      +                  },
      +                  "severity": {
      +                    "enum": [
      +                      "error",
      +                      "warning",
      +                      "info"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "severity",
      +                  "field",
      +                  "message",
      +                  "blocks_validity",
      +                  "blocks_eligibility"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "not_fresh",
      +                "unknown"
      +              ]
      +            },
      +            "identity_key": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "identity_status": {
      +              "enum": [
      +                "exact",
      +                "unknown",
      +                "ambiguous",
      +                "mismatch"
      +              ]
      +            },
      +            "payment_method": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "exact": {
      +                      "type": "string"
      +                    },
      +                    "rounded": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "amount": {
      +                          "type": "string"
      +                        },
      +                        "currency": {
      +                          "type": "string"
      +                        },
      +                        "rounding": {
      +                          "const": "half_up_2dp"
      +                        }
      +                      },
      +                      "required": [
      +                        "amount",
      +                        "currency",
      +                        "rounding"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "exact",
      +                    "rounded"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "stock_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "validity": {
      +              "enum": [
      +                "valid",
      +                "invalid"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "record_id",
      +            "dealer_id",
      +            "validity",
      +            "comparison_eligibility",
      +            "identity_status",
      +            "identity_key",
      +            "diagnostics",
      +            "single_unit_price",
      +            "payment_method",
      +            "stock_status",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cheapest_claim_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "diagnostic_counts": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "eligible_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "record_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "valid_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "record_count",
      +          "valid_count",
      +          "eligible_count",
      +          "cheapest_claim_count",
      +          "diagnostic_counts"
      +        ],
      +        "type": "object"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "as_of",
      +      "disclaimer",
      +      "no_accuracy_guarantee",
      +      "payment_scope",
      +      "records",
      +      "groups",
      +      "cheapest_claims",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "customization": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "const": "INVALID_INPUT"
      +          },
      +          "diagnostics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "blocks_eligibility": {
      +                  "type": "boolean"
      +                },
      +                "blocks_validity": {
      +                  "type": "boolean"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "field": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "error",
      +                    "warning",
      +                    "info"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "severity",
      +                "field",
      +                "message",
      +                "blocks_validity",
      +                "blocks_eligibility"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "diagnostics"
      +        ],
      +        "type": "object"
      +      },
      +      "execution_mode": {
      +        "const": "caller_supplied_stateless"
      +      },
      +      "ok": {
      +        "const": false
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed17 schema fields changed
    • changedInput schema / properties / as_of / description
      Previous value: -"Evaluation instant. Freshness is measured only against this value."New value: +"Evaluation timestamp (ISO-8601). Defaults to Bullion Price Check latest price refresh when omitted."
    • addedInput schema / properties / as_of / format
      Added value: +"date-time"
    • removedInput schema / properties / as_of / maxLength
      Removed value: -40
    • removedInput schema / properties / freshness_max_age_seconds / $ref
      Removed value: -"#/$defs/decimal"
    • changedInput schema / properties / freshness_max_age_seconds / description
      Previous value: -"Inclusive maximum quote age in seconds."New value: +"Maximum quote age in seconds (defaults to \"86400\" = 24 hours)."
    • addedInput schema / properties / freshness_max_age_seconds / type
      Added value: +[
      +  "string",
      +  "integer",
      +  "number"
      +]
    • addedInput schema / properties / payment_scope / description
      Added value: +"Optional payment method scope."
    • addedInput schema / properties / payment_scope / type
      Added value: +"string"
    • addedInput schema / properties / records / description
      Added value: +"Dealer offer records to validate and compare against live BPC melt."
    • removedInput schema / properties / records / items / properties / offer / properties / unit_price / $ref
      Removed value: -"#/$defs/money"
    • addedInput schema / properties / records / items / properties / offer / properties / unit_price / oneOf
      Added value: +[
      +  {
      +    "type": [
      +      "number",
      +      "string"
      +    ]
      +  },
      +  {
      +    "$ref": "#/$defs/money"
      +  }
      +]
    • removedInput schema / properties / records / items / properties / product / $ref
      Removed value: -"#/$defs/product"
    • addedInput schema / properties / records / items / properties / product / oneOf
      Added value: +[
      +  {
      +    "description": "Tracked BPC product slug or name.",
      +    "type": "string"
      +  },
      +  {
      +    "$ref": "#/$defs/product"
      +  }
      +]
    • changedInput schema / properties / records / items / required
      Previous value: -[
      -  "record_id",
      -  "dealer_id",
      -  "product",
      -  "offer"
      -]New value: +[
      +  "product",
      +  "offer"
      +]
    • changedInput schema / properties / records / maxItems
      Previous value: -100New value: +200
    • changedInput schema / required
      Previous value: -[
      -  "as_of",
      -  "freshness_max_age_seconds",
      -  "records"
      -]New value: +[
      +  "records"
      +]
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "as_of": {
      -        "type": "string"
      -      },
      -      "cheapest_claims": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "disclaimer": {
      -        "type": "string"
      -      },
      -      "execution_mode": {
      -        "const": "caller_supplied_stateless"
      -      },
      -      "groups": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "no_accuracy_guarantee": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "const": true
      -      },
      -      "payment_scope": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "records": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "comparison_eligibility": {
      -              "enum": [
      -                "eligible",
      -                "ineligible"
      -              ]
      -            },
      -            "dealer_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "diagnostics": {
      -              "items": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "blocks_eligibility": {
      -                    "type": "boolean"
      -                  },
      -                  "blocks_validity": {
      -                    "type": "boolean"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "field": {
      -                    "type": "string"
      -                  },
      -                  "message": {
      -                    "type": "string"
      -                  },
      -                  "severity": {
      -                    "enum": [
      -                      "error",
      -                      "warning",
      -                      "info"
      -                    ]
      -                  }
      -                },
      -                "required": [
      -                  "code",
      -                  "severity",
      -                  "field",
      -                  "message",
      -                  "blocks_validity",
      -                  "blocks_eligibility"
      -                ],
      -                "type": "object"
      -              },
      -              "type": "array"
      -            },
      -            "freshness": {
      -              "enum": [
      -                "fresh",
      -                "not_fresh",
      -                "unknown"
      -              ]
      -            },
      -            "identity_key": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "identity_status": {
      -              "enum": [
      -                "exact",
      -                "unknown",
      -                "ambiguous",
      -                "mismatch"
      -              ]
      -            },
      -            "payment_method": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "record_id": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "single_unit_price": {
      -              "oneOf": [
      -                {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "exact": {
      -                      "type": "string"
      -                    },
      -                    "rounded": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "amount": {
      -                          "type": "string"
      -                        },
      -                        "currency": {
      -                          "type": "string"
      -                        },
      -                        "rounding": {
      -                          "const": "half_up_2dp"
      -                        }
      -                      },
      -                      "required": [
      -                        "amount",
      -                        "currency",
      -                        "rounding"
      -                      ],
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "exact",
      -                    "rounded"
      -                  ],
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "stock_status": {
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "validity": {
      -              "enum": [
      -                "valid",
      -                "invalid"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "record_id",
      -            "dealer_id",
      -            "validity",
      -            "comparison_eligibility",
      -            "identity_status",
      -            "identity_key",
      -            "diagnostics",
      -            "single_unit_price",
      -            "payment_method",
      -            "stock_status",
      -            "freshness"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "summary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "cheapest_claim_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "diagnostic_counts": {
      -            "additionalProperties": {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "type": "object"
      -          },
      -          "eligible_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "record_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "valid_count": {
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "record_count",
      -          "valid_count",
      -          "eligible_count",
      -          "cheapest_claim_count",
      -          "diagnostic_counts"
      -        ],
      -        "type": "object"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "as_of",
      -      "disclaimer",
      -      "no_accuracy_guarantee",
      -      "payment_scope",
      -      "records",
      -      "groups",
      -      "cheapest_claims",
      -      "summary"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "const": "INVALID_INPUT"
      -          },
      -          "diagnostics": {
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "blocks_eligibility": {
      -                  "type": "boolean"
      -                },
      -                "blocks_validity": {
      -                  "type": "boolean"
      -                },
      -                "code": {
      -                  "type": "string"
      -                },
      -                "field": {
      -                  "type": "string"
      -                },
      -                "message": {
      -                  "type": "string"
      -                },
      -                "severity": {
      -                  "enum": [
      -                    "error",
      -                    "warning",
      -                    "info"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "code",
      -                "severity",
      -                "field",
      -                "message",
      -                "blocks_validity",
      -                "blocks_eligibility"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          "message": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "diagnostics"
      -        ],
      -        "type": "object"
      -      },
      -      "execution_mode": {
      -        "const": "caller_supplied_stateless"
      -      },
      -      "ok": {
      -        "const": false
      -      },
      -      "schema_version": {
      -        "const": "1.0.0"
      -      },
      -      "tool": {
      -        "const": "dealer_feed_validate"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "tool",
      -      "schema_version",
      -      "execution_mode",
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "as_of": {
      +        "type": "string"
      +      },
      +      "bpc_benchmark_checks": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "below_melt_warning": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "product_slug": {
      +              "type": "string"
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "tracked_by_bpc": {
      +              "type": "boolean"
      +            },
      +            "unit_melt_usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "cheapest_claims": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "customization": {
      +        "type": "string"
      +      },
      +      "data_sources": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "disclaimer": {
      +        "type": "string"
      +      },
      +      "execution_mode": {
      +        "enum": [
      +          "caller_supplied_stateless",
      +          "bpc_live_and_caller"
      +        ]
      +      },
      +      "groups": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "no_accuracy_guarantee": {
      +        "type": "string"
      +      },
      +      "ok": {
      +        "const": true
      +      },
      +      "payment_scope": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "records": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "comparison_eligibility": {
      +              "enum": [
      +                "eligible",
      +                "ineligible"
      +              ]
      +            },
      +            "dealer_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "diagnostics": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "blocks_eligibility": {
      +                    "type": "boolean"
      +                  },
      +                  "blocks_validity": {
      +                    "type": "boolean"
      +                  },
      +                  "code": {
      +                    "type": "string"
      +                  },
      +                  "field": {
      +                    "type": "string"
      +                  },
      +                  "message": {
      +                    "type": "string"
      +                  },
      +                  "severity": {
      +                    "enum": [
      +                      "error",
      +                      "warning",
      +                      "info"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "severity",
      +                  "field",
      +                  "message",
      +                  "blocks_validity",
      +                  "blocks_eligibility"
      +                ],
      +                "type": "object"
      +              },
      +              "type": "array"
      +            },
      +            "freshness": {
      +              "enum": [
      +                "fresh",
      +                "not_fresh",
      +                "unknown"
      +              ]
      +            },
      +            "identity_key": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "identity_status": {
      +              "enum": [
      +                "exact",
      +                "unknown",
      +                "ambiguous",
      +                "mismatch"
      +              ]
      +            },
      +            "payment_method": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "record_id": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "single_unit_price": {
      +              "oneOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "exact": {
      +                      "type": "string"
      +                    },
      +                    "rounded": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "amount": {
      +                          "type": "string"
      +                        },
      +                        "currency": {
      +                          "type": "string"
      +                        },
      +                        "rounding": {
      +                          "const": "half_up_2dp"
      +                        }
      +                      },
      +                      "required": [
      +                        "amount",
      +                        "currency",
      +                        "rounding"
      +                      ],
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "exact",
      +                    "rounded"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "stock_status": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "validity": {
      +              "enum": [
      +                "valid",
      +                "invalid"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "record_id",
      +            "dealer_id",
      +            "validity",
      +            "comparison_eligibility",
      +            "identity_status",
      +            "identity_key",
      +            "diagnostics",
      +            "single_unit_price",
      +            "payment_method",
      +            "stock_status",
      +            "freshness"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cheapest_claim_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "diagnostic_counts": {
      +            "additionalProperties": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "type": "object"
      +          },
      +          "eligible_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "record_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "valid_count": {
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "record_count",
      +          "valid_count",
      +          "eligible_count",
      +          "cheapest_claim_count",
      +          "diagnostic_counts"
      +        ],
      +        "type": "object"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "as_of",
      +      "disclaimer",
      +      "no_accuracy_guarantee",
      +      "payment_scope",
      +      "records",
      +      "groups",
      +      "cheapest_claims",
      +      "summary"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "customization": {
      +        "type": "string"
      +      },
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "const": "INVALID_INPUT"
      +          },
      +          "diagnostics": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "blocks_eligibility": {
      +                  "type": "boolean"
      +                },
      +                "blocks_validity": {
      +                  "type": "boolean"
      +                },
      +                "code": {
      +                  "type": "string"
      +                },
      +                "field": {
      +                  "type": "string"
      +                },
      +                "message": {
      +                  "type": "string"
      +                },
      +                "severity": {
      +                  "enum": [
      +                    "error",
      +                    "warning",
      +                    "info"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "code",
      +                "severity",
      +                "field",
      +                "message",
      +                "blocks_validity",
      +                "blocks_eligibility"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "message": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "diagnostics"
      +        ],
      +        "type": "object"
      +      },
      +      "execution_mode": {
      +        "const": "caller_supplied_stateless"
      +      },
      +      "ok": {
      +        "const": false
      +      },
      +      "schema_version": {
      +        "const": "1.0.0"
      +      },
      +      "tool": {
      +        "const": "dealer_feed_validate"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "tool",
      +      "schema_version",
      +      "execution_mode",
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  6. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful context by naming the validation checks for required fields, freshness, and identity. However, it does not explain what happens when validation fails, whether partial errors are returned, or what the validation result looks like.

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

Conciseness5/5

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

The description is two sentences and front-loads the purpose before the example. The example is compact and immediately relevant to the feed-validation task.

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?

This is a validation tool with four parameters and no output schema. The description says what is validated but does not explain the result format, error reporting behavior, or the meaning of key parameters such as freshness thresholds and payment scope. It is therefore incomplete for correct invocation and interpretation.

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%, so the description must carry parameter meaning. It provides an example record showing product, dealer_id, and offer.unit_price, but it does not explain as_of, freshness_max_age_seconds, payment_scope, or how product may be a string or object.

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

Purpose4/5

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

The description states a specific verb and resource: 'Validate a dealer price feed'. It also names the validation dimensions: required fields, freshness, and identity. It does not explicitly differentiate this tool from similarly named dealer pricing or offer-check siblings, so it is clear but lacks sibling routing.

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?

The description implies this is used for validating dealer feed payloads, but it does not state when to use it versus alternatives such as fair_offer_check or get_dealer_prices. There are no exclusions, prerequisites, or workflow placement guidance.

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