A super basic MCP server that exposes current time information
Single tool with clear naming (current_time), good description (127 chars, within 10-1024 range), and well-documented output schema via CurrentTimeResponse struct with 8 typed fields. Input schema is empty (no parameters required), which is appropriate for a stateless read-only operation. Tool follows verb_noun convention and clearly states its purpose. No parameter descriptions needed since there are no parameters. Output fields are well-annotated with doc comments explaining each field's format and meaning. Lacks error handling guidance and tool annotations (readOnlyHint), but these are minor gaps for a simple utility tool.
Returns the current local time as an ISO 8601 timestamp, Unix timestamps (seconds and milliseconds), system timezone, UTC offset, date, time, and day of the week. Use this to ground any time-related queries.
Missing tool annotations (readOnlyHint). Tool is read-only and should declare this via tool annotations to help agents understand it has no side effects.
No error handling or recovery guidance documented. Tool description does not explain failure modes or what to do if time retrieval fails.
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients, limiting deployment flexibility.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | B | 76 | <=2025-11-25 | v2 |