Skip to main content
Glama
aYon1997

Health Reminder MCP Server

by aYon1997

get_status

Check current health reminder settings and status to monitor break intervals and notification preferences for maintaining regular movement habits.

Instructions

获取当前健康提醒的状态和配置

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'get_status' tool call. Retrieves the current reminder status using the getReminderStatus helper and returns it as formatted JSON text content.
    case "get_status": { const status = getReminderStatus(); return { content: [ { type: "text", text: JSON.stringify({ success: true, status: status.active ? "运行中" : "已停止", active: status.active, config: status.config, }, null, 2), }, ], }; }
  • Registration of the 'get_status' tool in the tools array, which is returned by the listTools handler. Includes name, description, and input schema (empty object).
    { name: "get_status", description: "获取当前健康提醒的状态和配置", inputSchema: { type: "object", properties: {}, }, },
  • Helper function getReminderStatus that checks if the reminder timer is active and returns the current configuration.
    function getReminderStatus() { return { active: reminderTimer !== null, config: currentConfig, }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aYon1997/health-reminder-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server