Skip to main content
Glama

manage_cronjob

Destructive

Manage Kubernetes CronJobs by triggering manual runs, suspending schedules, or resuming paused ones to control job execution.

Instructions

Perform operations on a Kubernetes CronJob. Supported actions: 'trigger' creates a manual Job run from the CronJob's template, 'suspend' pauses the CronJob schedule (no new Jobs will be created), 'resume' re-enables a suspended CronJob's schedule.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYescronjob name
actionYesaction to perform: trigger, suspend, or resume
namespaceYescronjob namespace
Behavior4/5

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

Annotations include destructiveHint=true, and the description adds valuable behavioral context by explaining the consequences of each action: trigger creates a manual Job run, suspend pauses the schedule (no new Jobs), resume re-enables the schedule. This goes beyond the bare annotation and informs the agent of the operational impact, though it does not discuss error handling or reversibility.

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 a single, efficient sentence that front-loads the core purpose and then lists the supported actions with concise explanations. Every clause adds information, with no filler or redundant phrasing.

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 simple management tool with three parameters, no output schema, and destructiveHint annotated, the description covers the essential behavior. It explains what each action does and the impact on the CronJob. Minor gaps include lack of information on preconditions (e.g., CronJob existing) or idempotency, but overall it is sufficiently complete for the tool's complexity.

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?

While the schema already describes each parameter, the description adds substantial meaning to the action parameter by explaining what each action does. This helps the agent understand the semantic difference between trigger, suspend, and resume beyond the enum-like schema description. Name and namespace are self-explanatory, so no further detail is needed.

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 performs operations on a Kubernetes CronJob and enumerates the exact supported actions (trigger, suspend, resume) with their effects. This distinguishes it from sibling tools like manage_workload or manage_node by specifying the resource and the precise operations.

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 implies when to use this tool: when a user needs to trigger, suspend, or resume a CronJob. It clearly defines the scope of actions, but does not explicitly mention alternatives or exclusions (e.g., 'use patch_resource for other modifications'). This is clear context without explicit exclusions, so a 4 is appropriate.

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/skyhook-io/radar'

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