Calendar Batch Get Events
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
read - Catalog version:
google-2026.07.12.2 - Descriptor hash:
e5a06e136e255ff2623f6ccd39acc43d1e627b0fac32af66acccaf3678b68d0a
Use this read-only Google Calendar tool to fetch multiple known event IDs from one calendar. Returns compact event metadata. It reads the configured user's Google data through per-request OAuth, does not mutate provider state, and returns a normalized bounded envelope.
Request Body
{
"jsonrpc": "2.0",
"id": "google-calendar-batch-get-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_batch_get_events",
"arguments": {
"calendar_id": "calendar_id_123",
"event_ids": [],
"fields": "fields_example"
}
}
}
Arguments Schema
{
"type": "object",
"title": "calendar_batch_get_eventsArguments",
"required": [
"calendar_id",
"event_ids"
],
"properties": {
"fields": {
"type": "string",
"title": "Fields",
"default": "",
"description": "Optional Google partial-response fields selector for compact output."
},
"event_ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "Event Ids",
"description": "List of Google Calendar event IDs."
},
"calendar_id": {
"type": "string",
"title": "Calendar Id",
"description": "Google Calendar calendar ID, often 'primary'."
}
},
"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-batch-get-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_batch_get_events",
"arguments": {
"calendar_id": "calendar_id_123",
"event_ids": [],
"fields": "fields_example"
}
}
}'
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-batch-get-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_batch_get_events",
"arguments": {
"calendar_id": "calendar_id_123",
"event_ids": [],
"fields": "fields_example"
}
}
}),
});
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-batch-get-events-example",
"method": "tools/call",
"params": {
"name": "google.calendar_batch_get_events",
"arguments": {
"calendar_id": "calendar_id_123",
"event_ids": [],
"fields": "fields_example"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool google.calendar_batch_get_events executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}