Month calendar
get_calendarA month as a grid of ISO weeks (Monday first) with ISO week numbers; with a country, its weekend days and public holidays are marked and the business days of the month are counted.
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": {
"year": "<year>",
"month": "<month>"
},
"name": "get_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Four-digit year (1900–2100; with a country, a year that has holiday data) | |
| month | Yes | Month number, 1–12 | |
| country | No | Mark this country's weekend and public holidays (ISO 3166-1 alpha-2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| month | Yes | ||
| notes | Yes | Caveats and conventions that apply to this response. | |
| weeks | Yes | ||
| source | Yes | Where the data or the algorithm comes from. | |
| country | Yes | ||
| weekend | Yes | ||
| holidays | Yes | ||
| dataYears | Yes | ||
| monthName | Yes | ||
| sourceUrl | Yes | ||
| weekStart | Yes | ||
| countryName | Yes | ||
| daysInMonth | Yes | ||
| lastUpdated | Yes | ||
| businessDays | Yes |