Skip to main content
Glama
cfdude

mcp-datetimeday

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_datetime

Get current date and time with day of week.

Args: tz: IANA timezone (e.g., "America/New_York", "UTC"). Defaults to local. format: Output format - "iso8601", "unix", "human", or None for full response.

Returns: Formatted datetime with day of week always included.

relative_time

Get relative time description between two dates.

Args: date_str: Target date in YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS format. reference: Reference date (same formats). Defaults to now.

Returns: Relative time description (e.g., "3 days ago", "in 2 weeks").

days_in_month

Get the number of days in a month.

Args: year: Year (e.g., 2025). Defaults to current year. month: Month (1-12). Defaults to current month.

Returns: Number of days in the month, plus first/last day info.

convert_time

Convert time between timezones.

Args: time_str: Time in YYYY-MM-DD HH:MM:SS or YYYY-MM-DDTHH:MM:SS format. from_tz: Source IANA timezone (e.g., "America/New_York", "UTC"). to_tz: Target IANA timezone.

Returns: Converted time with day of week for both timezones.

get_week_year

Get week number and ISO week of the year.

Args: date_str: Date in YYYY-MM-DD format. Defaults to today.

Returns: Week number, ISO week, day of year, and related info.

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/cfdude/mcp-datetimeday'

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