{"id":"iso-date-compare","version":"1.0.0","description":"Compare two YYYY-MM-DD calendar dates and return -1, 0, or 1.","supported_operations":["iso date compare","compare two dates","date ordering"],"unsupported_operations":["locale collation","datetime comparison","timezones"],"semantics":["a and b are strict YYYY-MM-DD proleptic Gregorian UTC calendar dates with year 0001-9999.","Comparison is numeric on the civil day serial, not lexicographic on the string (both agree for zero-padded YYYY-MM-DD, but lexicographic is not the defined rule).","Returns -1 if a is before b, 0 if equal, 1 if a is after b."],"limits":{"year_min":1,"year_max":9999},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["a","b"],"properties":{"a":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"b":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["comparison"],"properties":{"comparison":{"type":"integer","enum":[-1,0,1]}}},"examples":[{"input":{"a":"2026-01-01","b":"2026-01-02"},"output":{"comparison":-1}},{"input":{"a":"2026-01-02","b":"2026-01-02"},"output":{"comparison":0}}],"execute_url":"/v1/tools/iso-date-compare/versions/1.0.0/execute"}