Skip to main content
Glama

util_cron_convert

Read-only

Cron Expression Converter — Convert a schedule between unix cron, GitHub Actions, Kubernetes CronJob, Quartz, AWS EventBridge cron(...) and systemd OnCalendar. Auto-detects the input format (5-field unix, 6/7-field Quartz, AWS cron(...), @daily-style macros), fixes day-of-week numbering (unix 0=Sun vs Quartz/AWS 1=Sun), adds the required ? field, and splits unix either-day-of-month-or-week schedules into two triggers where the target cannot express them. Returns expanded fields plus per-target notes (UTC, time zones, 5-minute GitHub minimum). Params: expr=, optional from=auto|unix|quartz|aws. 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": {
      "expr": "<expr>"
    },
    "name": "util_cron_convert"
  }
}

Input Schema

NameRequiredDescriptionDefault
exprYes0 9 * * 1-5

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description adds genuinely useful behavior beyond them: it repairs day-of-week numbering differences, injects the required ? field, splits either-day-of-month-or-week unix schedules into two triggers, and returns per-target notes including UTC/time-zone and GitHub's 5-minute minimum. It also discloses the $0.002 USDC x402 cost, which no annotation conveys. Only error behavior on an unparseable expression is 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?

The description is dense but front-loaded: the purpose and target list come first, then the normalization behaviors, then return values, then price. Every clause carries information; the pricing sentence is slightly out of place in a capability description but is short and clearly delimited.

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 must explain returns, and it does: expanded fields plus per-target notes about UTC, time zones, and GitHub's 5-minute minimum. Together with the format inventory and the documented normalization quirks, an agent can call this correctly. The one gap is the undocumented-in-schema from parameter and the absence of any statement about failure on invalid input.

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 earns more: it explains what expr accepts (auto-detected 5-field, 6/7-field Quartz, AWS cron(...), macros) and supplies the enum values for the optional from=auto|unix|quartz|aws. That from parameter is absent from the supplied input schema, so the description is doing real work here even if that creates a minor schema/description mismatch.

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?

Names a specific verb and resource (convert a cron schedule) and enumerates the exact source/target dialects it handles: unix cron, GitHub Actions, Kubernetes CronJob, Quartz, AWS EventBridge cron(...), and systemd OnCalendar. The scope is specific enough that an agent can distinguish it from util_cron or util_convert without opening any 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 when to reach for it: any schedule translation across the listed dialects, with auto-detection of 5-field unix, 6/7-field Quartz, AWS cron(...) and @daily macros. It does not explicitly say when NOT to use it or name a sibling alternative (e.g. util_cron), so it stops short of full routing 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