Date facts
date_infoCalendar facts for a date: day of the week, ISO week number, quarter, day of year, leap year, weekend. Use for "what day is", week numbers and fiscal quarters. First 25 calls per day are free, then $0.001 per call (x402).
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": {
"date": "<date>"
},
"name": "date_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| quarter | Yes | ||
| weekday | Yes | ||
| iso_week | Yes | ||
| iso_year | No | ||
| is_weekend | Yes | ||
| day_of_year | Yes | ||
| days_in_year | No | ||
| is_leap_year | Yes | ||
| unix_seconds | No | ||
| days_in_month | No | ||
| weekday_number | No | ISO: Monday=1 … Sunday=7 | |
| days_remaining_in_year | No |