Skip to main content
Glama

Validate a cron expression

validate_cron
Read-onlyIdempotent

Check whether a cron expression is valid. Returns valid true with the expanded values of every field (minute, hour, day of month, month, day of week, and seconds for 6-field expressions), or valid false with an error code, the field at fault and a message. Detects schedules that can never run (e.g. February 30). Read-only. Same engine as GET /api/validate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesCron expression, e.g. "0 9 * * 1-5", "*/15 * * * *", "0 30 8 * * *" (6 fields = leading seconds) or "@daily".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
validYes
fieldsNo
formatNo
versionYes
expressionYes
normalizedNo
dayMatchingNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources