Skip to main content
Glama

Schedule

schedule
Destructive

Run an action later or repeatedly, inside SetGet only. create takes one of in_seconds, at (ISO time), every_seconds (60+) or cron (5 fields, UTC or timezone), plus do: {"type":"notify"} (default), {"type":"enqueue","queue_id":...,"channel":...,"payload":...} or {"type":"put_key","key":...,"value":...}. It ends when it expires (max 7 days; touch renews) or after max_runs. read(runs, wait_seconds) waits for the next run. run_now counts as a run.

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": {
      "action": "<action>"
    },
    "name": "schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
doNo
idNo
cronNo
runsNo
actionYes
max_runsNo
timezoneNo
in_secondsNo
ttl_secondsNo
wait_secondsNo
every_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorld=false, idempotent=false, but the description adds genuine behavioral facts beyond them: schedules expire after at most 7 days, touch renews the window, max_runs terminates the schedule, run_now consumes a run, and read can block on the next run. What is missing is any warning about delete (the annotated destructive action) or what happens to a schedule's queued payloads when it ends.

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?

The timing options are front-loaded and each sentence carries new information — no filler. The prose is dense and occasionally telegraphic ('read(runs, wait_seconds) waits for the next run'), which costs a little parsing speed, but nothing is redundant enough to cut.

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

Completeness3/5

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

For a 12-parameter, non-idempotent, destructive tool with no output schema and no annotation detail, the description covers creation and reading but not the lifecycle actions it exposes. An agent is not told that id selects an existing schedule, what pause/resume do to pending runs, what ttl_seconds means relative to expiry, or what delete removes — and delete is the one action flagged destructive.

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 0% across 12 parameters, so the description has to carry the load. It explains in_seconds, at (ISO time), every_seconds (60+), cron (5 fields, UTC or timezone), max_runs, runs/wait_seconds, and the three do payload shapes — a substantial contribution. It leaves id (the handle needed for read/pause/resume/touch/delete) and ttl_seconds completely unexplained, and its 'every_seconds (60+)' is looser/tighter than the schema minimum of 1, so a reader is left with a real gap and a small inconsistency.

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 — run an action later or repeatedly — and enumerates the create modes (in_seconds, at, every_seconds, cron) plus the action verbs implied by the schema (create, read, pause, resume, run_now, touch, delete). That is far more concrete than a label like 'Schedule'. It does not, however, contrast itself with plausibly overlapping siblings such as job, deadman, or poll, so an agent cannot tell from the text alone which scheduler to pick.

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?

There is a scoping constraint ('inside SetGet only') and the timing/do combinations for create are spelled out, which implies usage. But there is no explicit when-to-use or when-not-to-use statement, and no named alternative is offered for cases like one-shot asynchronous work that job or deadman might cover. The reader must infer the boundaries.

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