Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read scheduled jobs

tzcloud_read_schedules
Read-onlyIdempotent

Read an application's declared schedules for one environment. Use it after tzcloud_run_schedule or its lost answer, and tzcloud_read_logs for your run's output. The answer's halted says whether the environment is halted. Each schedule says whether its environment has a deploy or promote at or after its declaration. Production needs a deploy on one environment, and a promote on two. A one-environment application's development has no rows.

cron_preview holds up to three instants the cron yields. For a deployed row in an environment not halted, the platform claims them in turn. Within the tolerance, it runs the claimed due time and advances past other due times without running or recording them. A due time older than the tolerance produces one missed row with the count of due times passed over. deployed: false means no deploy or promote yet, or a declaration waiting for one. 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>"
    },
    "name": "tzcloud_read_schedules"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoThe most recent runs returned per schedule, 1 to 100, 5 by default.
applicationYesYour account's application `id` from `tzcloud_list_applications`, not its name or label.
environmentNoThe environment, `development` or `production`, production by default; any other name draws `invalid_request` at its path.
wait_secondsNoOptional: seconds to hold the answer until no run of the environment read is in flight; absent, it returns at once. Out of range is refused `invalid_request`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile requires no description support. The description does add substance by explaining what the returned fields mean (halted, deployed, woke, missed rows), but those are arguably output semantics rather than behavior of the call itself, and it says nothing about pagination, size, or failure modes beyond what the schema already states.

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?

Purpose and usage are front-loaded in the first two sentences, and the later density is justified because no output schema exists to explain return fields. However, the cron_preview/tolerance paragraph is packed and awkwardly worded ('advances past other due times without running or recording them'), costing some readability.

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?

With four fully documented parameters, no output schema, and a rich set of returned fields, the description covers the return-value semantics (cron_preview, missed, deployed, woke, halted) that would otherwise be invisible. An agent has enough information to call the tool and interpret its answer correctly.

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% and all four parameters, including defaults, bounds, and the wait_seconds in-flight behavior, are documented in the schema. The description adds essentially nothing about application, environment, limit, or wait_seconds, so 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?

The opening sentence gives a specific verb, resource and scope: 'Read an application's declared schedules for one environment.' It also implicitly separates this read tool from the mutation/action sibling `tzcloud_run_schedule` and from `tzcloud_read_logs`, so an agent can identify what this tool is and is not without opening the schema.

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?

It states the sequencing condition ('Use it after `tzcloud_run_schedule` or its lost answer') and explicitly routes run-output needs to `tzcloud_read_logs`. That is concrete when-to-use and alternative guidance, though there are no explicit when-not conditions or mention of the other read siblings.

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