VREME

Execute Time Arithmetic

Category: Time Operations

TIME ARITHMETIC: Execute precise date/time math with business rules. Supports operations: add, subtract, set_time, set_date. Handles business_days with regional holiday calendars. Returns step-by-step execution trace with deterministic hashing.

Parameters

starting_timestringRequired

ISO 8601 datetime string (e.g., '2024-12-09T15:30:00-05:00')

operationsarrayRequired

Array of operations to execute in sequence

timezonestringOptional

IANA timezone (e.g., 'America/New_York')

region_for_holidaysstringOptional

ISO country code for business day holidays (e.g., 'US')

Returns

result:Final datetime after operations
steps:Step-by-step trace
hash:Deterministic hash for reproducibility

Example

execute_time_arithmetic(starting_time='2024-12-09T15:30:00', operations=[{op: 'add', unit: 'days', value: 5}])

Try It Now

This tool is available in the Vreme MCP server. Install via:

npx -y @vreme/temporal-mcp

Or add to your Claude Desktop, VS Code, Continue, or Cline configuration. See installation guide.