Skip to main content
Glama

time_recurrence

Read-only

Recurrence rule (RRULE) expander — Expand an RFC 5545 RRULE into concrete dates: FREQ, INTERVAL, COUNT, UNTIL, BYDAY with ordinals (-1FR = last Friday), BYMONTHDAY, BYMONTH, BYSETPOS, BYHOUR, BYMINUTE, WKST, DTSTART;TZID lines. Pass rrule= and start=; optional tz= (IANA, DST-correct UTC times), count= (max 200), after=, exdate=, roll=next|previous to move weekend and US federal holiday dates to a business day. Returns local + UTC times and a plain-English description. Price: $0.002 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
rruleYesFREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
startYes2026-12-01T09:00

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), and the description adds real behavioral context beyond them: DST-correct IANA timezone handling, a hard limit of count= 200, return shape (local + UTC times plus a plain-English description), and the x402 payment price of $0.002 USDC on Base. Only error/failure behavior and what happens when the 200 limit is exceeded are left unstated.

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?

Single front-loaded paragraph that opens with the verb+resource and then walks through supported grammar, call signature, and return/pricing details. It is dense but nearly every clause is operational; the long RRULE token list is justified because it defines the accepted input surface.

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 no output schema, the description correctly takes on the burden of describing return values (local + UTC times, plain-English output), and it discloses the 200-count cap and the paid x402 model. The main gap is the mismatch between documented optional arguments and the two-parameter schema, plus no mention of invalid-RRULE error handling.

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%, though the two properties carry only example values, not semantic descriptions; the description compensates by naming the RFC 5545 grammar and the accepted RRULE parts, which helps with rrule formatting. The weakness is that it advertises optional tz=, count=, after=, exdate=, and roll= arguments that do not exist in the input schema, which could lead an agent to pass unsupported parameters.

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 concrete dates' — and enumerates exactly which RRULE parts it handles (FREQ, INTERVAL, BYSETPOS, BYDAY with ordinals, etc.), including a concrete example ('-1FR = last Friday'). An agent can tell this is a pure recurrence-expansion utility and not a date-math, holiday, or business-day tool without inspecting anything else.

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?

Gives concrete invocation guidance ('Pass rrule= and start=') and describes the roll=next|previous behavior for weekend/holiday shifting, which is genuinely useful selection context. However, it never states when to prefer this over siblings such as time_business_days or time_date_math, so the agent must infer boundary cases.

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