Skip to main content
Glama

dhis2_android_configure_notifications

Configure push and local notifications for DHIS2 Android apps to alert users about sync status, data deadlines, and system messages using customizable triggers and settings.

Instructions

Set up push notifications and local notifications for DHIS2 Android app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notificationTypesYesTypes of notifications to implement
pushProviderNoPush notification provider
triggersNoNotification triggers
schedulingNo
customizationNo

Implementation Reference

  • The MCP server request handler for the tool. It invokes generateNotificationsConfiguration from android-generators.ts with the tool arguments and returns the generated Android notifications configuration as text content.
    case 'dhis2_android_configure_notifications': const notificationsArgs = args as any; const notificationsConfig = generateNotificationsConfiguration(notificationsArgs); return { content: [ { type: 'text', text: notificationsConfig, }, ], };
  • The core generator function that creates a template for DHIS2 Android notifications configuration code, using the provided arguments (notably notificationTypes). Currently a stub implementation.
    export function generateNotificationsConfiguration(args: any): string { return `# DHIS2 Android Notifications Configuration Notification types: ${args.notificationTypes.join(', ')} ## Implementation details for notifications... `;
  • Permission registration mapping the tool to the 'canUseMobileFeatures' permission in PermissionSystem.TOOL_PERMISSIONS.
    ['dhis2_android_configure_notifications', 'canUseMobileFeatures'],

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/Dradebo/dhis2-mcp'

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