Queue staffing (Erlang C)
erlang_staffingFor call center, contact center, phone or chat staffing questions with a service level target, such as 80% answered within 20 seconds. Works out agents needed on a live queue to answer a target share of contacts within a target time, using Erlang C. Give contacts per hour for the interval being staffed (usually the busiest hour) and handle time in seconds. Returns agents needed, the service level at that number and at one fewer, chance of waiting, occupancy, and people to schedule after shrinkage. Use required_fte for case or ticket work with no answer-time target.
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": {
"contacts_per_hour": "<contacts_per_hour>",
"handle_time_seconds": "<handle_time_seconds>"
},
"name": "erlang_staffing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shrinkage | No | Share of paid time agents are off the queue. Converts agents to people scheduled. Default 0.3. | |
| service_level | No | Share of contacts to answer within the target time. Default 0.8. | |
| contacts_per_hour | Yes | Contacts arriving per hour in the interval being staffed. | |
| handle_time_seconds | Yes | Average handle time in seconds: talk plus after-contact work. | |
| answer_within_seconds | No | Target answer time in seconds. Default 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| steps | Yes | ||
| agents | Yes | ||
| answer | Yes | ||
| engine | Yes | ||
| inputs | Yes | ||
| occupancy | Yes | ||
| people_to_schedule | Yes | ||
| offered_load_erlangs | Yes | ||
| probability_of_waiting | Yes | ||
| service_level_at_agents | Yes | ||
| service_level_one_fewer | Yes |