Skip to main content
Glama
smurfy92

openclaw-control-mcp

by smurfy92

openclaw_cron_add_weekly

Schedule a weekly cron job that fires at a fixed day and local time, sending a message to an agent. Optionally deliver the result to a channel like Telegram or Discord.

Instructions

Create a cron job that fires once a week at a fixed local time. Synthesizes a cron-kind schedule and an agentTurn payload, then calls cron.add. Pass dayOfWeek (mon..sun), hour (0-23), minute (0-59), tz (IANA, defaults to Europe/Paris), and message. Optional channel delivery: pass channel + to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoChannel-specific recipient (Telegram chat id, email address, Discord channel id, …). Required when `channel` is set.
tzNoIANA timezone. Defaults to Europe/Paris.Europe/Paris
hourYesLocal hour (0-23).
nameYesJob name shown in the Control panel.
modelNoOverride the default model, e.g. 'claude-sonnet-4-6'.
minuteNoLocal minute (0-59). Defaults to 0.
agentIdNoOverride the default agent. Defaults to gateway's default.
channelNoDelivery channel name (e.g. 'telegram', 'email', 'discord'). Omit to keep the result internal.
messageYesThe text the agent receives at fire time. Used as the agentTurn `message` field.
instanceNoOptional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list.
dayOfWeekYesDay of the week (lowercase 3-letter, e.g. 'fri').
deliveryModeNo'announce' broadcasts to channel; 'direct' DMs; 'none' keeps result internal. Defaults to 'announce' when channel is set.
timeoutSecondsNoHard cap for the agent run. Default 900s (15min) — enough for cold-start + non-trivial work.
Behavior3/5

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

No annotations provided, so description must fully convey behavior. It describes the synthesis of schedule and payload, and the call to cron.add, but does not disclose return behavior, side effects, auth requirements, or what happens if channel is omitted. Partial transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first states purpose and mechanism, second lists parameters. No extraneous information, front-loaded with key details. Very concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, so description should mention return behavior; it does not. With 13 parameters, the description focuses on the core ones but omits model, agentId, instance, deliveryMode, timeoutSeconds. Schema covers them, but the lack of return info and some parameter context makes it moderately complete.

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 baseline is 3. The description adds value by grouping key parameters and explaining their roles (e.g., 'Pass dayOfWeek, hour, minute, tz, and message') and the optional channel delivery pair, beyond the schema's individual descriptions.

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?

The description clearly states it creates a weekly cron job at a fixed local time, specifying the schedule and payload synthesis. It distinguishes from siblings like openclaw_cron_add_daily and openclaw_cron_add_once through the name and parameter 'dayOfWeek'.

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?

The description lists required parameters (dayOfWeek, hour, minute, tz, message) and optional channel delivery, implying usage for weekly tasks. However, no explicit guidance on when to use this vs. other cron add tools or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smurfy92/openclaw-control-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server