Skip to main content
Glama

get_allday_events

Retrieve all-day events between two dates to identify holidays, PTO, or deadlines, optionally filtered by calendar ID.

Instructions

List all-day events within a date range. Filters to only return events marked as all-day (e.g. holidays, PTO, deadlines).

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_allday_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date in YYYY-MM-DD format
start_dateYesStart date in YYYY-MM-DD format
calendar_idNoFilter to a specific calendar ID (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose the filtering behavior and that a date range is mandatory, but says nothing about result ordering, pagination, permissions on shared calendars, or what an empty result means. For a read-only list this is workable but incomplete.

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?

Two short sentences with the scope front-loaded. The second sentence partially restates 'all-day' from the first, but the concrete examples earn their space; only minor redundancy.

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 three-parameter read tool with full schema descriptions and no output schema, this covers purpose and filter semantics adequately. It lacks only edge-case behavior (inclusive dates, timezone, pagination), which are minor for this complexity level.

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 all three parameters (start_date, end_date, calendar_id) are already documented with formats. The description adds no further meaning about date-boundary inclusivity (whether end_date is inclusive), timezone handling, or what omitting calendar_id does, 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 and resource (list all-day events) and bounds the scope to a date range, with examples of what counts as all-day (holidays, PTO, deadlines). It implicitly separates itself from the broader list_events/search_events siblings via the all-day filter, though it never names an alternative, so it falls just short of full differentiation.

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 all-day predicate implies the usage context (you want holidays/PTO/deadlines rather than timed meetings), but there is no explicit when-to-use or when-to-prefer-a-sibling statement. The agent must infer that general event listing belongs elsewhere.

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