w2w-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| W2W_API_KEY | Yes | Your When2Work API key |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| w2w_get_employeesB | Get all employees from When2Work |
| w2w_get_positionsA | Get all positions from When2Work |
| w2w_get_categoriesA | Get all shift categories from When2Work |
| w2w_get_shiftsA | Get assigned shifts from When2Work for a date range. Supports automatic pagination for ranges over 31 days. |
| w2w_get_timeoffA | Get approved time off from When2Work for a date range. Supports automatic pagination for ranges over 31 days. |
| w2w_get_daily_totalsA | Get daily schedule totals from When2Work for a date range. Shows assigned shifts and hours per day. Supports automatic pagination for ranges over 31 days. |
| w2w_get_daily_position_totalsA | Get daily schedule totals by position from When2Work for a date range. Shows assigned shifts and hours per day, broken down by position. Supports automatic pagination for ranges over 31 days. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct resource (employees, positions, categories, shifts, timeoff, daily totals, daily position totals). The two 'totals' tools could be confused, but descriptions clarify the position breakdown.
All tools follow a consistent 'w2w_get_<resource>' pattern using snake_case. No mixed conventions or vague verbs.
Seven tools provide a well-scoped read-only interface for When2Work data. Each tool has a clear place, and the count is appropriate for the server's purpose.
Core schedule data (shifts, timeoff, daily totals, position totals) and master data (employees, positions, categories) are covered. Missing single-item fetch endpoints, but listing all resources is sufficient for a read-only server.