Skip to main content
Glama
adamzaidi

icloud-mcp

by adamzaidi

get_event

Retrieve detailed calendar event information by specifying the calendar and event IDs to access specific appointment or meeting details.

Instructions

Get full details of a specific calendar event by its ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
calendarIdYesCalendar ID containing the event
eventIdYesEvent ID (UUID from list_events or search_events)

Implementation Reference

  • The `getEvent` handler fetches a specific event from a CalDAV calendar using the event's unique ID and the calendar's ID, then parses the iCal data.
    export async function getEvent(calendarId, eventId) {
      const { dataHost, calendarsPath } = await discover();
      const url = `${dataHost}${calendarsPath}${calendarId}/${eventId}.ics`;
      const resp = await davRequest('GET', url);
    
      if (resp.status === 404) throw new Error(`Event not found: ${calendarId}/${eventId}`);
      if (resp.status >= 400) throw new Error(`CalDAV GET failed: ${resp.status}`);
    
      const event = parseVEvent(resp.body);
      return { eventId, calendarId, etag: resp.etag, ...event };
    }
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the burden. 'Get' implies a read-only operation and 'full details' suggests comprehensive data return, but it lacks disclosure of error handling (e.g., event not found) or authorization requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence of appropriate length with no redundant words. Information is front-loaded with the action ('Get full details') immediately clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter retrieval tool with complete schema coverage, the description adequately covers the tool's purpose and scope. Minor gap regarding error behavior keeps it from a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the structured fields adequately document parameters. The description does not add parameter semantics, but the baseline 3 is appropriate given the schema's completeness.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses specific verb 'Get' with resource 'calendar event' and scope 'by its ID', clearly distinguishing it from sibling tools like list_events, search_events, create_event, and delete_event.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'by its ID' implies usage when a specific identifier is known, likely from list_events or search_events (referenced in schema), but lacks explicit when-to-use guidance or named alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/adamzaidi/icloud-mcp'

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