Utilities
Classic Pomodoro technique: 25 minutes of focused work followed by 5 minutes of break to boost productivity
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/pomodoro-timer' \
-H 'Content-Type: application/json' \
-d '{"workMinutes":25,"breakMinutes":5,"longBreakMinutes":15,"sessionsUntilLongBreak":4,"taskName":"What are you working on?"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/pomodoro-timer| Name | Type | Required | Description |
|---|---|---|---|
| workMinutes | number | No | Duration of each focused work session |
| breakMinutes | number | No | Duration of short breaks between work sessions |
| longBreakMinutes | number | No | Duration of long breaks after completing sessions |
| sessionsUntilLongBreak | number | No | How many work sessions to complete before a long break |
| taskName | text | No |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-pomodoro-timer": {
"name": "pomodoro-timer",
"description": "Classic Pomodoro technique: 25 minutes of focused work followed by 5 minutes of break to boost productivity",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pomodoro-timer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "pomodoro-timer",
"arguments": {
"workMinutes": 25,
"breakMinutes": 5,
"longBreakMinutes": 15,
"sessionsUntilLongBreak": 4,
"taskName": "What are you working on?"
}
}
}Questions or issues? Contact [email protected]
| Name of the task you're working on (optional) |
Interactive result
{
"result": "Initial display content",
"interactive": true,
"components": [
{
"type": "timer",
"id": "timer1",
"config": {
"label": "Countdown",
"duration": 60
}
}
],
"state": {
"key": "value"
},
"actions": [
{
"type": "start",
"id": "start-btn",
"label": "Start"
}
],
"styles": "/* Custom CSS */",
"scripts": "/* Client-side scripts */",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}