A Model Context Protocol (MCP) server acts as a proxy between an external service that provides context, data, or capabilities to a Large Language Model (LLM) or AI application. MCP servers connect AI applications to external systems such as databases and web services, translating their responses into a format that the AI application can understand.
MCP Tools
An MCP tool is a function or executable capability that an MCP server exposes to a LLM or AI application to perform an action in the real world.
The calendarmcp.googleapis.com MCP server has the following tools:
| MCP Tools | |
|---|---|
| list_events |
Lists calendar events in a given calendar satisfying the given conditions. Key Features:
Use search_events tool instead if:
Use this tool for queries like:
Example: |
| get_event |
Returns a single event from a given calendar. Use this tool for queries like:
Example: |
| list_calendars |
Returns the calendars on the user's calendar list. Use this tool for queries like:
Example: |
| suggest_time |
Suggests time periods across one or more calendars. To access the primary calendar, add 'primary' in the attendee_emails field. Use this tool for queries like:
Example: |
| create_event |
Creates a calendar event. Use this tool for queries like:
Example: |
| update_event |
Updates a calendar event. Use this tool for queries like:
Example: |
| delete_event |
Deletes a calendar event. Use this tool for queries like:
To cancel or decline an event, use the respond_to_event tool instead. Example: |
| respond_to_event |
Responds to an event. Use this tool for queries like:
Example: |
Get MCP tool specifications
To get the MCP tool specifications for all tools in an MCP server, use the tools/list method. The following example demonstrates how to use curl to list all tools and their specifications currently available within the MCP server.
| Curl Request |
|---|
curl --location 'https://calendarmcp.googleapis.com/mcp' \ --header 'content-type: application/json' \ --header 'accept: application/json, text/event-stream' \ --data '{ "method": "tools/list", "jsonrpc": "2.0", "id": 1 }' |