Skip to main content
Glama

PillDrops

create_cron_job

Run a command in a sandbox on a schedule. With agent_mode the command is a prompt to the sandbox's agent instead of a shell command.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sandbox_id": "<sandbox_id>",
      "schedule": "<schedule>",
      "command": "<command>"
    },
    "name": "create_cron_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNolabel for the job
commandYescommand to run, or the prompt with agent_mode
scheduleYescron expression, e.g. 0 2 * * *
timezoneNoIANA zone the schedule is read in; default UTC
agent_modeNoguided or autonomous
sandbox_idYessandbox id, not its name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for this create mutation. It explains agent_mode semantics but omits important behavior such as whether the job is enabled immediately, what permissions are required, failure handling, and what happens if the sandbox is not running.

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 sentences with no wasted wording. The primary behavior is front-loaded, and the agent_mode caveat follows immediately.

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 create mutation with six parameters, no annotations, and no output schema, the definition is under-described. It does not cover creation side effects, default job state, scheduling constraints, or how the created job relates to sibling tools.

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 description coverage is 100%, so the schema already documents all six parameters well. The description adds meaningful meaning beyond the schema by clarifying that with agent_mode the command becomes a prompt to the sandbox's agent rather than a shell command.

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 states the core action clearly: running a command in a sandbox on a schedule. It distinguishes the agent_mode variant, but it does not explicitly say this creates a new cron job or differentiate it from sibling tools like run_cron_job or list_cron_jobs.

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?

There is no explicit guidance on when to use this tool versus run_cron_job, toggle_cron_job, or delete_cron_job. Prerequisites such as sandbox state or permissions are also not mentioned, leaving usage to inference from the name and description.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.