MCP-timeserver
MCP时间服务器
一个简单的 MCP 服务器,向代理系统和聊天 REPL 公开日期时间信息
成分
资源
服务器实现了一个简单的 datetime:// URI 方案,用于访问给定时区的当前日期/时间,例如:
datetime://Africa/Freetown/now
datetime://Europe/London/now
datetime://America/New_York/now工具
服务器公开了一个工具来获取系统时区中的当前本地时间:
>>> get_current_time()
"The current time is 2024-12-18 19:59:36"Related MCP server: Timezone MCP Server
快速入门
安装
使用以下 json
{
"mcpServers": {
"MCP-timeserver": {
"command": "uvx",
"args": ["MCP-timeserver"]
}
}
}Available Tools
1 toolget-current-timeA
Get the current time in the configured local timezone
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of disclosure. It adds the key behavioral detail that time is in the configured local timezone, not UTC or system time. No side effects exist for a read-only clock, so this is adequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with zero wasted words. Every word earns its place, conveying both action and timezone context efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial stateless tool with no parameters and no output schema, the description is complete: it states what is retrieved and the timezone context. Nothing more is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, and schema_description_coverage is 100% (empty schema). The baseline for 0 params is 4, and the description adds no unnecessary parameter details, so this score is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb ('Get') and specific resource ('current time') with a relevant qualifier ('in the configured local timezone'). It unambiguously describes the tool's function, even without sibling differentiation needed.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There are no sibling tools or alternatives, so explicit when-to-use guidance is unnecessary. The description provides clear context (retrieves current time), which is sufficient for this simple tool. Lacks explicit exclusions but none are needed.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
get-current-time
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is singular and clear, so an agent cannot misselect between non-existent alternatives.
The single tool name follows a clear verb_noun pattern (get-current-time), and with no other tools to compare, there is no inconsistency. The naming is straightforward and predictable.
A single tool for a time server feels thin and under-scoped, as it only provides current time retrieval without obvious related operations like time conversion, formatting, or scheduling. This minimal set may limit functionality for typical time-related tasks.
The tool surface is severely incomplete for a time server domain, lacking basic operations such as converting between timezones, formatting times, or handling dates. It covers only a narrow slice of potential time-related functionality, likely causing agent failures in broader scenarios.
Maintenance
Related MCP Connectors
Get the current time anywhere and access concise timezone information. Set your preferred timezone…
Get the current time in any timezone and quickly look up common timezone info. Set a default timez…
Get the current time in your chosen timezone and view common timezone information. Simplify schedu…
Get the current time in any timezone. Explore concise timezone info to pick the right region. Simp…
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides time and timezone functionality for LLMs, enabling them to get current time information across different timezones and convert times between zones.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to get current time information for any timezone worldwide, including available regions, cities, and ISO 8601 formatted timestamps with timezone offsets.8-
- AlicenseNot gradedqualityCmaintenanceProvides time zone management utilities including retrieving current time in any global time zone and converting time between different time zones with automatic daylight saving time handling.42 npmMIT
- FlicenseBqualityDmaintenanceProvides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.2-