Skip to main content
Glama

MCP Outlook Tools

by wmoto-ai
test_calendar_service.py•880 B
import unittest from datetime import datetime, timedelta from src.outlook_tools.calendar_service import OutlookCalendarService class TestOutlookCalendarService(unittest.TestCase): def setUp(self): self.service = OutlookCalendarService() def test_get_calendar_items(self): start_date = datetime.now() - timedelta(days=1) end_date = datetime.now() + timedelta(days=1) items = self.service.get_calendar_items(start_date, end_date) self.assertIsInstance(items, list) def test_add_appointment(self): subject = "Test Appointment" start = datetime.now() + timedelta(hours=1) end = start + timedelta(hours=1) result = self.service.add_appointment(subject, start, end, "Test Location", "Test Body") self.assertTrue(result) if __name__ == "__main__": unittest.main()

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/wmoto-ai/mcp-outlook-tools'

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