Skip to main content
Glama

MCP Time Server Node

by pshempel

days_until

Calculate the number of days remaining until a specific date or event. Accepts ISO strings, natural language, or Unix timestamps, with optional timezone support and formatted results.

Instructions

Calculate days until a target date/event

Input Schema

NameRequiredDescriptionDefault
format_resultNoReturn formatted string (e.g., "in 5 days") instead of number (default: false)
target_dateYesTarget date (ISO string, natural language, or Unix timestamp)
timezoneNoTimezone for calculation (default: system timezone)

Input Schema (JSON Schema)

{ "properties": { "format_result": { "description": "Return formatted string (e.g., \"in 5 days\") instead of number (default: false)", "type": "boolean" }, "target_date": { "description": "Target date (ISO string, natural language, or Unix timestamp)", "type": [ "string", "number" ] }, "timezone": { "description": "Timezone for calculation (default: system timezone)", "type": "string" } }, "required": [ "target_date" ], "type": "object" }
Install Server

Other Tools from MCP Time Server Node

Related Tools

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/pshempel/mcp-time-server-node'

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