Skip to main content
Glama

Run a schedule now

run_schedule
Destructive

Runs a schedule or cron job on the project now, to try a script or see its result: runs a schedule's script (its Run line: a node, python or bash script of the project), as the schedule's owner, whatever its timetable. A runner must be configured. It asks the person to confirm in this AI tool, or answers with a preview and a proposal id, which this tool takes to run it once the person says yes. Returns the run's result, how long it took and the end of the script's log once it finishes, or that it is still going. For people who write in the schedule's folder.

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": {
      "path": "<path>"
    },
    "name": "run_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe schedule's path, like instagram/post.schedule.md, or its § address.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.
proposalNoThe proposal id that came with the preview, once the person said yes to it.

Output Schema

NameRequiredDescriptionDefault
logNo
ranYes
runNo
saidNo
stateNo
commitNo
previewNo
proposalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / commit
      Added value: +{
      +  "type": "string"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructive/openWorld/not-idempotent, and the description adds substantial context on top: it runs as the schedule's owner, ignores the timetable, and follows a two-phase confirm-or-preview-plus-proposal-id protocol before executing. It also describes what comes back (result, duration, log tail, or still-running). It does not spell out what the destructive side effects of the script could be or whether they are reversible, leaving that gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action and the confirmation protocol are front-loaded, but the body is one long run-on with nested parentheticals and an awkward trailing fragment ("For people who write in the schedule's folder"). Several clauses repeat what the schema or annotations already establish, so it reads longer than needed.

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 destructive, non-idempotent execution tool it covers the essentials an agent needs before calling: prerequisite runner, execution identity, timetable override, the confirm/proposal handshake, and outcome shape. The return description is partly redundant given an output schema exists, and the side-effect profile of the script is left implicit, but nothing blocking is missing.

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 coverage is 100%, so path, project and proposal are already documented in the schema, including the proposal's role in the confirmation flow. The description adds only light framing around the proposal handshake and the fact that the script is the schedule's Run line, which is marginal value over the structured fields. Baseline 3 applies.

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?

Opens with a concrete verb and resource ("Runs a schedule or cron job on the project now") and immediately scopes it with "whatever its timetable," which separates it from a check/inspect tool like check_schedule. It also names the object being executed ("a schedule's script (its Run line: a node, python or bash script)"), so an agent knows exactly what work is triggered.

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?

Gives a clear motivation ("to try a script or see its result") and an audience/context constraint ("For people who write in the schedule's folder"), plus a hard prerequisite ("A runner must be configured"). It stops short of explicitly contrasting with check_schedule or stating when-not to use it, so it is strong but not exhaustive.

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.

Resources