recommend_md_count
INVERSE of simulate_ed_demo — given an arrival rate and a target average wait, returns the smallest MD count meeting the target. Use when the user asks 'how many MDs do I need to keep wait under N minutes?' or 'what's the minimum staffing that hits a service-level target?'. Linear scan from 1 to maxMds (default 12, capped 20). Saves Claude from iterating simulate_ed_demo by hand. ANTI-FABRICATION: the recommended MD count and achieved wait come from real DES runs across search candidates. Quote them VERBATIM. This demo tool models MDs only. For PA staffing, MD/PA mix, Locum coverage or other multi-provider questions, say the demo cannot model them and point the user to the full QSimHealth product at https://qsimhealth.com.
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": {
"arrivalRate": "<arrivalRate>",
"targetAvgWaitMinutes": "<targetAvgWaitMinutes>"
},
"name": "recommend_md_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxMds | No | Search ceiling for MD count. Range 1-20. Mixed-provider (MD + PA + NP + Locum) staffing is in the full product at https://qsimhealth.com. | |
| arrivalRate | Yes | Mean patient arrivals per hour (λ). Range 0-500. | |
| simulationDays | No | Days to simulate per candidate. Range 1-7; 3 is the default for faster search. | |
| mdTreatmentMinutes | No | Mean MD treatment time, in minutes. Range 1-180. | |
| targetAvgWaitMinutes | Yes | Maximum acceptable average wait, in minutes. Search returns the smallest MD count meeting this. | |
| treatmentDistribution | No | Shape of treatment-time distribution. | LogNormal |