A simple MCP server that provides current time functionality with timezone support
Single tool 'now' has a basic schema and bilingual description, but critical gaps prevent production use. The tool name lacks a verb prefix (should be 'get_current_time' or 'show_time'), violating naming conventions. Parameter 'time-zone' is undescribed in the schema (description exists in mcp.WithString but is not formally part of the input schema structure visible in CallToolRequest handling). No output schema is documented, callers cannot predict the response structure. Error handling is minimal: timezone load failures return raw errors without recovery guidance. The tool is READ_ONLY (good), but lacks any structured output documentation or LLM-friendly guidance on when to use it.
現在の時刻を表示します(Shows the current time)
Tool name 'now' lacks action verb prefix. Should be 'get_current_time' or 'show_time' to signal intent to LLM.
No output schema documented. Callers cannot predict response structure (RFC3339 string). LLMs need explicit return type documentation.
Error handling returns raw timezone load errors without recovery guidance. Should return 'Invalid timezone: <value>. Valid timezones: UTC, America/New_York, ...' to enable LLM self-correction.
Parameter 'time-zone' is optional but behavior when omitted is undocumented. Description says 'Timezone to get the time in' but does not state default is local time or UTC.
Bilingual description (Japanese + English) is non-standard and wastes tokens. Use English only for LLM clarity.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 34 | 2026-07-28+ | v2 |