Skip to main content
Glama

add cron job

add_cron_job
Destructive

Schedule a shell command to run automatically at specified times by creating a cron job.

Instructions

Create a cron job that executes an arbitrary shell command. Executes verified command v-add-cron-job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayYes
hourYes
userYes
jobIdNo
monthYes
minuteYes
commandYes
confirmYesExplicit confirmation for a destructive operation
restartNoyes
weekdayYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds that it executes a verified command v-add-cron-job and mentions 'arbitrary shell command', which hints at flexibility and potential risk, but does not elaborate on side effects, permission requirements, or failure modes. It adds some context without contradicting annotations.

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?

The description is two short sentences with no wasted words. The primary purpose is front-loaded, and the second sentence adds a relevant implementation detail. It is efficiently structured.

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?

Given the tool's complexity (10 parameters, 8 required, low schema coverage, and an output schema), the description is far too sparse. It does not explain the schedule fields, the confirm requirement, the restart option, or the meaning of jobId. The agent is left without essential guidance on how to construct a valid call, making the description incomplete for a tool of this complexity.

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

Parameters2/5

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

Schema description coverage is only 10% (only the confirm parameter has a description), so the description must compensate for the lack of parameter documentation. However, the description only hints at the command parameter via 'arbitrary shell command' and gives no information about schedule fields (minute, hour, day, month, weekday), user, restart, or jobId. This leaves most parameters poorly explained.

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 states a clear verb 'Create' with resource 'cron job' and specifies it executes an arbitrary shell command. This distinguishes it from siblings like list_cron_jobs and delete_cron_job, making the tool's purpose unambiguous.

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?

The description implies the tool is used for creating cron jobs but provides no explicit guidance on when to use it versus alternatives (e.g., listing or deleting cron jobs). There is no mention of prerequisites or exclusions, leaving the agent to infer usage from the name and purpose.

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