Skip to main content
Glama

edit_cron_job

Update an existing cron job by changing its command or schedule. Provide the line key from list_cron_jobs and specify new minute, hour, day, month, weekday, or command.

Instructions

Edit an existing cron job

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayNoDay of month (1-31 or *)*
hourNoHour (0-23 or *)*
monthNoMonth (1-12 or *)*
minuteNoMinute (0-59 or *)0
commandYesCommand to execute
linekeyYesUnique line key of the cron job (from list_cron_jobs)
weekdayNoDay of week (0-6, 0=Sunday, or *)*
Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It only states 'Edit an existing cron job,' implying a mutation operation, but fails to mention whether changes are reversible, if it overwrites all unspecified fields (e.g., defaults), or any permission requirements. This matches the level of a bare mutation tool with no extra transparency.

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 extremely concise at six words, with no redundant phrasing. It front-loads the main action and object, but the brevity results in minimal information beyond what the tool name already conveys, so it does not earn a perfect score.

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

Completeness2/5

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

For a mutation tool with no annotations or output schema, the description is under-specified. It does not explain how to identify the target cron job (e.g., linekey from list_cron_jobs), how editing interacts with existing settings, or what the expected result is. The schema provides parameter details, but the description fails to contextualize them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with each of the 7 parameters documented in the input schema. The description itself adds no parameter-level meaning, but since the schema already defines fields like 'minute' and 'command', the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the action (edit) and the resource (existing cron job), distinguishing it from sibling tools like create_cron_job and delete_cron_job. However, it does not specify which fields can be edited or that it modifies schedule/command, making it slightly less informative than an ideal purpose statement.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives, nor does it mention prerequisites such as needing the linekey from list_cron_jobs. The description simply states the action without contextual usage hints.

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/0xHayd3n/cPanel-MCP-Server'

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