Skip to main content
Glama

Cloud for Bots

cron

[bot-cron] Run something on a schedule, even when your bot is offline. Actions: set (name, schedule like "*/5 * * * *" or "@hourly" in UTC, request: {url, method?, headers?, body?} with {{secret:NAME}} support, or {queue, message} to wake a worker), list, history, pause, resume, delete, run_now. Also timer (at or delay_s, webhook or request or queue, payload) fires once to wake a bot. Pauses itself and alerts you after 10 failed runs. Free: 1,000 schedules + timers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNo
nameNo
queueNo
actionYes
delay_sNo
payloadNo
requestNo
webhookNo
scheduleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses self-pause plus alerting after 10 failed runs, UTC-only scheduling, {{secret:NAME}} substitution in requests, and the free-tier cap of 1,000 schedules + timers. What's missing is auth/permission requirements and whether operations are reversible, keeping it from a 5.

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?

Purpose is front-loaded in the first clause, followed by a compact action-by-action breakdown with concrete examples ('*/5 * * * *', '@hourly'). It is information-dense and slightly run-on in places, but nearly every phrase earns its place.

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?

For a 9-parameter, action-dispatch tool with no annotations and no output schema, the description supplies actions, scheduling syntax, request/queue payload shapes, failure behavior, and quotas. Return-value formatting is undocumented, but since no output schema exists the omission is minor.

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 description coverage is 0% across 9 parameters, so the description must compensate, and it does: it names name, schedule (with cron and @hourly syntax), request {url, method, headers, body}, queue/message, at, delay_s, webhook, and payload. It effectively documents the parameter surface inline, though it does not map every parameter to a specific action, so not a perfect 5.

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 specific verb+resource and scope: 'Run something on a schedule, even when your bot is offline,' then enumerates every supported action (set, list, history, pause, resume, delete, run_now, timer). An agent can immediately tell this is the recurring/one-shot scheduler distinct from sibling tools like wake_schedule_wake.

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?

Usage is implied through per-action semantics (set = recurring, timer = fires once, run_now = immediate), which gives a competent agent enough to pick the right action. However, there is no explicit when-to-use/when-not guidance and no routing to alternatives such as wake_schedule_wake, so the guidance stops short of a 4.

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