Skip to main content
Glama

List scheduled cron jobs

list_jobs
Read-onlyIdempotent

Use this when someone asks what cron jobs or scheduled tasks they have, or which ones last failed. Returns each job's id, name, schedule, target origin, method, enabled state and last run status and time, 20 per page by default, with a cursor for more. Not for a job's full run history.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoJobs per page, from 1 to 100; defaults to 20
cursorNoThe nextCursor of the previous page with the same projectId; absent for the first page
projectIdNoOnly jobs of this project

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobsYesJob schedules and target origins only. Request payloads and credential-bearing URL paths, queries, fragments and userinfo are excluded.
hasMoreYes
nextCursorYesCursor for the next page with the same filters; null on the last page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque nextCursor from an earlier list_jobs call with the same project filter"New value: +"The nextCursor of the previous page with the same projectId; absent for the first page"
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of jobs to return (default 20, max 100)"New value: +"Jobs per page, from 1 to 100; defaults to 20"
    • changedInput schema / properties / projectId / description
      Previous value: -"Only return jobs owned by this exact project id"New value: +"Only jobs of this project"
    • addedOutput schema / properties / jobs / description
      Added value: +"Job schedules and target origins only. Request payloads and credential-bearing URL paths, queries, fragments and userinfo are excluded."
    • addedOutput schema / properties / nextCursor / description
      Added value: +"Cursor for the next page with the same filters; null on the last page"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is covered by structured data. The description adds genuine behavioral context beyond that: the full set of returned fields and the pagination contract (20 per page, cursor for more), which the annotations do not convey.

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?

Three tight sentences: usage trigger first, return payload second, exclusion last. No filler and nothing repeated from the annotations.

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?

An output schema exists, so return values need not be specified; the description nonetheless summarizes them usefully. With pagination covered and the exclusion stated, an agent has everything needed to call this correctly against its siblings.

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% and each of the three parameters (limit, cursor, projectId) is documented in the schema, so the baseline is 3. The description adds a small amount on top by framing the paging workflow ('20 per page by default, with a cursor for more'), which helps the agent understand how limit and cursor interact.

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 description states a concrete verb and resource (list cron jobs / scheduled tasks) and enumerates exactly what comes back: id, name, schedule, target origin, method, enabled state, last run status and time. It also explicitly delimits itself against the sibling get_job_runs with 'Not for a job's full run history.'

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 gives a clear trigger ('when someone asks what cron jobs or scheduled tasks they have, or which ones last failed') and one explicit exclusion (full run history). It stops short of naming the alternative tool (get_job_runs) the way the strongest definitions do, so the routing is implied rather than spelled out.

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