VREME
🔍

Validate Date

Category: Utility Tools

DATE VALIDATOR: Validate if a date is valid (e.g., catch Feb 30, Month 13). Returns detailed errors and smart suggestions for fixes. Use this when you're about to generate a date and want to verify it's valid, or when user provides a potentially invalid date. Checks leap years, month boundaries, etc. Fast: <5ms.

Parameters

yearnumberRequired

Year (e.g., 2024)

monthnumberRequired

Month (1-12)

daynumberRequired

Day (1-31)

Returns

valid:Boolean
iso_date:ISO date if valid
errors:Array of error messages
suggestions:Array of suggested fixes
metadata:Day of week, day of year, week number, is_leap_year

Example

validate_date(year=2024, month=2, day=30)

Try It Now

This tool is available in the Vreme MCP server. Install via:

npx -y @vreme/temporal-mcp

Or add to your Claude Desktop, VS Code, Continue, or Cline configuration. See installation guide.