Skip to main content
Glama

List cron triggers

crons_list
Read-onlyIdempotent

List a project's cron triggers, filterable by name, agent, profile, or integration; results include each trigger's schedule and next fire time.

Instructions

Lists the project's cron triggers, newest first by default, filterable by name, agent, profile, or integration. Each item includes its schedule and next_fire_at.

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": {
      "orgID": "<orgID>",
      "projectID": "<projectID>"
    },
    "name": "crons_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCase-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
sortNoField to sort by; prefix with - for descending order. Defaults to -created_at (newest first).
limitNoMaximum number of items to return in one page.
orgIDYesOrganization ID (org_...).
cursorNoOpaque pagination cursor from a previous response's next_cursor. Omit for the first page.
agent_idNoOnly return triggers targeting this agent.
projectIDYesProject ID (proj_...).
integration_idNoOnly return scheduled launches for this integration.
agent_profile_idNoOnly return triggers targeting this agent profile.

Output Schema

NameRequiredDescriptionDefault
dataYes
next_cursorYesOpaque cursor for the next page, or null when this is the last page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.10
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order for named resources that expose created and modified timestamps."New value: +"Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "AgentCronTriggerTarget": {
      +      "properties": {
      +        "agent_id": {
      +          "$ref": "#/$defs/AgentID",
      +          "description": "Agent that receives each message."
      +        },
      +        "delivery_mode": {
      +          "$ref": "#/$defs/CronTriggerDeliveryMode",
      +          "description": "How each message is delivered: queued (default) or steering."
      +        },
      +        "type": {
      +          "description": "agent: send each message to an existing agent.",
      +          "enum": [
      +            "agent"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "agent_id"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentID": {
      +      "pattern": "^agt_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentProfileCronTriggerTarget": {
      +      "properties": {
      +        "agent_profile_id": {
      +          "$ref": "#/$defs/AgentProfileID",
      +          "description": "Profile to launch a new agent from on each run."
      +        },
      +        "type": {
      +          "description": "profile: launch a new agent on each run.",
      +          "enum": [
      +            "profile"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "agent_profile_id"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentProfileID": {
      +      "pattern": "^aprf_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "CronExpression": {
      +      "description": "Standard five-field cron expression (minute, hour, day of month, month, day of week). `TZ=`/`CRON_TZ=` prefixes are rejected; set the `timezone` field instead.",
      +      "maxLength": 256,
      +      "minLength": 9,
      +      "type": "string"
      +    },
      +    "CronMessageTemplate": {
      +      "description": "Go text/template rendered on each firing to produce the message sent to the target. The template receives a `trigger` value with `name`, `fired_at`, `last_fired_at`, and `local_date` fields. Timestamps remain UTC; local_date is the scheduled occurrence's ISO date in the schedule timezone. Required for agent and profile targets; omitted for integration targets, which use their own settings. Rendering is capped at 64 KiB of output and one second of wall-clock time, and `printf` width and precision specifiers are capped at 1024; a firing whose template fails to render is recorded in `failure_report` without sending a message.",
      +      "maxLength": 65536,
      +      "type": "string"
      +    },
      +    "CronTimezone": {
      +      "default": "UTC",
      +      "description": "IANA time zone the schedule is evaluated in.",
      +      "maxLength": 64,
      +      "type": "string"
      +    },
      +    "CronTrigger": {
      +      "properties": {
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "cron": {
      +          "$ref": "#/$defs/CronExpression"
      +        },
      +        "enabled": {
      +          "type": "boolean"
      +        },
      +        "failure_report": {
      +          "description": "Most recent failed firing, or null if no firing has failed since the last successful firing.",
      +          "oneOf": [
      +            {
      +              "$ref": "#/$defs/CronTriggerFailureReport"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "id": {
      +          "$ref": "#/$defs/CronTriggerID"
      +        },
      +        "last_fired_at": {
      +          "description": "When the trigger last fired, or null if it has never fired. For integration targets this means durable inbox handoff.",
      +          "oneOf": [
      +            {
      +              "$ref": "#/$defs/Timestamp"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "last_run": {
      +          "description": "Status of the latest accepted scheduled integration launch, scoped to this project and integration. Null for ordinary cron, before any launch is accepted, or when retained details have expired. Never falls back to an older launch. Schedule firing failures remain separate in failure_report. Deleting or disabling a schedule does not cancel launch work already accepted by the integration.",
      +          "oneOf": [
      +            {
      +              "$ref": "#/$defs/CronTriggerLastRun"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "message_template": {
      +          "$ref": "#/$defs/CronMessageTemplate"
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName"
      +        },
      +        "next_fire_at": {
      +          "description": "Next scheduled firing, or null while the trigger is disabled.",
      +          "oneOf": [
      +            {
      +              "$ref": "#/$defs/Timestamp"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "org_id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "project_id": {
      +          "$ref": "#/$defs/ProjectID"
      +        },
      +        "target": {
      +          "$ref": "#/$defs/CronTriggerTarget"
      +        },
      +        "timezone": {
      +          "$ref": "#/$defs/CronTimezone"
      +        },
      +        "updated_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "org_id",
      +        "project_id",
      +        "name",
      +        "target",
      +        "cron",
      +        "timezone",
      +        "enabled",
      +        "last_fired_at",
      +        "next_fire_at",
      +        "failure_report",
      +        "last_run",
      +        "created_at",
      +        "updated_at"
      +      ],
      +      "type": "object"
      +    },
      +    "CronTriggerDeliveryMode": {
      +      "description": "Each firing sends a queued or steering message to the agent. Defaults to `queued` on creation; omitted updates preserve the current mode.",
      +      "enum": [
      +        "queued",
      +        "steering"
      +      ],
      +      "type": "string"
      +    },
      +    "CronTriggerFailureReport": {
      +      "properties": {
      +        "failed_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "message": {
      +          "description": "Why the most recent failed firing did not deliver a message.",
      +          "type": "string"
      +        },
      +        "will_retry": {
      +          "description": "Whether the firing will be retried after the claim lease expires.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "message",
      +        "will_retry",
      +        "failed_at"
      +      ],
      +      "type": "object"
      +    },
      +    "CronTriggerID": {
      +      "pattern": "^cron_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "CronTriggerLastRun": {
      +      "properties": {
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "failure_message": {
      +          "description": "Coarse scheduled action failure description; no raw provider errors.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "state": {
      +          "$ref": "#/$defs/CronTriggerLastRunState"
      +        },
      +        "updated_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        }
      +      },
      +      "required": [
      +        "state",
      +        "created_at",
      +        "updated_at",
      +        "failure_message"
      +      ],
      +      "type": "object"
      +    },
      +    "CronTriggerLastRunState": {
      +      "description": "State of the latest accepted scheduled integration action. Completed means the integration handled the occurrence; it does not indicate completion of any agent task that action started.",
      +      "enum": [
      +        "queued",
      +        "processing",
      +        "completed",
      +        "failed"
      +      ],
      +      "type": "string"
      +    },
      +    "CronTriggerTarget": {
      +      "description": "What each firing does: type agent sends the message to an existing agent, type profile launches a new agent from a profile, and type integration hands the firing to an integration, such as a new Slack or Discord thread.",
      +      "discriminator": {
      +        "mapping": {
      +          "agent": "#/$defs/AgentCronTriggerTarget",
      +          "integration": "#/$defs/IntegrationCronTriggerTarget",
      +          "profile": "#/$defs/AgentProfileCronTriggerTarget"
      +        },
      +        "propertyName": "type"
      +      },
      +      "oneOf": [
      +        {
      +          "$ref": "#/$defs/AgentCronTriggerTarget"
      +        },
      +        {
      +          "$ref": "#/$defs/AgentProfileCronTriggerTarget"
      +        },
      +        {
      +          "$ref": "#/$defs/IntegrationCronTriggerTarget"
      +        }
      +      ]
      +    },
      +    "IntegrationCronTriggerTarget": {
      +      "properties": {
      +        "integration_id": {
      +          "$ref": "#/$defs/IntegrationID",
      +          "description": "Integration that handles each run."
      +        },
      +        "settings": {
      +          "additionalProperties": true,
      +          "description": "Settings validated by the target integration's published schedule input schema. Each accepted occurrence retains its own copy. Integration resource references are resolved when the integration handles the occurrence.",
      +          "type": "object"
      +        },
      +        "type": {
      +          "description": "integration: hand each run to an integration.",
      +          "enum": [
      +            "integration"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "integration_id",
      +        "settings"
      +      ],
      +      "type": "object"
      +    },
      +    "IntegrationID": {
      +      "pattern": "^itg_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ProjectID": {
      +      "description": "Project ID (proj_...).",
      +      "pattern": "^proj_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ResourceName": {
      +      "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "data": {
      +      "items": {
      +        "$ref": "#/$defs/CronTrigger"
      +      },
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "description": "Opaque cursor for the next page, or null when this is the last page.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "next_cursor"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds one genuinely non-structured behavior, the default newest-first ordering, but the second sentence about schedule and next_fire_at largely restates what the output schema already provides.

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?

Two short sentences with the scope and default ordering front-loaded; nothing is padded. The closing sentence on returned fields is somewhat redundant given an output schema exists, keeping it from a 5.

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 9-parameter read-only list tool, the description plus 100% schema coverage, rich annotations, and an output schema cover what an agent needs to call it correctly. Pagination behavior is left entirely to the cursor parameter description, which is a minor gap.

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 description coverage is 100%, so every parameter (glob syntax, sort enum, cursor, limit, ID patterns) is already documented in the schema. The description only names the filter axes at a high level and adds no syntax or semantics beyond that, which is the baseline case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("Lists the project's cron triggers") and scopes it to a project, which separates it from crons_get/crons_create. It does not explicitly name a sibling to contrast with, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the mention of default ordering and the four filter dimensions tells an agent this is the browsing/enumeration tool, but there is no explicit "use this when / use crons_get instead" guidance or stated prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.