Skip to main content
Glama
lvdaxianer

datetime-mcp-server

by lvdaxianer

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe custom port to use when TRANSPORT is set to 'http'. Defaults to 3000.
TRANSPORTNoThe transport mode for the server (e.g., 'http'). Defaults to stdio if not specified.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_current_datetimeA

获取当前日期和时间,支持自定义格式化。

该工具返回当前的日期时间,可以指定返回的格式。如果不指定格式,默认返回 "yyyy-MM-dd" 格式。

支持的格式占位符:

  • yyyy: 4位年份 (例如: 2026)

  • MM: 2位月份 (01-12)

  • dd: 2位日期 (01-31)

  • HH: 24小时制小时 (00-23)

  • mm: 2位分钟 (00-59)

  • ss: 2位秒数 (00-59)

使用示例:

  • format="yyyy-MM-dd" -> "2026-03-11"

  • format="yyyy-MM-dd HH:mm:ss" -> "2026-03-11 14:30:00"

  • format="yyyy/MM/dd HH:mm" -> "2026/03/11 14:30"

注意事项:

  • 该工具始终返回当前时间,每次调用结果可能不同

  • 返回的是服务器本地时间

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'get_current_datetime' has a clear, distinct purpose that cannot be mistaken for any other functionality.

Naming Consistency5/5

The naming is trivially consistent as there is only one tool. The tool name 'get_current_datetime' follows a clear verb_noun pattern (get + current_datetime), which would be appropriate if more tools were added.

Tool Count2/5

A single tool is too few for a server named 'datetime-mcp-server', which suggests a broader scope for date and time operations. While the tool is functional, the server lacks operations like date parsing, timezone conversion, or date arithmetic, making it feel incomplete and under-scoped.

Completeness2/5

The server is severely incomplete for a datetime domain. It only provides current datetime retrieval with formatting, missing essential operations such as date manipulation, comparison, parsing from strings, or handling different timezones. This creates significant gaps that would limit agent capabilities in datetime-related tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues