Skip to main content
Glama
abhi12299

Date-time Tools MCP

by abhi12299

mutateDate

Add or subtract days, hours, minutes, months, or years from a date-time string to calculate new dates for scheduling, deadlines, or time-based adjustments.

Instructions

Mutates a date time string by adding or subtracting days, hours, minutes, months, or years.

  • The date time string must follow luxon date-time format: yyyy-MM-dd hh:mm:ss a. Example: 2025-06-16 10:00:00 pm.

  • The update object must be a valid update object. Example: { days: -1, hours: 2, minutes: 3, months: 4, years: 5 }.

  • You must first invoke the tool named "currentDateTimeAndTimezone" to get the current date, time and timezone of the user if they don't specify an absolute date or time explicitly (today/tomorrow/yesterday/next week/next month/next year etc. is not absolute date or time).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateTimeYesThe date time string to mutate. Must follow luxon date-time format: yyyy-MM-dd hh:mm:ss a. Example: 2025-06-16 10:00:00 pm
updateYesThe update object to apply to the date time string

Latest Blog Posts

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/abhi12299/date-time-tools'

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