Skip to main content
Glama

Cli schedule

archivebox_cli_schedule

Create, list, run, or clear recurring ArchiveBox archive schedules, including feed re-imports, crawl depth, tags, and only-new or update options.

Instructions

POST /api/v1/cli/schedule

Create, list or clear recurring archive schedules.

Args: import_path: URL or feed to re-import on each run. add: Create a schedule. show: List existing schedules. foreground: Run the scheduler in the foreground. run_all: Run every schedule now. quiet: Less output. every: Interval (hour, day, week, month or cron). tag: Comma-separated tags for snapshots the schedule adds. depth: Crawl depth for each run. only_new: Only add URLs not yet archived. update: Re-archive existing URLs on each run. overwrite: Overwrite outputs on re-archive. clear: Remove all schedules.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "archivebox_cli_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNo
tagNo
showNo
clearNo
depthNo
everyNo
quietNo
updateNo
run_allNo
only_newNo
overwriteNo
foregroundNo
import_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.6.0
    • removedInput schema / properties / extra_data
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • addedInput schema / properties / foreground
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / only_new
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / quiet
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / run_all
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / show
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
  2. Addedv2.5.1

TDQS

B3.4/5.0
Behavior2/5

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

The description discloses a genuinely destructive capability ('clear: Remove all schedules') while annotations declare destructiveHint=false and readOnlyHint=false, a partial conflict an agent should be warned about. It also omits that 'foreground' is a blocking/long-running mode and that 'quiet' only affects output verbosity, both important behavioral traits for a CLI passthrough.

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?

Front-loaded one-sentence purpose followed by a compact per-argument list with no filler. The format mirrors the flags directly, so scanning maps one-to-one onto the schema.

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 13-parameter, mode-switching tool with no output schema and no annotations beyond safety hints, the description is adequate but not complete: it does not explain mode exclusivity, what 'show' returns, or that 'foreground' blocks. An agent could still call it, but may combine conflicting flags.

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 description coverage is 0%, so the description carries the full burden and largely succeeds: it names all 13 parameters and explains their meaning, including the accepted interval values (hour, day, week, month or cron) for 'every'. It still leaves the semantics of null-vs-false for update/only_new/overwrite ambiguous, and does not explain the depth=0 default.

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?

States a specific verb set and resource: 'Create, list or clear recurring archive schedules', plus the underlying endpoint POST /api/v1/cli/schedule. An agent can tell this is the scheduling tool, though it is not differentiated from siblings like archivebox_create_crawl or archivebox_cli_add.

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?

The arg list implicitly conveys when to use each mode ('add: Create a schedule', 'show: List existing schedules', 'run_all: Run every schedule now'), which is useful. However, nothing states that add/show/clear/run_all/foreground are mutually exclusive modes, nor when to prefer this over archivebox_create_crawl for scheduled crawling.

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