Skip to main content
Glama
karimi-mohammad

local-time-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_current_datetimeA

Get the current date and time.

Returns structured JSON with the current datetime, including:

  • ISO 8601 datetime string

  • Date (YYYY-MM-DD)

  • Time (HH:MM:SS)

  • Day of week in English and Persian

  • IANA timezone name

  • UTC offset

  • Unix timestamp

  • Jalali (Solar Hijri) date in numeric and Persian formats

Args: timezone: Optional IANA timezone name (e.g., "Asia/Tehran", "Europe/Berlin", "America/New_York", "UTC"). If not provided, uses system local timezone.

Returns: JSON string with datetime information, or error message for invalid timezone.

Examples: - get_current_datetime() -> Current time in system timezone - get_current_datetime("Asia/Tehran") -> Current time in Tehran - get_current_datetime("UTC") -> Current time in UTC

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/karimi-mohammad/local-time-mcp'

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