{"ok":true,"site":{"host":"fasting-tracker-webmcp-demo.harnden-trey.workers.dev","url":"https://fasting-tracker-webmcp-demo.harnden-trey.workers.dev/","type":"live","desc":"A private fasting timer and journal with safe agent actions","tools":[{"name":"get_current_fast","kind":"answer","impl":"imperative","description":"Show the active fast, its start time, target length, target end time, and current progress. This reads tracker data only and does not provide health advice.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"list_recent_fasts","kind":"answer","impl":"imperative","description":"Show up to 10 recent completed or active fasting records from this signed-in tracker.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":10,"description":"Number of records to return."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_fasting_summary","kind":"answer","impl":"imperative","description":"Summarize recorded fasting activity over 1 to 365 days. This reports the user's tracker data and does not give medical advice.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"days":{"type":"integer","minimum":1,"maximum":365,"description":"Rolling number of days to summarize."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"compare_fasting_periods","kind":"act","impl":"imperative","description":"Compare the current week, month, quarter, or year with the previous period using this tracker's recorded sessions. This is descriptive, not medical advice.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"period":{"type":"string","enum":["week","month","quarter","year"]},"referenceDate":{"type":"string","format":"date-time","description":"Optional ISO 8601 date used as the comparison point."}},"required":["period"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"preview_fast_end","kind":"act","impl":"imperative","description":"Calculate when a proposed fasting timer would end. This is a clock calculation only. It does not start a fast or recommend a target.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"targetDurationMinutes":{"type":"integer","minimum":60,"maximum":10080},"startTime":{"type":"string","format":"date-time","description":"Optional ISO 8601 start time. Defaults to now."}},"required":["targetDurationMinutes"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_agent_activity","kind":"answer","impl":"imperative","description":"Show a sanitized list of recent tracker changes made through the visible app or an agent. It never returns credentials, request bodies, or admin details.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":25}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"set_workspace_layout","kind":"act","impl":"imperative","description":"Switch this tab between balanced, timer-first focus, history, or experiment layouts. This only changes the visible workspace and can be reset by the user.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"layout":{"type":"string","enum":["balanced","focus","history","experiment"]}},"required":["layout"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"set_visual_mode","kind":"act","impl":"imperative","description":"Apply one of the tracker-owned visual modes: standard, calm night, high contrast, or bright light. The user can reset this preference at any time.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["standard","calm","high-contrast","bright-light"]}},"required":["mode"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"create_history_view","kind":"act","impl":"imperative","description":"Compose a native history chart from supported tracker metrics. This changes the visible view only and never edits fasting records.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"chartType":{"type":"string","enum":["duration-trend","consistency-calendar","target-attainment","period-comparison","start-time-rhythm","duration-distribution"]},"rangeDays":{"oneOf":[{"type":"integer","enum":[30,90,180,365]},{"type":"string","enum":["all"]}]},"compareWithPrevious":{"type":"boolean"}},"required":["chartType","rangeDays"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"highlight_history_records","kind":"answer","impl":"imperative","description":"Highlight up to 25 existing fasting records inside the current history chart so the user can inspect the evidence behind an explanation.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"fastIds":{"type":"array","minItems":1,"maxItems":25,"uniqueItems":true,"items":{"type":"integer","minimum":1}}},"required":["fastIds"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"preview_fasting_decision","kind":"act","impl":"imperative","description":"Build a visible, read-only comparison of up to three user-chosen fasting targets. It calculates clock outcomes and historical context but does not recommend medical care or start a fast.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"targetDurationMinutes":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"integer","minimum":60,"maximum":10080}},"startTime":{"type":"string","format":"date-time"}},"required":["targetDurationMinutes"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_active_experiment","kind":"answer","impl":"imperative","description":"Return the current user-defined fasting experiment and its tracker settings, or null when none is active.","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"create_fasting_experiment","kind":"act","impl":"imperative","description":"Ask the user to confirm, then create one bounded, user-defined tracking experiment. This records a goal for the tracker and does not provide health advice.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"targetDurationMinutes":{"type":"integer","minimum":60,"maximum":10080},"weeklyGoal":{"type":"integer","minimum":1,"maximum":7},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"}},"required":["name","targetDurationMinutes","weeklyGoal","startDate","endDate"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"cancel_active_experiment","kind":"transact","impl":"imperative","description":"Ask the user to confirm, then cancel the active tracking experiment. Fasting history is not changed or deleted.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"start_fast","kind":"act","impl":"imperative","description":"Ask the user to confirm, then start tracking one fast now for the requested number of minutes and update the visible timer. This records a tracker action, not a health recommendation.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"targetDurationMinutes":{"type":"integer","minimum":60,"maximum":10080,"description":"User-chosen target duration from 60 minutes to 7 days."}},"required":["targetDurationMinutes"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"stop_active_fast","kind":"act","impl":"imperative","description":"Ask the user to confirm, then finish the active fast at the current time and update the visible tracker. It cannot modify a completed record.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"adjust_active_fast_start","kind":"act","impl":"imperative","description":"Ask the user to confirm, then correct the ISO 8601 start time of the active fast and update the visible timer. Completed history remains unavailable to this tool.","annotations":{"readOnlyHint":false,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"startTime":{"type":"string","format":"date-time","description":"Corrected ISO 8601 start time."}},"required":["startTime"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Health & Education","favicon":"/favicons/fasting-tracker-webmcp-demo.harnden-trey.workers.dev.png","apiSurface":"spec","toolCount":17}}