Skip to main content
Glama

mcp-optimizer

solve_employee_shift_scheduling

Optimize employee shift scheduling by assigning staff to shifts based on availability, constraints, and requirements. Generates efficient schedules with coverage statistics for improved workforce management.

Instructions

Solve Employee Shift Scheduling to assign employees to shifts optimally.

Args: employees: List of employee names shifts: List of shift dictionaries with time and requirements days: Number of days to schedule employee_constraints: Optional constraints and preferences per employee time_limit_seconds: Maximum solving time in seconds (default: 30.0) Returns: Optimization result with employee schedules and coverage statistics

Input Schema

NameRequiredDescriptionDefault
daysYes
employee_constraintsNo
employeesYes
shiftsYes
time_limit_secondsNo

Input Schema (JSON Schema)

{ "properties": { "days": { "title": "Days", "type": "integer" }, "employee_constraints": { "anyOf": [ { "additionalProperties": { "additionalProperties": true, "type": "object" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Employee Constraints" }, "employees": { "items": { "type": "string" }, "title": "Employees", "type": "array" }, "shifts": { "items": { "additionalProperties": true, "type": "object" }, "title": "Shifts", "type": "array" }, "time_limit_seconds": { "default": 30, "title": "Time Limit Seconds", "type": "number" } }, "required": [ "employees", "shifts", "days" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmitryanchikov/mcp-optimizer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server