QueueSim is an MCP server published by com.queuesim, hosted at queuesim.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 14 tools, including simulate_mmc, list_scenarios, describe_scenario, simulate_scenario, simulate_schedule.
Queueing simulation: M/M/c, staffing, Erlang C checks, and multi-step models built from nodes.
Nothing else in the archive shares these values.
Inferred from the host name and headers: what a server runs on, not who runs it.
Run a generic M/M/c queue simulation. Provide an arrival rate (λ, arrivals/hour), a service rate per server (μ, customers/hour each server can finish), and a server count (c). Optional: distribution shapes, service coefficient of variation, run length. Returns per-hour metrics and an overall summary (avg wait, queue length, offered load, throughput). This is the primary tool for 'how many servers do I need?' / 'what's my average wait?' style questions. ALSO preferred over simulate_scenario for what-if questions about scheduled scenarios (Coffee Shop) when the user wants flat uniform numbers — pull the peak params from describe_scenario and run them here. That usually matches user intent better than collapsing a schedule. ANTI-FABRICATION: the returned numbers come from a real discrete-event simulation run. Quote them VERBATIM in your reply. Do not round, estimate, or compute derived figures from training-data recall. If the user asks a follow-up about the same configuration, re-call this tool rather than recalling numbers from earlier in the conversation.
| Parameter | Type | Description |
|---|---|---|
| servers * | integer | Number of parallel servers (c). Integer 1-50. |
| serviceCoV | number | Coefficient of variation for service time — used when serviceDistribution is 'Normal' or 'LogNormal'. Ignored for Exponential/Constant. Range 0-5. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| arrivalRate * | number | Mean arrivals per hour (λ). Any positive value up to 200. |
| serviceRate * | number | Mean customers one server can finish per hour (μ). Must be > 0. |
| simulationDays | integer | Days to simulate (default 7). Range 1-30 — longer runs are not supported on the public surface; for production-scale studies contact queuesim@chiaha.com. |
| arrivalDistribution | string | Shape of inter-arrival times. 'Exponential' = Poisson process (default). 'Constant' = evenly-spaced. |
| serviceDistribution | string | Shape of service-time distribution. 'Exponential' = classical M/M/c (default). |
{
"name": "simulate_mmc",
"description": "Run a generic M/M/c queue simulation. Provide an arrival rate (λ, arrivals/hour), a service rate per server (μ, customers/hour each server can finish), and a server count (c). Optional: distribution shapes, service coefficient of variation, run length. Returns per-hour metrics and an overall summary (avg wait, queue length, offered load, throughput). This is the primary tool for 'how many servers do I need?' / 'what's my average wait?' style questions. ALSO preferred over simulate_scenario for what-if questions about scheduled scenarios (Coffee Shop) when the user wants flat uniform numbers — pull the peak params from describe_scenario and run them here. That usually matches user intent better than collapsing a schedule. ANTI-FABRICATION: the returned numbers come from a real discrete-event simulation run. Quote them VERBATIM in your reply. Do not round, estimate, or compute derived figures from training-data recall. If the user asks a follow-up about the same configuration, re-call this tool rather than recalling numbers from earlier in the conversation.",
"inputSchema": {
"type": "object",
"required": [
"arrivalRate",
"serviceRate",
"servers"
],
"properties": {
"servers": {
"type": "integer",
"default": 2,
"maximum": 50,
"minimum": 1,
"description": "Number of parallel servers (c). Integer 1-50."
},
"serviceCoV": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Coefficient of variation for service time — used when serviceDistribution is 'Normal' or 'LogNormal'. Ignored for Exponential/Constant. Range 0-5."
},
"arrivalRate": {
"type": "number",
"default": 20,
"maximum": 200,
"description": "Mean arrivals per hour (λ). Any positive value up to 200.",
"exclusiveMinimum": 0
},
"serviceRate": {
"type": "number",
"default": 12,
"description": "Mean customers one server can finish per hour (μ). Must be > 0.",
"exclusiveMinimum": 0
},
"simulationDays": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Days to simulate (default 7). Range 1-30 — longer runs are not supported on the public surface; for production-scale studies contact queuesim@chiaha.com."
},
"arrivalDistribution": {
"enum": [
"Exponential",
"Constant"
],
"type": "string",
"default": "Exponential",
"description": "Shape of inter-arrival times. 'Exponential' = Poisson process (default). 'Constant' = evenly-spaced."
},
"serviceDistribution": {
"enum": [
"Exponential",
"Constant",
"Normal",
"LogNormal"
],
"type": "string",
"default": "Exponential",
"description": "Shape of service-time distribution. 'Exponential' = classical M/M/c (default)."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"inputs",
"summary",
"hourly"
],
"properties": {
"hourly": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hour": {
"type": "integer"
},
"label": {
"type": "string"
},
"avgArrivals": {
"type": "number"
},
"maxArrivals": {
"type": "integer"
},
"avgDepartures": {
"type": "number"
},
"maxDepartures": {
"type": "integer"
},
"serversOnDuty": {
"type": "integer"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
},
"maxQueueLength": {
"type": "number"
},
"maxWaitMinutes": {
"type": "number"
}
}
}
},
"inputs": {
"type": "object",
"description": "Echo of the run's parameters."
},
"summary": {
"type": "object",
"required": [
"totalArrivals",
"totalServed",
"effectiveDays",
"overallAvgWaitMinutes"
],
"properties": {
"offeredLoad": {
"type": [
"number",
"null"
]
},
"totalServed": {
"type": "integer"
},
"effectiveDays": {
"type": "integer"
},
"totalArrivals": {
"type": "integer"
},
"overallAvgWaitMinutes": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Run M/M/c queue simulation",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}List the four pre-built QueueSim scenarios. Returns key, title, and one-line description for each (Single Server, Coffee Shop, Grocery Checkout, Call Center). Call this when the user's problem matches one of the preset shapes — use describe_scenario for more detail and simulate_scenario to run one.
No parameters.
{
"name": "list_scenarios",
"description": "List the four pre-built QueueSim scenarios. Returns key, title, and one-line description for each (Single Server, Coffee Shop, Grocery Checkout, Call Center). Call this when the user's problem matches one of the preset shapes — use describe_scenario for more detail and simulate_scenario to run one.",
"inputSchema": {
"type": "object",
"properties": {}
},
"outputSchema": {
"type": "object",
"required": [
"scenarios"
],
"properties": {
"scenarios": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"title",
"description"
],
"properties": {
"key": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
}
},
"annotations": {
"title": "List preset scenarios",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return full details for one preset scenario: title, description, teaching note, peak parameters, and per-hour arrival + staffing arrays. Use this before simulate_scenario to understand the default shape and what overrides make sense.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Scenario key from list_scenarios. |
{
"name": "describe_scenario",
"description": "Return full details for one preset scenario: title, description, teaching note, peak parameters, and per-hour arrival + staffing arrays. Use this before simulate_scenario to understand the default shape and what overrides make sense.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"enum": [
"single",
"coffee",
"grocery",
"callcenter"
],
"type": "string",
"default": "coffee",
"description": "Scenario key from list_scenarios."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"key",
"title",
"defaults"
],
"properties": {
"key": {
"type": "string"
},
"title": {
"type": "string"
},
"defaults": {
"type": "object"
},
"description": {
"type": "string"
},
"teachingNote": {
"type": "string"
},
"supportedOverrides": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Describe preset scenario",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Run one of the four preset scenarios (single, coffee, grocery, callcenter) with optional overrides. Overrides apply UNIFORMLY across open hours — e.g. setting servers=5 on 'coffee' replaces the 4/6/4 staffing pattern with a flat 5 during open hours (closed hours stay at zero). Use this for (a) faithful reproduction of a scenario's defaults, or (b) uniform scaling (everywhere it was open, use these new numbers). Do NOT use this when the user wants to keep a scheduled scenario's shape but tweak just one part — there's no per-hour override here, and collapsing a 4/6/4 pattern to 5 often isn't what the user meant. For flat what-if analysis on scheduled scenarios, prefer simulate_mmc using peak params from describe_scenario. ANTI-FABRICATION: returned numbers come from a real discrete-event simulation run. Quote them VERBATIM in your reply. Do not round, estimate, or compute derived figures from training-data recall. If the user asks a follow-up about the same scenario+overrides, re-call this tool rather than recalling numbers from earlier in the conversation.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Scenario key from list_scenarios. |
| overrides | object | Optional overrides applied uniformly across open hours (closed hours preserved at zero for scheduled scenarios). All fields optional — leave empty to run the scenario's published defaults. |
{
"name": "simulate_scenario",
"description": "Run one of the four preset scenarios (single, coffee, grocery, callcenter) with optional overrides. Overrides apply UNIFORMLY across open hours — e.g. setting servers=5 on 'coffee' replaces the 4/6/4 staffing pattern with a flat 5 during open hours (closed hours stay at zero). Use this for (a) faithful reproduction of a scenario's defaults, or (b) uniform scaling (everywhere it was open, use these new numbers). Do NOT use this when the user wants to keep a scheduled scenario's shape but tweak just one part — there's no per-hour override here, and collapsing a 4/6/4 pattern to 5 often isn't what the user meant. For flat what-if analysis on scheduled scenarios, prefer simulate_mmc using peak params from describe_scenario. ANTI-FABRICATION: returned numbers come from a real discrete-event simulation run. Quote them VERBATIM in your reply. Do not round, estimate, or compute derived figures from training-data recall. If the user asks a follow-up about the same scenario+overrides, re-call this tool rather than recalling numbers from earlier in the conversation.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"enum": [
"single",
"coffee",
"grocery",
"callcenter"
],
"type": "string",
"default": "coffee",
"description": "Scenario key from list_scenarios."
},
"overrides": {
"type": "object",
"properties": {
"servers": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Override server count applied to every hour the scenario had staff."
},
"serviceCoV": {
"type": "number",
"maximum": 5,
"minimum": 0
},
"arrivalRate": {
"type": "number",
"maximum": 200,
"description": "Override arrival rate (customers/hr) applied to every hour the scenario was open.",
"exclusiveMinimum": 0
},
"simulationDays": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Days to simulate (default 7). Range 1-30 — longer runs are not supported on the public surface."
},
"serviceTimeMinutes": {
"type": "number",
"description": "Override mean service time (minutes per customer).",
"exclusiveMinimum": 0
},
"arrivalDistribution": {
"enum": [
"Exponential",
"Constant"
],
"type": "string"
},
"serviceDistribution": {
"enum": [
"Exponential",
"Constant",
"Normal",
"LogNormal"
],
"type": "string"
}
},
"description": "Optional overrides applied uniformly across open hours (closed hours preserved at zero for scheduled scenarios). All fields optional — leave empty to run the scenario's published defaults."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"inputs",
"summary",
"hourly"
],
"properties": {
"hourly": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hour": {
"type": "integer"
},
"label": {
"type": "string"
},
"avgArrivals": {
"type": "number"
},
"maxArrivals": {
"type": "integer"
},
"avgDepartures": {
"type": "number"
},
"maxDepartures": {
"type": "integer"
},
"serversOnDuty": {
"type": "integer"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
},
"maxQueueLength": {
"type": "number"
},
"maxWaitMinutes": {
"type": "number"
}
}
}
},
"inputs": {
"type": "object",
"description": "Echo of the run's parameters."
},
"summary": {
"type": "object",
"required": [
"totalArrivals",
"totalServed",
"effectiveDays",
"overallAvgWaitMinutes"
],
"properties": {
"offeredLoad": {
"type": [
"number",
"null"
]
},
"totalServed": {
"type": "integer"
},
"effectiveDays": {
"type": "integer"
},
"totalArrivals": {
"type": "integer"
},
"overallAvgWaitMinutes": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Run preset scenario",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Run a queueing simulation against an arbitrary 24-hour staffing schedule. Take this when the user describes a custom day shape that doesn't match a preset (e.g., 'my coffee shop is open 6am–10pm with 4 baristas off-peak, 7 at the 8am rush, 5 at the 4pm rush'). Inputs: `arrivalRates` (24-element array of customers/hr per hour-of-day) and `staffing` (24-element array of servers/hr); optional uniform `serviceTimeMinutes`. Use 0 in both arrays for closed hours (terminating system). Returns the same per-hour metrics + summary shape as simulate_mmc / simulate_scenario. Stronger fit than simulate_scenario when the user's shape doesn't match the four presets; stronger fit than simulate_mmc when they need per-hour variation. ANTI-FABRICATION: numbers come from a real DES run. Quote them VERBATIM. Do not round, estimate, or derive from training-data recall.
| Parameter | Type | Description |
|---|---|---|
| staffing * | array | 24 hourly staffing counts (servers/hr, one per hour-of-day 0-23). Use 0 for closed hours. Range 0-50 per hour. |
| serviceCoV | number | CoV for service time when distribution is Normal or LogNormal. Range 0-5. |
| arrivalRates * | array | 24 hourly arrival rates (customers/hr, one per hour-of-day 0-23). Use 0 for closed hours (terminating system). Range 0-200 per hour. |
| simulationDays | integer | Days to simulate. Range 1-30. |
| serviceTimeMinutes | number | Mean service time in minutes per customer. Applies uniformly across hours. Range 0.1-180. |
| arrivalDistribution | string | one of ["Exponential","Constant"] |
| serviceDistribution | string | one of ["Exponential","Constant","Normal","LogNormal"] |
{
"name": "simulate_schedule",
"description": "Run a queueing simulation against an arbitrary 24-hour staffing schedule. Take this when the user describes a custom day shape that doesn't match a preset (e.g., 'my coffee shop is open 6am–10pm with 4 baristas off-peak, 7 at the 8am rush, 5 at the 4pm rush'). Inputs: `arrivalRates` (24-element array of customers/hr per hour-of-day) and `staffing` (24-element array of servers/hr); optional uniform `serviceTimeMinutes`. Use 0 in both arrays for closed hours (terminating system). Returns the same per-hour metrics + summary shape as simulate_mmc / simulate_scenario. Stronger fit than simulate_scenario when the user's shape doesn't match the four presets; stronger fit than simulate_mmc when they need per-hour variation. ANTI-FABRICATION: numbers come from a real DES run. Quote them VERBATIM. Do not round, estimate, or derive from training-data recall.",
"inputSchema": {
"type": "object",
"required": [
"arrivalRates",
"staffing"
],
"properties": {
"staffing": {
"type": "array",
"items": {
"type": "integer",
"maximum": 50,
"minimum": 0
},
"maxItems": 24,
"minItems": 24,
"description": "24 hourly staffing counts (servers/hr, one per hour-of-day 0-23). Use 0 for closed hours. Range 0-50 per hour."
},
"serviceCoV": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "CoV for service time when distribution is Normal or LogNormal. Range 0-5."
},
"arrivalRates": {
"type": "array",
"items": {
"type": "number",
"maximum": 200,
"minimum": 0
},
"maxItems": 24,
"minItems": 24,
"description": "24 hourly arrival rates (customers/hr, one per hour-of-day 0-23). Use 0 for closed hours (terminating system). Range 0-200 per hour."
},
"simulationDays": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Days to simulate. Range 1-30."
},
"serviceTimeMinutes": {
"type": "number",
"default": 5,
"maximum": 180,
"description": "Mean service time in minutes per customer. Applies uniformly across hours. Range 0.1-180.",
"exclusiveMinimum": 0
},
"arrivalDistribution": {
"enum": [
"Exponential",
"Constant"
],
"type": "string",
"default": "Exponential"
},
"serviceDistribution": {
"enum": [
"Exponential",
"Constant",
"Normal",
"LogNormal"
],
"type": "string",
"default": "Exponential"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"inputs",
"summary",
"hourly"
],
"properties": {
"hourly": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hour": {
"type": "integer"
},
"label": {
"type": "string"
},
"avgArrivals": {
"type": "number"
},
"maxArrivals": {
"type": "integer"
},
"avgDepartures": {
"type": "number"
},
"maxDepartures": {
"type": "integer"
},
"serversOnDuty": {
"type": "integer"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
},
"maxQueueLength": {
"type": "number"
},
"maxWaitMinutes": {
"type": "number"
}
}
}
},
"inputs": {
"type": "object",
"description": "Echo of the run's parameters."
},
"summary": {
"type": "object",
"required": [
"totalArrivals",
"totalServed",
"effectiveDays",
"overallAvgWaitMinutes"
],
"properties": {
"offeredLoad": {
"type": [
"number",
"null"
]
},
"totalServed": {
"type": "integer"
},
"effectiveDays": {
"type": "integer"
},
"totalArrivals": {
"type": "integer"
},
"overallAvgWaitMinutes": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Run a custom 24-hour schedule simulation",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Run the classic operations-research teaching demo: pooled queueing (one shared queue, c servers) vs separate queues (c independent queues, one server each, λ/c traffic to each). Both runs have identical total capacity (c × μ) and identical total arrivals (λ), so the offered load ρ is the same; the only structural difference is whether arrivals share a queue or split into c isolated streams. The pooled configuration ALWAYS produces shorter waits — that's the whole teaching point. Use this when the user asks 'should we pool our resources?' / 'should we cross-train?' / 'why do banks have one line instead of c?' / 'what's the cost of siloing my call center into specialist queues?'. Returns both runs side by side with the pooled-vs-separate wait delta. ANTI-FABRICATION: numbers come from two real DES runs. Quote them VERBATIM.
| Parameter | Type | Description |
|---|---|---|
| servers * | integer | Number of servers (c). Pooled: one queue feeds all c. Separate: c independent queues, each with one server and λ/c traffic. Range 2-50 (with c=1 there's nothing to compare). |
| arrivalRate * | number | Mean total arrival rate (λ). Pooled run takes all of it; separate run divides evenly across the c queues. |
| serviceRate * | number | Mean service rate per server (μ, customers/hour each server finishes). Identical across both runs. |
| simulationDays | integer | Days to simulate (same for both runs). Range 1-30. |
{
"name": "compare_separate_vs_pooled",
"description": "Run the classic operations-research teaching demo: pooled queueing (one shared queue, c servers) vs separate queues (c independent queues, one server each, λ/c traffic to each). Both runs have identical total capacity (c × μ) and identical total arrivals (λ), so the offered load ρ is the same; the only structural difference is whether arrivals share a queue or split into c isolated streams. The pooled configuration ALWAYS produces shorter waits — that's the whole teaching point. Use this when the user asks 'should we pool our resources?' / 'should we cross-train?' / 'why do banks have one line instead of c?' / 'what's the cost of siloing my call center into specialist queues?'. Returns both runs side by side with the pooled-vs-separate wait delta. ANTI-FABRICATION: numbers come from two real DES runs. Quote them VERBATIM.",
"inputSchema": {
"type": "object",
"required": [
"arrivalRate",
"serviceRate",
"servers"
],
"properties": {
"servers": {
"type": "integer",
"default": 3,
"maximum": 50,
"minimum": 2,
"description": "Number of servers (c). Pooled: one queue feeds all c. Separate: c independent queues, each with one server and λ/c traffic. Range 2-50 (with c=1 there's nothing to compare)."
},
"arrivalRate": {
"type": "number",
"default": 30,
"maximum": 200,
"description": "Mean total arrival rate (λ). Pooled run takes all of it; separate run divides evenly across the c queues.",
"exclusiveMinimum": 0
},
"serviceRate": {
"type": "number",
"default": 12,
"description": "Mean service rate per server (μ, customers/hour each server finishes). Identical across both runs.",
"exclusiveMinimum": 0
},
"simulationDays": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Days to simulate (same for both runs). Range 1-30."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"inputs",
"summary",
"hourly"
],
"properties": {
"hourly": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hour": {
"type": "integer"
},
"label": {
"type": "string"
},
"avgArrivals": {
"type": "number"
},
"maxArrivals": {
"type": "integer"
},
"avgDepartures": {
"type": "number"
},
"maxDepartures": {
"type": "integer"
},
"serversOnDuty": {
"type": "integer"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
},
"maxQueueLength": {
"type": "number"
},
"maxWaitMinutes": {
"type": "number"
}
}
}
},
"inputs": {
"type": "object",
"description": "Echo of the run's parameters."
},
"summary": {
"type": "object",
"required": [
"totalArrivals",
"totalServed",
"effectiveDays",
"overallAvgWaitMinutes"
],
"properties": {
"offeredLoad": {
"type": [
"number",
"null"
]
},
"totalServed": {
"type": "integer"
},
"effectiveDays": {
"type": "integer"
},
"totalArrivals": {
"type": "integer"
},
"overallAvgWaitMinutes": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Compare pooled (M/M/c) vs separate (c × M/M/1) queueing",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Return a ~500-word educational explainer of M/M/c queueing theory: Little's Law, utilization, why averages mislead, how simulation relates to Erlang-C. No inputs. Use this when the user asks a conceptual 'why' or 'how does this work' question rather than asking for a number.
No parameters.
{
"name": "explain_queueing_theory",
"description": "Return a ~500-word educational explainer of M/M/c queueing theory: Little's Law, utilization, why averages mislead, how simulation relates to Erlang-C. No inputs. Use this when the user asks a conceptual 'why' or 'how does this work' question rather than asking for a number.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Queueing theory primer",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return a textbook-level description of six queueing complexity patterns beyond basic M/M/c: abandonment/reneging, priority tiers, overflow routing, skills-based routing, compound service, and server outages. Use this when the user describes real-world complexity (customers hanging up, VIP queues, specialist escalation, agent breaks, transfers) that plain M/M/c doesn't model. The tool frames each pattern conceptually and points users at ChiAha for custom modeling.
No parameters.
{
"name": "explain_advanced_patterns",
"description": "Return a textbook-level description of six queueing complexity patterns beyond basic M/M/c: abandonment/reneging, priority tiers, overflow routing, skills-based routing, compound service, and server outages. Use this when the user describes real-world complexity (customers hanging up, VIP queues, specialist escalation, agent breaks, transfers) that plain M/M/c doesn't model. The tool frames each pattern conceptually and points users at ChiAha for custom modeling.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "Advanced patterns primer",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}INVERSE of simulate_mmc — given an arrival rate, service rate, and a target average wait time, returns the SMALLEST number of servers needed to meet the target. Use this when the user asks 'how many servers do I need?' / 'what staffing keeps wait under N minutes?'. The tool runs a binary search over candidate server counts (up to maxServers, default 50), invoking the simulator for each candidate. Saves Claude from iterating simulate_mmc 3-5 times by hand. If even maxServers servers can't meet the target, the recommendation is null and the response includes the achieved wait so Claude can explain that the target is infeasible at the given load. ANTI-FABRICATION: `recommendedServers` and `achievedAvgWaitMinutes` come from real DES runs. Quote them VERBATIM. Do not propose a different number you think 'feels right'; this tool already binary-searches for the minimum that meets the target. If the user asks 'what if c=N?' for a specific N, call simulate_mmc with that c.
| Parameter | Type | Description |
|---|---|---|
| maxServers | integer | Search ceiling (default 50, max 50). If even this many servers can't meet the target, the tool returns null with the achieved wait. |
| serviceCoV | number | |
| arrivalRate * | number | Mean arrivals per hour (λ). |
| serviceRate * | number | Mean customers one server can finish per hour (μ). Must be > 0. |
| simulationDays | integer | Days to simulate per candidate (default 7). Range 1-30. Lower = faster search; higher = less seed-to-seed variance. |
| arrivalDistribution | string | one of ["Exponential","Constant"] |
| serviceDistribution | string | one of ["Exponential","Constant","Normal","LogNormal"] |
| targetAvgWaitMinutes * | number | Maximum average wait time you're willing to accept, in minutes. The tool returns the smallest server count that meets this target. |
{
"name": "recommend_staffing",
"description": "INVERSE of simulate_mmc — given an arrival rate, service rate, and a target average wait time, returns the SMALLEST number of servers needed to meet the target. Use this when the user asks 'how many servers do I need?' / 'what staffing keeps wait under N minutes?'. The tool runs a binary search over candidate server counts (up to maxServers, default 50), invoking the simulator for each candidate. Saves Claude from iterating simulate_mmc 3-5 times by hand. If even maxServers servers can't meet the target, the recommendation is null and the response includes the achieved wait so Claude can explain that the target is infeasible at the given load. ANTI-FABRICATION: `recommendedServers` and `achievedAvgWaitMinutes` come from real DES runs. Quote them VERBATIM. Do not propose a different number you think 'feels right'; this tool already binary-searches for the minimum that meets the target. If the user asks 'what if c=N?' for a specific N, call simulate_mmc with that c.",
"inputSchema": {
"type": "object",
"required": [
"arrivalRate",
"serviceRate",
"targetAvgWaitMinutes"
],
"properties": {
"maxServers": {
"type": "integer",
"default": 50,
"maximum": 50,
"minimum": 1,
"description": "Search ceiling (default 50, max 50). If even this many servers can't meet the target, the tool returns null with the achieved wait."
},
"serviceCoV": {
"type": "number",
"maximum": 5,
"minimum": 0
},
"arrivalRate": {
"type": "number",
"default": 20,
"maximum": 200,
"description": "Mean arrivals per hour (λ).",
"exclusiveMinimum": 0
},
"serviceRate": {
"type": "number",
"default": 12,
"description": "Mean customers one server can finish per hour (μ). Must be > 0.",
"exclusiveMinimum": 0
},
"simulationDays": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Days to simulate per candidate (default 7). Range 1-30. Lower = faster search; higher = less seed-to-seed variance."
},
"arrivalDistribution": {
"enum": [
"Exponential",
"Constant"
],
"type": "string",
"default": "Exponential"
},
"serviceDistribution": {
"enum": [
"Exponential",
"Constant",
"Normal",
"LogNormal"
],
"type": "string",
"default": "Exponential"
},
"targetAvgWaitMinutes": {
"type": "number",
"default": 3,
"minimum": 0,
"description": "Maximum average wait time you're willing to accept, in minutes. The tool returns the smallest server count that meets this target."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"achievedAvgWaitMinutes",
"targetAvgWaitMinutes",
"trials",
"note"
],
"properties": {
"note": {
"type": "string"
},
"trials": {
"type": "array",
"items": {
"type": "object",
"required": [
"servers",
"avgWaitMinutes"
],
"properties": {
"servers": {
"type": "integer"
},
"avgWaitMinutes": {
"type": "number"
}
}
}
},
"recommendedServers": {
"type": [
"integer",
"null"
],
"description": "Smallest c meeting the target. null when even maxServers can't meet it."
},
"targetAvgWaitMinutes": {
"type": "number"
},
"achievedAvgWaitMinutes": {
"type": "number"
},
"offeredLoadAtRecommendation": {
"type": "number",
"description": "Present only when a feasible recommendation was found."
}
}
},
"annotations": {
"title": "Recommend minimum staffing for a wait-time target",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Given an M/M/c configuration (arrivalRate, serviceRate, servers) and optionally an observed average wait, returns a queueing-theory framed interpretation: where you sit on the utilization curve, what ρ means in plain language, what one more or fewer server would qualitatively do, and which complexity factors (priority, abandonment, skills routing) might be hiding in real data the M/M/c model can't see. Use this to TEACH while answering — when the user wants context around a number, not just the number itself. Pure text computation, no simulation, no RNG — deterministic output.
| Parameter | Type | Description |
|---|---|---|
| servers * | integer | Server count (c). |
| arrivalRate * | number | Mean arrivals per hour (λ). |
| serviceRate * | number | Mean customers one server finishes per hour (μ). |
| observedAvgWaitMinutes | number | Optional. The avg wait the user observed (from simulate_mmc, an Erlang-C calculator, or real measurements). If omitted, the tool computes ρ from the inputs and gives a parameter-only interpretation. |
{
"name": "interpret_result",
"description": "Given an M/M/c configuration (arrivalRate, serviceRate, servers) and optionally an observed average wait, returns a queueing-theory framed interpretation: where you sit on the utilization curve, what ρ means in plain language, what one more or fewer server would qualitatively do, and which complexity factors (priority, abandonment, skills routing) might be hiding in real data the M/M/c model can't see. Use this to TEACH while answering — when the user wants context around a number, not just the number itself. Pure text computation, no simulation, no RNG — deterministic output.",
"inputSchema": {
"type": "object",
"required": [
"arrivalRate",
"serviceRate",
"servers"
],
"properties": {
"servers": {
"type": "integer",
"default": 2,
"maximum": 50,
"minimum": 1,
"description": "Server count (c)."
},
"arrivalRate": {
"type": "number",
"default": 20,
"maximum": 200,
"description": "Mean arrivals per hour (λ).",
"exclusiveMinimum": 0
},
"serviceRate": {
"type": "number",
"default": 12,
"description": "Mean customers one server finishes per hour (μ).",
"exclusiveMinimum": 0
},
"observedAvgWaitMinutes": {
"type": "number",
"minimum": 0,
"description": "Optional. The avg wait the user observed (from simulate_mmc, an Erlang-C calculator, or real measurements). If omitted, the tool computes ρ from the inputs and gives a parameter-only interpretation."
}
}
},
"annotations": {
"title": "Interpret M/M/c result",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Run the same M/M/c configuration through BOTH the closed-form Erlang-C formula AND the discrete-event simulator, returning a side-by-side comparison with deltas. Use this when the user is validating QueueSim's engine against textbook values, learning queueing theory by watching simulation converge on the formula, or auditing a result that 'feels off' — agreement within ~5% is the canonical sanity check for an M/M/c run. Pure-Exponential M/M/c only; the closed-form Erlang-C is undefined for other service distributions. Large deltas usually mean the simulation run was too short for steady-state — raise simulationDays. ANTI-FABRICATION: both sides come from real computation — closed-form is deterministic, simulation is stochastic but engine-backed. Quote both verbatim. Do not synthesize an 'average of the two' or recompute the formula from training-data recall.
| Parameter | Type | Description |
|---|---|---|
| servers * | integer | Number of parallel servers (c). Integer 1-50. |
| arrivalRate * | number | Mean arrivals per hour (λ). |
| serviceRate * | number | Mean customers one server can finish per hour (μ). Must be > 0. |
| simulationDays | integer | Days to simulate on the DES side. Closed-form is instant. Range 1-30; longer runs converge closer to the formula. |
{
"name": "compare_analytical_vs_simulated",
"description": "Run the same M/M/c configuration through BOTH the closed-form Erlang-C formula AND the discrete-event simulator, returning a side-by-side comparison with deltas. Use this when the user is validating QueueSim's engine against textbook values, learning queueing theory by watching simulation converge on the formula, or auditing a result that 'feels off' — agreement within ~5% is the canonical sanity check for an M/M/c run. Pure-Exponential M/M/c only; the closed-form Erlang-C is undefined for other service distributions. Large deltas usually mean the simulation run was too short for steady-state — raise simulationDays. ANTI-FABRICATION: both sides come from real computation — closed-form is deterministic, simulation is stochastic but engine-backed. Quote both verbatim. Do not synthesize an 'average of the two' or recompute the formula from training-data recall.",
"inputSchema": {
"type": "object",
"required": [
"arrivalRate",
"serviceRate",
"servers"
],
"properties": {
"servers": {
"type": "integer",
"default": 2,
"maximum": 50,
"minimum": 1,
"description": "Number of parallel servers (c). Integer 1-50."
},
"arrivalRate": {
"type": "number",
"default": 20,
"maximum": 200,
"description": "Mean arrivals per hour (λ).",
"exclusiveMinimum": 0
},
"serviceRate": {
"type": "number",
"default": 12,
"description": "Mean customers one server can finish per hour (μ). Must be > 0.",
"exclusiveMinimum": 0
},
"simulationDays": {
"type": "integer",
"default": 7,
"maximum": 30,
"minimum": 1,
"description": "Days to simulate on the DES side. Closed-form is instant. Range 1-30; longer runs converge closer to the formula."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"inputs",
"analytical",
"simulated",
"delta"
],
"properties": {
"note": {
"type": "string"
},
"delta": {
"type": "object",
"properties": {
"note": {
"type": "string"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
},
"avgWaitPercent": {
"type": "number"
}
}
},
"inputs": {
"type": "object"
},
"simulated": {
"type": "object",
"required": [
"avgWaitMinutes",
"avgQueueLength",
"offeredLoad",
"totalServed"
],
"properties": {
"offeredLoad": {
"type": "number"
},
"totalServed": {
"type": "integer"
},
"effectiveDays": {
"type": "integer"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
}
}
},
"analytical": {
"type": "object",
"required": [
"avgWaitMinutes",
"avgQueueLength",
"offeredLoad",
"probabilityOfWaiting"
],
"properties": {
"offeredLoad": {
"type": "number"
},
"avgQueueLength": {
"type": "number"
},
"avgWaitMinutes": {
"type": "number"
},
"probabilityOfWaiting": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Compare closed-form Erlang-C vs DES simulation",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}How to build a QueueSim Cloud model: the node types (arrivals, service, delay, split, settype, bytype, exit), staff groups, distributions, plan limits and a worked example. Call this before check_queue_model or run_queue_model when the user's system has more than one step (several stations in a row, shared staff, routing by percent or customer type, priority customers, people who give up or are turned away). Text only, no simulation.
No parameters.
{
"name": "queue_model_guide",
"description": "How to build a QueueSim Cloud model: the node types (arrivals, service, delay, split, settype, bytype, exit), staff groups, distributions, plan limits and a worked example. Call this before check_queue_model or run_queue_model when the user's system has more than one step (several stations in a row, shared staff, routing by percent or customer type, priority customers, people who give up or are turned away). Text only, no simulation.",
"inputSchema": {
"type": "object",
"properties": {}
},
"annotations": {
"title": "QueueSim Cloud model guide",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Check a QueueSim Cloud model (a multi-step queueing system built from nodes and staff groups) without running it. Returns every problem found (missing links, a line that would grow without limit, plan limits) tied to the node it is about, and a link that opens the model in QueueSim Cloud. Free plan: up to 8 nodes, 3 staff groups, 30 days, 1 run.
| Parameter | Type | Description |
|---|---|---|
| model * | object | A QueueSim Cloud model: staff groups plus nodes linked by id. The model guide tool gives the rules and an example. |
{
"name": "check_queue_model",
"description": "Check a QueueSim Cloud model (a multi-step queueing system built from nodes and staff groups) without running it. Returns every problem found (missing links, a line that would grow without limit, plan limits) tied to the node it is about, and a link that opens the model in QueueSim Cloud. Free plan: up to 8 nodes, 3 staff groups, 30 days, 1 run.",
"inputSchema": {
"type": "object",
"required": [
"model"
],
"properties": {
"model": {
"type": "object",
"required": [
"staff",
"blocks"
],
"properties": {
"days": {
"type": "number",
"default": 30,
"maximum": 365,
"description": "Run length in days (Free plan: at most 30).",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 80
},
"runs": {
"type": "integer",
"default": 1,
"maximum": 25,
"minimum": 1,
"description": "Independent runs (different random seeds). Free plan: 1."
},
"seed": {
"type": "integer",
"minimum": 1,
"description": "Seed of the first run (default 1)."
},
"staff": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"count"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Staff group id."
},
"name": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 1,
"description": "People on duty all day."
},
"hourly": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 24,
"minItems": 24,
"description": "Optional: people on duty for each hour of the day, midnight first (24 numbers). Overrides count."
},
"byPriority": {
"type": "boolean",
"description": "Serve lower priority numbers first (set by a settype node)."
}
}
},
"description": "Staff groups. A Service node draws one person from its group per customer."
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Node id (unique; must not equal a staff group id)."
},
"kind": {
"type": "integer",
"minimum": 1,
"description": "settype: the customer type (1, 2, …)."
},
"name": {
"type": "string"
},
"next": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Where customers go next (arrivals, service, delay, settype)."
},
"time": {
"type": "object",
"required": [
"kind",
"a"
],
"properties": {
"a": {
"type": "number",
"minimum": 0
},
"b": {
"type": "number",
"minimum": 0
},
"c": {
"type": "number",
"minimum": 0
},
"kind": {
"enum": [
"exponential",
"fixed",
"normal",
"lognormal",
"uniform",
"triangular"
],
"type": "string"
}
},
"description": "service: time to serve one customer; delay: time spent in minutes. kind: exponential (a = average), fixed (a = minutes), normal or lognormal (a = average, b = spread), uniform (a = lowest, b = highest), triangular (a = lowest, b = most likely, c = highest)."
},
"type": {
"enum": [
"arrivals",
"service",
"delay",
"split",
"settype",
"bytype",
"exit"
],
"type": "string"
},
"staff": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "service: the staff group that serves this line."
},
"giveUp": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "service: where customers go when they give up waiting (needs patience)."
},
"hourly": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 24,
"minItems": 24,
"description": "arrivals: optional arrivals per hour for each hour of the day, midnight first (24 numbers). Overrides perHour. Every hour needs more than 0."
},
"maxLine": {
"type": "integer",
"minimum": 0,
"description": "service: optional line limit; who arrives to a full line goes to whenFull."
},
"perHour": {
"type": "number",
"minimum": 0,
"description": "arrivals: average arrivals per hour (random, Poisson)."
},
"targets": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Target node id."
},
"description": "bytype: type 1 goes to the first target, type 2 to the second …; untyped customers go to the last."
},
"branches": {
"type": "array",
"items": {
"type": "object",
"required": [
"to",
"percent"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Target node id."
},
"percent": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"description": "split: where customers go, by percent (percents add up to 100)."
},
"patience": {
"type": "object",
"required": [
"kind",
"a"
],
"properties": {
"a": {
"type": "number",
"minimum": 0
},
"b": {
"type": "number",
"minimum": 0
},
"c": {
"type": "number",
"minimum": 0
},
"kind": {
"enum": [
"exponential",
"fixed",
"normal",
"lognormal",
"uniform",
"triangular"
],
"type": "string"
}
},
"description": "service: optional patience; who waits longer leaves to giveUp in minutes. kind: exponential (a = average), fixed (a = minutes), normal or lognormal (a = average, b = spread), uniform (a = lowest, b = highest), triangular (a = lowest, b = most likely, c = highest)."
},
"priority": {
"type": "number",
"description": "settype: priority (lower is served first where the staff group has byPriority)."
},
"whenFull": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "service: where customers go when the line is full (needs maxLine)."
},
"serviceLevels": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 4,
"description": "service: optional wait thresholds in minutes to report the share served within (e.g. [2, 5])."
}
}
},
"description": "The nodes. Every path must end at an exit node."
}
},
"description": "A QueueSim Cloud model: staff groups plus nodes linked by id. The model guide tool gives the rules and an example."
}
}
},
"annotations": {
"title": "Check a QueueSim Cloud model",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Run a QueueSim Cloud model (a multi-step queueing system built from nodes and staff groups) on the QueueSim Cloud discrete event engine. Returns, per service node: customers joined, served, gave up and turned away, mean and percentile waits in minutes and service levels; per staff group: utilization and busy staff; per exit: count and time in system. Also returns a link that opens the model in QueueSim Cloud to see it drawn and animated. Free plan: up to 8 nodes, 3 staff groups, 30 days, 1 run. Use simulate_mmc or simulate_schedule instead for a single line.
| Parameter | Type | Description |
|---|---|---|
| model * | object | A QueueSim Cloud model: staff groups plus nodes linked by id. The model guide tool gives the rules and an example. |
{
"name": "run_queue_model",
"description": "Run a QueueSim Cloud model (a multi-step queueing system built from nodes and staff groups) on the QueueSim Cloud discrete event engine. Returns, per service node: customers joined, served, gave up and turned away, mean and percentile waits in minutes and service levels; per staff group: utilization and busy staff; per exit: count and time in system. Also returns a link that opens the model in QueueSim Cloud to see it drawn and animated. Free plan: up to 8 nodes, 3 staff groups, 30 days, 1 run. Use simulate_mmc or simulate_schedule instead for a single line.",
"inputSchema": {
"type": "object",
"required": [
"model"
],
"properties": {
"model": {
"type": "object",
"required": [
"staff",
"blocks"
],
"properties": {
"days": {
"type": "number",
"default": 30,
"maximum": 365,
"description": "Run length in days (Free plan: at most 30).",
"exclusiveMinimum": 0
},
"name": {
"type": "string",
"maxLength": 80
},
"runs": {
"type": "integer",
"default": 1,
"maximum": 25,
"minimum": 1,
"description": "Independent runs (different random seeds). Free plan: 1."
},
"seed": {
"type": "integer",
"minimum": 1,
"description": "Seed of the first run (default 1)."
},
"staff": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"count"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Staff group id."
},
"name": {
"type": "string"
},
"count": {
"type": "integer",
"minimum": 1,
"description": "People on duty all day."
},
"hourly": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 24,
"minItems": 24,
"description": "Optional: people on duty for each hour of the day, midnight first (24 numbers). Overrides count."
},
"byPriority": {
"type": "boolean",
"description": "Serve lower priority numbers first (set by a settype node)."
}
}
},
"description": "Staff groups. A Service node draws one person from its group per customer."
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Node id (unique; must not equal a staff group id)."
},
"kind": {
"type": "integer",
"minimum": 1,
"description": "settype: the customer type (1, 2, …)."
},
"name": {
"type": "string"
},
"next": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Where customers go next (arrivals, service, delay, settype)."
},
"time": {
"type": "object",
"required": [
"kind",
"a"
],
"properties": {
"a": {
"type": "number",
"minimum": 0
},
"b": {
"type": "number",
"minimum": 0
},
"c": {
"type": "number",
"minimum": 0
},
"kind": {
"enum": [
"exponential",
"fixed",
"normal",
"lognormal",
"uniform",
"triangular"
],
"type": "string"
}
},
"description": "service: time to serve one customer; delay: time spent in minutes. kind: exponential (a = average), fixed (a = minutes), normal or lognormal (a = average, b = spread), uniform (a = lowest, b = highest), triangular (a = lowest, b = most likely, c = highest)."
},
"type": {
"enum": [
"arrivals",
"service",
"delay",
"split",
"settype",
"bytype",
"exit"
],
"type": "string"
},
"staff": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "service: the staff group that serves this line."
},
"giveUp": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "service: where customers go when they give up waiting (needs patience)."
},
"hourly": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 24,
"minItems": 24,
"description": "arrivals: optional arrivals per hour for each hour of the day, midnight first (24 numbers). Overrides perHour. Every hour needs more than 0."
},
"maxLine": {
"type": "integer",
"minimum": 0,
"description": "service: optional line limit; who arrives to a full line goes to whenFull."
},
"perHour": {
"type": "number",
"minimum": 0,
"description": "arrivals: average arrivals per hour (random, Poisson)."
},
"targets": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Target node id."
},
"description": "bytype: type 1 goes to the first target, type 2 to the second …; untyped customers go to the last."
},
"branches": {
"type": "array",
"items": {
"type": "object",
"required": [
"to",
"percent"
],
"properties": {
"to": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "Target node id."
},
"percent": {
"type": "number",
"maximum": 100,
"minimum": 0
}
}
},
"description": "split: where customers go, by percent (percents add up to 100)."
},
"patience": {
"type": "object",
"required": [
"kind",
"a"
],
"properties": {
"a": {
"type": "number",
"minimum": 0
},
"b": {
"type": "number",
"minimum": 0
},
"c": {
"type": "number",
"minimum": 0
},
"kind": {
"enum": [
"exponential",
"fixed",
"normal",
"lognormal",
"uniform",
"triangular"
],
"type": "string"
}
},
"description": "service: optional patience; who waits longer leaves to giveUp in minutes. kind: exponential (a = average), fixed (a = minutes), normal or lognormal (a = average, b = spread), uniform (a = lowest, b = highest), triangular (a = lowest, b = most likely, c = highest)."
},
"priority": {
"type": "number",
"description": "settype: priority (lower is served first where the staff group has byPriority)."
},
"whenFull": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,30}$",
"description": "service: where customers go when the line is full (needs maxLine)."
},
"serviceLevels": {
"type": "array",
"items": {
"type": "number",
"minimum": 0
},
"maxItems": 4,
"description": "service: optional wait thresholds in minutes to report the share served within (e.g. [2, 5])."
}
}
},
"description": "The nodes. Every path must end at an exit node."
}
},
"description": "A QueueSim Cloud model: staff groups plus nodes linked by id. The model guide tool gives the rules and an example."
}
}
},
"annotations": {
"title": "Run a QueueSim Cloud model",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}QueueSim is a free MCP server from ChiAha that runs a discrete event queueing simulation. Tools that run the simulation engine live on the inputs you pass: simulate_mmc (an M/M/c queue), simulate_scenario (one of four preset scenarios: single server, coffee shop, grocery checkout, call center, with optional overrides), simulate_schedule (a custom 24-hour day of arrivals and staffing), recommend_staffing (the smallest number of servers that meets a wait target), compare_separate_vs_pooled (one shared line against separate lines) and compare_analytical_vs_simulated (the same M/M/c queue through closed-form Erlang C and the simulation, side by side). For a system with more than one step (several stations, shared staff, routing by percent or type, priorities, customers who give up or are turned away): queue_model_guide explains how to build a QueueSim Cloud model from nodes, check_queue_model checks it, and run_queue_model runs it live on the QueueSim Cloud engine (free plan limits: 8 nodes, 3 staff groups, 30 days, 1 run) and returns a link that opens it in QueueSim Cloud; give the user that link. Tools that return text or preset data without running the engine: list_scenarios, describe_scenario, interpret_result, explain_queueing_theory and explain_advanced_patterns. All tools are read-only. REPORTING RESULTS (IMPORTANT): (1) Every number in your reply comes from a tool call in this conversation. Quote it verbatim with its units. Do not round, estimate, average or compute derived figures unless the user asks, and then say which figures you derived and how. Never supply a number from training data or general knowledge. (2) Say what kind of number it is: a live simulation run on the user's settings, closed-form Erlang C math, or preset scenario data. Never blend kinds in one figure. The four preset scenarios are samples, not the user's operation; say so when you quote them. (3) Next to each result, list the inputs that produced it (arrival rate, service time, servers, service distribution, scenario name, days simulated, and any other run settings the tool returns) so the user can check and repeat it. (4) For a follow-up on the same configuration, call the tool again instead of reusing numbers from earlier in the conversation. To compare two configurations (for example, what adding one server does), call simulate_mmc twice, once for each, and report both results, then the difference. The same goes for simulate_scenario and simulate_schedule. (5) If a tool errors, rejects an input (for example a queue that would grow without limit), or the question is outside what these tools cover, tell the user plainly and point them to https://queuesim.com; for a model bigger than the free limits to QueueSim Cloud at https://app.queuesim.com/pricing; or to queuesim@chiaha.com for a custom model. Never fill the gap with a plausible number, a guessed parameter or a made-up tool result. (6) Simulation results vary from run to run. Report any ranges, spreads or replications the tool returns, and do not present one run as certain. (7) Describe results as what the model shows would happen under the stated inputs. Do not call them predictions or forecasts. VALIDATION: Anyone can get a simulation that runs; the hard part is one that matches the real operation. Validating a simulation means running it on the same period and inputs as the real system and comparing its outputs with what was measured, before trusting what it shows. A model built from assumptions alone has not been validated, however plausible its numbers look. Results here come from a validated discrete event engine: compare_analytical_vs_simulated checks it against closed-form Erlang C results for any M/M/c case. Use is governed by the ChiAha Software License (https://queuesim.com/license.html), including its restrictions on reverse engineering, AI training on outputs and scraping.
Names, descriptions and schemas were written by the server and are shown as data.