List Calendar Events
Immutable Catalog + Curated Guide
This lossless descriptor comes from the active Portal catalog and is enhanced with reviewed examples.
- Contract tier:
agent_ready - Risk:
read - Catalog version:
google-2026.07.12.2 - Descriptor hash:
e60b72fbe47c4505843071e4a23380b18d1a1cb70ce577ec5c0499d1ae84b43d
List events in a date range for scheduling checks.
Request Body
{
"jsonrpc": "2.0",
"id": "google-calendar-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}
Arguments Schema
{
"type": "object",
"title": "calendar_list_eventsArguments",
"properties": {
"query": {
"type": "string",
"title": "Query",
"default": "",
"description": "Provider query string used to filter results."
},
"fields": {
"type": "string",
"title": "Fields",
"default": "",
"description": "Optional Google partial-response fields selector for compact output."
},
"order_by": {
"type": "string",
"title": "Order By",
"default": "startTime",
"description": "Optional provider order expression."
},
"time_max": {
"type": "string",
"title": "Time Max",
"default": "",
"description": "Exclusive upper event time bound as RFC3339 timestamp."
},
"time_min": {
"type": "string",
"title": "Time Min",
"default": "",
"description": "Inclusive lower event time bound as RFC3339 timestamp."
},
"page_token": {
"type": "string",
"title": "Page Token",
"default": "",
"description": "Provider pagination token returned by a previous list call."
},
"calendar_id": {
"type": "string",
"title": "Calendar Id",
"default": "primary",
"description": "Google Calendar calendar ID, often 'primary'."
},
"max_results": {
"type": "integer",
"title": "Max Results",
"default": 100,
"description": "Maximum number of items to request from Google for this page."
},
"single_events": {
"type": "boolean",
"title": "Single Events",
"default": true,
"description": "Whether recurring events should be expanded into instances."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or Google provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded local navigation or Google provider result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe timing, pagination, cache, request, and truncation metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Google MCP normalized operation envelope.",
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "google-calendar-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "google-calendar-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "google-calendar-list-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_list_events",
"arguments": {
"startTime": "2026-03-30T00:00:00Z",
"endTime": "2026-03-31T00:00:00Z"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 400 Invalid Date Range
{
"ok": true,
"events": [
{
"id": "evt_411",
"summary": "Pipeline Review",
"start": "2026-03-30T14:00:00Z"
}
]
}
{
"ok": false,
"error": "validation_error",
"message": "endTime must be after startTime"
}