Skip to main content
Glama

mechacut

date_recurrence

Expand an RFC 5545 RRULE into dated occurrences — the closed subset, with every trap declared IN the answer. Models silently fail here: biweekly rules land every week (INTERVAL ignored: 4 of 8 dates wrong on the published demo), MONTHLY from the 31st is dropped in short months (the RFC: invalid dates MUST be ignored, never moved), mixed BYDAY like MO,2TU reads as NO dates in python-dateutil 4.0.0. Supported: FREQ DAILY/WEEKLY/MONTHLY/YEARLY, INTERVAL, COUNT xor UNTIL (both = refused by name), BYDAY with ordinals only for MONTHLY/YEARLY, BYMONTH, BYMONTHDAY signed, WKST. BYSETPOS, BYWEEKNO, BYYEARDAY, BYHOUR, BYMINUTE, BYSECOND and sub-daily FREQs are refused by name, never softly ignored. DTSTART anchors the grid and sync status is reported — rrule.js force-includes it (off-by-one), dateutil drops it silently; the RFC calls that zone UNDEFINED and we declare it. Wall-clock expansion per the RFC: DST moves the UTC instant, not the local time (per-day instants: date/tz). Cap 500 occurrences, truncation and skipped dates listed. Free, no payment.

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": {
      "dtstart": "<dtstart>",
      "rrule": "<rrule>"
    },
    "name": "date_recurrence"
  }
}

Input Schema

NameRequiredDescriptionDefault
rruleYesRFC 5545 RRULE value; a leading 'RRULE:' is accepted and stripped
dtstartYesYYYY-MM-DD, YYYY-MM-DDTHH:MM[:SS], ...Z, or the RFC compact 19970902T090000Z
max_countNodefault and hard cap 500

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so thoroughly: it explains RFC date handling, wall-clock DST expansion, sync status reporting, a 500-occurrence cap, truncation, and skipped-date listing. It also discloses the refusal policy rather than leaving unsupported features to fail silently.

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?

The purpose is front-loaded and the dense detail is mostly earned by the tool's complexity. The single long paragraph is harder to scan than a structured list, and the model-failure examples are verbose, but the content is not repetitive.

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

Completeness5/5

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

Given the complex recurrence semantics and the absence of both annotations and an output schema, the description is unusually complete. It explains supported and refused inputs, the cap, DST behavior, and what output-side conditions such as truncation and skipped dates are reported.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: DTSTART 'anchors the grid', RRULE support is scoped to specific parts, and max_count is tied to the hard cap. It does not explain every parameter behavior in detail, but the RRULE subset guidance is substantive.

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: 'Expand an RFC 5545 RRULE into dated occurrences', then narrows it to 'the closed subset' with a supported/refused list. This is enough to distinguish it from generic date parsing or calculation tools without opening the 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 clear context for use by listing supported RRULE parts and naming refused parts 'by name, never softly ignored'. It does not point to sibling alternatives, so it stops short of the explicit when/when-not/alternatives required for a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.