From 21961850fbb17dacd378ee6215a8a6d64e96dc6c Mon Sep 17 00:00:00 2001 From: alvabillwu Date: Tue, 30 Jun 2026 02:57:08 +0800 Subject: [PATCH] docs(time): fix convert_time/get_current_time example responses to match server output The example responses in src/time/README.md did not match what the server actually returns (verified against src/time/src/mcp_server_time/server.py): - Both examples omitted the field that TimeResult includes. - convert_time example: source datetime showed 12:30 but the request used 16:30; target datetime and the +13.0h difference were wrong for a 2024-01-01 (EST, no DST) America/New_York -> Asia/Tokyo conversion. Corrected to 16:30-05:00 -> 06:30+09:00 (next day), +14.0h. - Removed the trailing comma after time_difference (invalid JSON). Co-Authored-By: Claude --- src/time/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/time/README.md b/src/time/README.md index 51107f51de..cce567cc39 100644 --- a/src/time/README.md +++ b/src/time/README.md @@ -216,6 +216,7 @@ Response: { "timezone": "Europe/Warsaw", "datetime": "2024-01-01T13:00:00+01:00", + "day_of_week": "Monday", "is_dst": false } ``` @@ -236,15 +237,17 @@ Response: { "source": { "timezone": "America/New_York", - "datetime": "2024-01-01T12:30:00-05:00", + "datetime": "2024-01-01T16:30:00-05:00", + "day_of_week": "Monday", "is_dst": false }, "target": { "timezone": "Asia/Tokyo", - "datetime": "2024-01-01T12:30:00+09:00", + "datetime": "2024-01-02T06:30:00+09:00", + "day_of_week": "Tuesday", "is_dst": false }, - "time_difference": "+13.0h", + "time_difference": "+14.0h" } ```