Skip to main content
Glama

respond_event

Accept, decline, or tentatively respond to Microsoft Outlook event invitations using specified account and event IDs through the Microsoft MCP server.

Instructions

Respond to event invitation (accept, decline, tentativelyAccept)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
event_idYes
messageNo
responseNoaccept

Implementation Reference

  • The 'respond_event' tool handler function, decorated with @mcp.tool for automatic registration. It sends a POST request to the Microsoft Graph API to respond to a calendar event invitation with the specified response type (accept, decline, or tentativelyAccept), optionally including a comment.
    @mcp.tool def respond_event( account_id: str, event_id: str, response: str = "accept", message: str | None = None, ) -> dict[str, str]: """Respond to event invitation (accept, decline, tentativelyAccept)""" payload: dict[str, Any] = {"sendResponse": True} if message: payload["comment"] = message graph.request("POST", f"/me/events/{event_id}/{response}", account_id, json=payload) return {"status": response}

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/elyxlz/microsoft-mcp'

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