Skip to main content
Glama

MCP Time Server Node

by pshempel

calculate_duration

Calculate the duration between two specified times using customizable units and timezones. Ideal for precise time interval measurements in various applications.

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" }
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