Skip to main content
Glama

cron_next_runs

Read-onlyIdempotent

utilpeek: the next run times of a cron expression. For iCalendar RRULEs use expand_rrule. Standard 5-field cron (minute hour day-of-month month day-of-week) or a macro (@daily, @hourly, ...); no seconds or year fields, no R/H/W. Day-of-month and day-of-week use Vixie OR semantics; an expression that never fires (Feb 30) is a 422 no_next_run (not charged); rare ones return what exists with exhausted: true. An invalid expression, start or zone is a 422 (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/cron-next-run-api.html

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": {
      "expression": "<expression>"
    },
    "name": "cron_next_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of next runs.
startNoISO 8601 start (default now).
timezoneNoIANA time zone (default UTC).
expressionYes5-field cron expression or macro, e.g. */15 9-17 * * MON-FRI.

Output Schema

NameRequiredDescriptionDefault
runsNo
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
startNo
sourceNo
timezoneNo
exhaustedNo
expressionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / properties / count / description
      Previous value: -"Number of next runs (1-50, default 10)."New value: +"Number of next runs."
    • removedInput schema / properties / count / title
      Removed value: -"Count"
    • removedInput schema / properties / expression / title
      Removed value: -"Expression"
    • removedInput schema / properties / start / default
      Removed value: -null
    • changedInput schema / properties / start / description
      Previous value: -"Optional ISO 8601 start (default now)."New value: +"ISO 8601 start (default now)."
    • removedInput schema / properties / start / title
      Removed value: -"Start"
    • removedInput schema / properties / timezone / default
      Removed value: -null
    • changedInput schema / properties / timezone / description
      Previous value: -"Optional IANA time zone (default UTC)."New value: +"IANA time zone (default UTC)."
    • removedInput schema / properties / timezone / title
      Removed value: -"Timezone"
    • removedInput schema / title
      Removed value: -"cron_next_runsArguments"
    • removedOutput schema / properties / runs / items
      Removed value: -{
      -  "properties": {
      -    "time": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "unix": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "utc": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / source / properties
      Removed value: -{
      -  "library": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "license": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "tzdata": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "count": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "exhausted": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "expression": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "runs": {
      +      "items": {
      +        "properties": {
      +          "time": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "unix": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "utc": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": [
      +          "object",
      +          "null"
      +        ]
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "properties": {
      +        "library": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "license": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "tzdata": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "url": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "start": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "timezone": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources