Skip to main content
Glama

Search Calendar Events

ical__search_events
Read-only

Search upcoming calendar events by title, location, or optional notes and return matches sorted by start time. Use it to find events by keyword without browsing a date range.

Instructions

Find upcoming calendar events whose title or location contains the query. With include_notes, also match and return notes. Returns events in start-time order. Use ical__list_events for a specific date range. Read-only. Requires macOS Calendar access.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "ical__search_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesNon-empty, case-insensitive substring. Notes are searched only when include_notes is true.
calendarNoUnique calendar name from `ical__list_calendars`. Use calendar_uid if more than one calendar has this name.
days_aheadNoNumber of days from today to search (1–365, default 30).
calendar_uidNoCalendar UID from `ical__list_calendars`. Provide either calendar_uid or calendar.
include_notesNoInclude event notes in output (default: false, to avoid exposing meeting PINs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the 'Read-only' sentence adds nothing, but the description contributes genuinely new context: a platform prerequisite ('Requires macOS Calendar access'), the note-matching condition tied to include_notes, and the guarantee that results come back in start-time order. It does not describe result size or limits, which keeps it below a 5.

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

Conciseness4/5

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

Four short sentences, front-loaded with the search behavior and followed by the sibling pointer and prerequisites; nothing is buried. The standalone 'Read-only.' fragment duplicates the annotation and is the one piece that does not earn its place.

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 five-parameter read-only search with full schema coverage and no output schema, the description covers match fields, optional note searching, ordering, platform prerequisite, and the main alternative. What a returned event record contains is left unspecified, which is the only notable gap.

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 coverage is 100%, so query, calendar, calendar_uid, days_ahead and include_notes are all documented in the schema itself. The description's only added semantics is that include_notes also broadens matching, which the query parameter's schema text already states, so the baseline 3 applies.

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?

States a specific verb and resource ('Find upcoming calendar events') plus the exact match domain ('title or location contains the query'), and explicitly routes date-range listing to a named sibling. An agent can distinguish this from ical__list_events without opening either schema.

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

Usage Guidelines4/5

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

Gives an explicit alternative signal: 'Use ical__list_events for a specific date range,' which is a concrete condition selecting the sibling. It does not mention ical__get_event or state exclusions for single-event retrieval, so it stops short of full when/when-not coverage.

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