Skip to main content
Glama
MikeyBeez

MCP Reminders

by MikeyBeez

complete_reminder

Mark reminders as completed by providing the reminder ID to track and manage tasks across AI assistant sessions.

Instructions

Mark a reminder as completed

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesReminder ID

Implementation Reference

  • The core handler function in ReminderManager that marks a reminder as completed by updating its status to 'completed', adding a completion timestamp, saving to JSON file, and returning true on success.
    completeReminder(id: string): boolean {
      const reminder = this.reminders.get(id);
      if (!reminder || reminder.status !== 'active') return false;
      
      reminder.status = 'completed';
      reminder.completed = new Date().toISOString();
      this.saveReminders();
      return true;
    }
  • The MCP dispatch handler for 'complete_reminder' tool calls, which extracts the id argument, calls the core completeReminder method, and formats a response message.
    case 'complete_reminder': {
      const { id } = args as { id: string };
      const success = reminders.completeReminder(id);
      return {
        content: [{ 
          type: 'text', 
          text: success ? `Reminder ${id} marked as completed.` : `Reminder ${id} not found.` 
        }],
      };
    }
  • Input schema definition for the complete_reminder tool, requiring a single 'id' string parameter.
    inputSchema: {
      type: 'object',
      properties: {
        id: {
          type: 'string',
          description: 'Reminder ID'
        }
      },
      required: ['id'],
    },
  • src/index.ts:264-277 (registration)
    Tool registration in the ListTools response, defining name, description, and input schema for complete_reminder.
    {
      name: 'complete_reminder',
      description: 'Mark a reminder as completed',
      inputSchema: {
        type: 'object',
        properties: {
          id: {
            type: 'string',
            description: 'Reminder ID'
          }
        },
        required: ['id'],
      },
    },

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/MikeyBeez/mcp-reminders'

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