Skip to main content
Glama

List Scheduler Jobs

scheduler_jobs_list
Read-onlyIdempotent

Lists the Scheduler add-on's jobs for one environment. Each job has a type: short (Meridian sends a POST to path on the app, which must answer within limits.short_task_deadline_seconds) or long (the command runs on its own machine, one run at a time, for up to limits.long_task_timeout_hours).

Each job carries its job_id, its cron (always in UTC), whether it is paused, lock_paused (the app is unpaid) or hours_paused (a long task waiting for the app's next long-task hours), its upcoming_runs, its last_run and, for a long task, the active_run in progress. A run's status is starting, running, succeeded, failed, timed_out, out_of_memory, skipped or stopped, with a reason for a skipped or stopped run.

long_task_hours is the app's monthly pool across all its environments: hours used, the limit, the memory of one run, and whether it is exhausted. Use scheduler_runs_list for a job's history and logs_tail with source: "task" for what a long task printed.

Returns enabled: false with no jobs when the environment has no Scheduler add-on. Takes app_id from apps_list and environment_id from environments_list.

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": {
      "app_id": "<app_id>",
      "environment_id": "<environment_id>"
    },
    "name": "scheduler_jobs_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesThe app this call works on: its `app_id` uuid from `apps_list`.
environment_idYesThe environment uuid, from `environments_list`.
organization_idNoAn organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-open-world, and the description adds genuine context on top: the degradation case ('Returns `enabled: false` with no jobs when the environment has no Scheduler add-on'), the three distinct pause states and why they occur, and that long_task_hours is a monthly pool shared across all environments. These are non-obvious operational facts an agent could not infer from the structured fields.

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 the sibling alternative are front-loaded, and the dense middle paragraphs are organized by concept (job types, job fields, run statuses, quota) rather than dumped. It is on the long side and the exhaustive status enumeration is borderline, but essentially every sentence carries information the agent cannot get elsewhere.

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 no output schema, the description carries the return-shape burden and does so thoroughly: job fields, run statuses with the reason caveat, and the empty/no-add-on case. Combined with the caller-facing pointer to apps_list and environments_list, nothing needed to invoke it correctly 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 the schema already documents all three parameters, so the baseline is 3. The description only echoes sourcing hints for app_id and environment_id and never mentions organization_id or its slug-resolution behavior, so it adds little beyond what the schema provides.

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 specific verb and resource: 'Lists the Scheduler add-on's jobs for one environment.' It immediately distinguishes two job types (short POST-to-path vs long command-on-own-machine), which no sibling tool exposes, so an agent can tell it apart from scheduler_runs_list without opening either 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?

Explicitly routes the agent elsewhere twice: 'Use `scheduler_runs_list` for a job's history and `logs_tail` with `source: "task"` for what a long task printed.' It also names the upstream sources for both required ids (apps_list, environments_list), which is exactly the chaining guidance an agent needs.

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