Skip to main content
Glama

relative_time

Convert a specified timestamp into relative time (e.g., '2 hours ago') to add time awareness to your applications. Ideal for enhancing workflows with precise time-related functionalities.

Instructions

Get the relative time from now.

Input Schema

NameRequiredDescriptionDefault
timeYesThe time to get the relative time from now. Format: YYYY-MM-DD HH:mm:ss

Input Schema (JSON Schema)

{ "properties": { "time": { "description": "The time to get the relative time from now. Format: YYYY-MM-DD HH:mm:ss", "type": "string" } }, "required": [ "time" ], "type": "object" }

Other Tools from time-mcp

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/yokingma/time-mcp'

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