Date Math v1.7.0
Date Math / Tools / sla_countdown

SLA countdown in working hours

Live SLA clock for a support ticket: business minutes elapsed and remaining, breached or not, and the deadline. The clock pauses outside working hours, on weekends and holidays, and during manual pauses (e.g. waiting on customer). Custom hours, workdays, country holidays, DST-aware. Use for support-agent SLA tracking and escalation.

MCP tool sla_countdownHTTP POST /v1/sla25 free calls a day, then $0.001

Try it

Runs the real tool over MCP. Edit the arguments and run. Uses your daily free calls.

sla_countdown
result
{
  "timezone": "Asia/Manila",
  "start": "2026-11-06T16:00:00+08:00",
  "now": "2026-11-09T10:30:00+08:00",
  "sla_minutes": 240,
  "elapsed_business_minutes": 120,
  "remaining_business_minutes": 120,
  "breached": false,
  "breached_by_business_minutes": 0,
  "percent_used": 50,
  "status": "running",
  "resumes_at": null,
  "deadline": "2026-11-09T12:30:00+08:00",
  "deadline_utc": "2026-11-09T04:30:00Z",
  "deadline_weekday": "Monday"
}

The result shown before you run is a saved example response.

Use it from your agent

Add the MCP server once and your agent can call sla_countdown and the other 19 tools.

Claude Code

One command in your terminal.

claude mcp add --transport http date-math https://date-math.datemath.workers.dev/mcp

Any MCP client

Claude Desktop, Cursor, VS Code, Windsurf.

{
  "mcpServers": {
    "date-math": {
      "url": "https://date-math.datemath.workers.dev/mcp"
    }
  }
}

HTTP + x402

POST JSON; pay the 402 with any x402 client.

curl -X POST https://date-math.datemath.workers.dev/v1/sla \
  -H "Content-Type: application/json" \
  -d '{"start":"2026-11-06T16:00","now":"2026-11-09T10:30","sla_hours":4,"timezone":"Asia/Manila","country":"PH","pauses":[{"start":"2026-11-09T01:00:00Z","end":"2026-11-09T01:30:00Z"}]}'

Full schema: OpenAPI · llms.txt