Skip to main content
Glama
Protonmail MCP Server

Protonmail MCP Server

by jagjourney

extract_calendar_events

Find and parse calendar events such as meeting invites from emails by scanning for ICS/iCalendar attachments and inline calendar data, with options to set folder, date range, and scan limit.

Instructions

Find and parse calendar events (meeting invites, etc.) from emails. Looks for ICS/iCalendar attachments and inline calendar data.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "extract_calendar_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax emails to scan
sinceNoOnly check emails on or after this date (YYYY-MM-DD)
folderNoFolder to search inINBOX

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.3

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real behavioral value by explaining the detection mechanism — both attachments and inline calendar data are checked — but it says nothing about read-only semantics, what happens when no calendar data is found, or whether nested/forwarded invites are followed.

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?

Two short sentences with the capability front-loaded and the mechanism second; no filler, no restatement of the tool name.

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

Completeness3/5

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

For a read-only extraction tool with three optional, well-documented parameters, the description covers what is scanned but not what comes back — with no output schema present, an agent cannot tell whether results are parsed event objects, raw ICS blobs, or a count, nor what happens when extraction fails.

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?

Schema description coverage is 100%, so limit, since, and folder are already fully documented in the schema. The description adds no scoping detail beyond that (e.g., how 'since' interacts with message dates), so baseline 3 applies.

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

Purpose4/5

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

States a specific verb pair and resource: 'Find and parse calendar events ... from emails', with concrete examples (meeting invites) and the mechanism (ICS/iCalendar attachments, inline data). This clearly separates it from read_email or extract_contacts, though it never names a sibling to route against.

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 'from emails' and 'looks for ICS/iCalendar attachments' implies the use case (harvesting invites rather than reading a message body), but there is no explicit when-to-use versus alternatives such as download_attachment or read_email, and no stated exclusions or prerequisites.

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