Skip to main content
Glama

cron_add

Add or replace a root cron job in a managed crontab section using a unique job identifier, a five-field schedule, and an absolute command path.

Instructions

Voeg een root-cronjob toe of vervang die binnen de MCP-beheerde sectie.

job_id identificeert de job en accepteert alleen letters, cijfers, punt, underscore en koppelteken. schedule moet exact vijf cronvelden bevatten. Het eerste woord van command moet een absoluut pad zijn. Deze tool herschrijft de root-crontab, maar behoudt regels buiten # --- BEGIN/END MCP MANAGED ---; een bestaand job_id wordt vervangen.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
commandYes
scheduleYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the tool rewrites the root crontab, preserves lines outside the MCP-managed section, and replaces an existing job_id. This is good but could mention if there are side effects like overwriting other managed jobs.

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 clear and front-loaded with the purpose. It is concise but covers necessary constraints. Slightly verbose but every sentence adds value.

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?

Given the presence of an output schema, the description adequately covers input constraints and behavioral traits. It is fairly complete for a tool that adds cron jobs, though it could mention the response or error conditions.

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 0%, so the description must compensate. It explains that job_id accepts only letters, digits, dots, underscores, and hyphens; schedule must have exactly five cron fields; and command's first word must be an absolute path. This adds significant meaning beyond the schema's type 'string'.

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 adds or replaces a root cronjob within the MCP-managed section, using a specific verb ('add or replace') and resource ('root cronjob'). It distinguishes from siblings like cron_remove (removes) and cron_list (lists).

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 provides constraints on job_id format, schedule format, and command path, which imply proper usage. However, it does not explicitly state when to use this tool versus alternatives (e.g., cron_remove) 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/gerard-kanters/mcp-linux-tools'

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