Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Run a scheduled job now

tzcloud_run_schedule
Destructive

Start one declared schedule now as a manual run. You get running at once. Read its result with tzcloud_read_schedules. Deploy or promote after declaring it, or get schedule_not_deployed. Resume a halted environment first (target_environment_halted). Each call is metered. A run is one backend action. It refuses run_in_flight while the schedule's last run is running. A manual run leaves the timetable and next_due unchanged. A retry checks the gates again. The same request_id returns the same run. wait_seconds waits for it to end. The account owner must have requested or agreed to this production run. Development needs no ask.

An answer not from this platform, such as a gateway error page or closed connection, gives no start outcome. First call tzcloud_read_schedules. Repeat only with the same request_id: it returns the first run or starts one if none started.

woke is true if the run woke the app, false if already running, or null (unknown, no action).

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": {
      "application": "<application>",
      "schedule": "<schedule>",
      "request_id": "<request_id>"
    },
    "name": "tzcloud_run_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
due_atNoUTC instant in RFC 3339 at a whole minute the schedule's cron yields, at or before this call and within run-record retention. It is the run's due instant. The run is manual. Its `trigger` is `manual`. Other values are refused `invalid_request`, saying why.
scheduleYesThe nonempty name of a schedule declared for the environment; until a deploy or promote since its declaration carries it, the run is refused `schedule_not_deployed`.
request_idYesA nonempty id for this request, reused only to retry it, since a repeated value returns the earlier run of any schedule or environment of the application.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentNo`development` or `production`, production if absent or empty; development on one environment draws `environment_not_created`.
wait_secondsNoSeconds to hold the answer until the run this call returns ends; a value out of range is refused `invalid_request`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, and the description still adds substantive context beyond them: metering per call, one backend action per run, refusal `run_in_flight` while the last run is active, that timetable and `next_due` are untouched, idempotency of `request_id`, and the meaning of the `woke` flag. It stops short of describing the run-record fields returned, but for a mutation tool this is well above the annotation baseline.

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?

Front-loaded with the action, then the gates, then failure handling and the `woke` legend, which is the right order for an agent skimming before a call. It is dense and mostly earns its length, though the telegraphic fragments and the closing `woke` paragraph could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description supplies the return shape (`running` immediately), the `woke` triad, and the recovery path for an ambiguous failure. For a six-parameter, metered, production-affecting mutation this covers everything an agent needs to call it correctly.

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 100% so the baseline is 3, but the description adds meaning the schema does not carry on its own — that `request_id` makes retries idempotent and returns the first run, and that `wait_seconds` holds the response until the run ends.

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 precise verb+resource+scope: 'Start one declared schedule now as a manual run', and immediately names the sibling used to read the outcome (`tzcloud_read_schedules`), so an agent can separate triggering a run from inspecting it without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit gating and ordering rules: deploy or promote after declaring, resume a halted environment first, read schedules before retrying when the answer did not come from the platform, and retry only with the same `request_id`. It also states an approval precondition for production but not for development — genuine when/when-not guidance rather than implied usage.

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