Skip to main content
Glama

MCP Time Server Node

by pshempel

calculate_duration

Determine the duration between two timestamps with precision. Specify start and end times, optional unit, and timezone for accurate results. Ideal for time-based calculations and scheduling.

Instructions

Calculate duration between two times

Input Schema

NameRequiredDescriptionDefault
end_timeYesEnd time
start_timeYesStart time
timezoneNoTimezone for parsing (default: system timezone)
unitNoOutput unit (default: "auto")

Input Schema (JSON Schema)

{ "properties": { "end_time": { "description": "End time", "type": "string" }, "start_time": { "description": "Start time", "type": "string" }, "timezone": { "description": "Timezone for parsing (default: system timezone)", "type": "string" }, "unit": { "description": "Output unit (default: \"auto\")", "type": "string" } }, "required": [ "start_time", "end_time" ], "type": "object" }

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