Skip to main content
Glama

Time Tools MCP Server

get_elapsed_time

Calculate the elapsed time between two specified datetimes in customizable units (milliseconds to years) for precise duration measurement.

Instructions

Get the difference time between two datetimes (e.g. 2025-01-01 01:01:01 and 2025-01-02 02:02:02)

Input Schema

NameRequiredDescriptionDefault
fromYes
toYes
unitNomillisecond

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "from": { "type": "string" }, "to": { "type": "string" }, "unit": { "default": "millisecond", "enum": [ "millisecond", "second", "minute", "hour", "day", "week", "month", "year" ], "type": "string" } }, "required": [ "from", "to" ], "type": "object" }

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/t-shiratori/time-tools-mcp-server'

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