Skip to main content
Glama

update_cron

Modify an existing cron task by ID, updating only the fields you specify. Pass the task ID and any new values for name, labels, command, schedule, or pre/post scripts.

Instructions

Update an existing cron task by id. Only include the fields you want to change; id is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCron task id (required)
nameNoNew name
labelsNoNew labels
commandNoNew command
scheduleNoNew cron expression
task_afterNoPost-task script
task_beforeNoPre-task script
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the partial-update behavior (unchanged fields retain values), which is valuable. However, it does not mention permissions, reversibility, or side effects. The description is adequate for a simple update but not highly transparent.

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 concise sentences that are front-loaded with the core purpose. Every word earns its place, no repetition of schema details.

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 straightforward update tool with full schema coverage and no output schema, the description is adequate. It covers the essential usage (id required, partial update). It misses potential error conditions or permission requirements, but these are not critical for basic invocation.

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?

Schema description coverage is 100%, so each parameter is already documented. The description adds the general guidance about only including fields to change, which is more behavioral than param-specific. Baseline 3 is appropriate.

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 the tool's purpose: 'Update an existing cron task by id.' It specifies the verb (update), the resource (cron task), and the key requirement (id). This distinguishes it from create_cron and delete_crons siblings.

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?

Provides clear usage guidance: 'Only include the fields you want to change; id is required.' This implies partial update semantics and sets the prerequisite. It does not explicitly mention alternatives or exclusions, but the sibling tool names make context clear.

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/YSJohnson/qinglong-mcp'

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