Skip to main content
Glama

Recurring Date Expander (RRULE)

recurring_dates
Read-onlyIdempotent

Turn a repeating schedule into its list of dates. Send the first date (start) and the rule in iCalendar RRULE form (RFC 5545): 'every 2nd Tuesday of the month' = FREQ=MONTHLY;BYDAY=2TU; 'every other Tuesday' = FREQ=WEEKLY;INTERVAL=2;BYDAY=TU; 'last business day of the month' = FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1; 'every 2 weeks on Monday and Wednesday' = FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE; 'the 15th and the last day of each month' = FREQ=MONTHLY;BYMONTHDAY=15,-1. End it with COUNT, UNTIL or through, or get the first max_dates. Optionally move dates that land on a weekend, a US federal holiday or your own closed dates (following, preceding or modified following business day), each move shown with its reason. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/recurring-dates). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.

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": "<start>",
      "rrule": "<rrule>"
    },
    "name": "recurring_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional label, e.g. 'board meeting' (your own text, echoed).
rruleYesRecurrence rule, RFC 5545 form, e.g. FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE;COUNT=10. Parts: FREQ (DAILY, WEEKLY, MONTHLY, YEARLY), INTERVAL, COUNT, UNTIL (YYYYMMDD), BYDAY, BYMONTHDAY, BYMONTH, BYSETPOS, WKST.
startYesFirst date of the series (DTSTART), YYYY-MM-DD. Listed only if it fits the rule.
adjustNoMove a date that is not a business day: none (default), following (next business day), preceding (business day before), modified_following (next, unless that is in the next month, then the one before).none
throughNoOptional: list no rule dates after this date (YYYY-MM-DD).
max_datesNoMost dates to list (1 to 366, default 60).
closed_datesNoYour own non-business days for adjusting (YYYY-MM-DD, up to 200).
holiday_calendarNoHolidays that are not business days when adjusting: none, us_federal_offices (5 U.S.C. 6103; Saturday holidays on Friday, Sunday ones on Monday) or us_federal_reserve_banks (Sunday on Monday, Saturday not moved).none

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, yet the description adds real behavioral context: it is free, runs no model and no network, stores nothing, signs answers with a verifiable key, and returns structured failures (bad input, too large, hourly limit). It also discloses an input-restriction policy (labels refuse emails, URLs and long digit runs) that appears nowhere in the schema. Only the specifics of the rate limit and the meaning of fields like verdict and does_not are left vague.

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 core action and the rrule/start contract are front-loaded, and the five schedule examples each earn their space by demonstrating a tricky rule. It is dense and runs long as one paragraph, with internal shorthand ('does_not', 'verdict', 'Labels are your own text') that costs some readability, but little is pure filler.

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?

With eight parameters and no output schema, the description carries the return-value burden and does so by listing answer fields (ok, verdict, result, rule, does_not, sources, observation, signature, verify) and the error shape. Combined with the adjustment and limit disclosures, an agent has enough to call it correctly, though the semantics of the individual answer fields remain undefined.

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 goes beyond it by translating natural-language schedules into concrete RRULE strings, including the non-obvious BYSETPOS=-1 idiom for 'last business day of the month' and BYMONTHDAY=15,-1. It also clarifies that weekend/holiday adjustment reports a reason per moved date, tying adjust and holiday_calendar to observable output.

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?

Opens with a concrete verb and resource: 'Turn a repeating schedule into its list of dates,' and immediately names the required inputs (start date plus RFC 5545 RRULE). The scope is narrow and distinguishable from calendar or business-day utilities 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 Guidelines3/5

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

It explains how to bound a series ('End it with COUNT, UNTIL or through, or get the first max_dates') but never says when to choose this tool over a sibling such as business_days, nor does it state prerequisites or exclusions. Usage is implied by the worked examples rather than stated as selection guidance.

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.

Resources