Change the HR settings
Sets the work calendar: working days, hours per day, leave year, time zone, and one location's public holidays for a year.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Add Hamburg's public holidays for the rest of the year: Reformation Day and the two Christmas days.
Your agent callshr_save_settings$0.001 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"holidays": {
"year": 2026,
"location": "Hamburg",
"days": [
{
"date": "2026-10-03",
"name": "German Unity Day"
},
{
"date": "2026-10-31",
"name": "Reformation Day"
},
{
"date": "2026-12-25",
"name": "Christmas Day"
},
{
"date": "2026-12-26",
"name": "Second Christmas Day"
}
]
}
}Use it when
Before the first leave request, or when holidays for a new year are known.
What it does
Set the work calendar. working_days: ISO weekday numbers, 1 (Monday) to 7 (Sunday); default 1 to 5. hours_per_day: default 8, used to show leave in hours. leave_year_start: the month the leave year starts, default 1. time_zone: an IANA name; null follows the invoice profile's or the calendar's. holidays: one location's public holidays for one calendar year, replacing that location's list for that year (no location: everyone's; an empty list clears it). Leave already requested keeps the days it was counted with.
What comes back
The settings as they now are, in the shape hr_get_settings returns. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
working_days | array of integers | 1 to 7 items. |
hours_per_day | number or string | Up to 6 characters. |
leave_year_start | integer | 1 to 12. |
time_zone | string or null | Up to 64 characters. |
holidays | object | |
holidays.yearRequired | integer | The calendar year the holidays are in. 2,000 to 2,100. |
holidays.location | string | Blank or left out: everyone. Up to 120 characters. |
holidays.daysRequired | array of objects | Up to 60 items. |
holidays.days[].dateRequired | string | YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
holidays.days[].nameRequired | string | 1 to 120 characters. |
The call
Over MCP, call hr_save_settings on https://api.conecto.chat/mcp/hr. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/hr_save_settings \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"holidays":{"year":2026,"location":"Hamburg","days":[{"date":"2026-10-03","name":"German Unity Day"},{"date":"2026-10-31","name":"Reformation Day"},{"date":"2026-12-25","name":"Christmas Day"},{"date":"2026-12-26","name":"Second Christmas Day"}]}}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | Nothing to change was given, the time zone is unknown, or a holiday is not valid. | Send a setting or holidays; zones like Europe/Berlin. |
conflict409 | Another call changed the same holidays at the same moment. | Call again. |
More HR tools
All 23 tools- Add or change people
hr_save_peopleAdds people or changes them, up to 100 at a time, all or none: names, emails, job, department, location, manager, dates and allowances.$1.00 per person added - List people
hr_list_peoplePeople by last name, everyone who hasn't left by default, filtered by status, department, location, manager, type or words.Free* - Get a person
hr_get_personEverything about one person: details, leave balances for a year, pending and upcoming leave, documents, open tasks and direct reports.Free* - Delete a person
hr_delete_personErases a person for good with their leave, tasks and document records; their files stay in the store.Free - Read the HR settings
hr_get_settingsThe working days, hours, leave year, time zone, leave types, public holidays and checklists.Free* - Add or change a leave type
hr_save_leave_typeAdds or changes a kind of time off: annual days, monthly or yearly accrual, carry-over, paid and tracked.$0.001 a call - Adjust a leave balance
hr_adjust_leaveAdds days to, or takes days off, one person's balance of a tracked leave type, with the reason.$0.01 a call - Request time off
hr_request_leaveAsks for time off for someone, counting working days less holidays; it waits for a decision unless approved at once.$0.01 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md