Skip to main content
Glama

Cli update

archivebox_cli_update

Re-archive or re-index ArchiveBox snapshots matching selected filters, with options to rebuild the index only or run data migrations only.

Instructions

POST /api/v1/cli/update

Re-archive (or re-index) the snapshots the selection matches.

Args: after: Only snapshots bookmarked after this Unix time. before: Only snapshots bookmarked before this Unix time. filter_type: How filter_patterns match (exact, substring, domain, regex, tag, search). filter_patterns: Patterns to match. status: Only snapshots with this status. url__icontains: URL contains. url__istartswith: URL starts with. tag: Only snapshots with this tag. crawl_id: Only snapshots of this crawl. limit: Maximum snapshots. sort: Sort field. search: Full-text search. resume: Resume from this snapshot timestamp. batch_size: Snapshots per batch. continuous: Keep running and pick up new snapshots. index_only: Rebuild the index only. migrate_only: Run data migrations only.

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_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
sortNo
afterNo
limitNo
beforeNo
resumeNo
searchNo
statusNo
crawl_idNo
batch_sizeNo
continuousNo
index_onlyNo
filter_typeNosubstring
migrate_onlyNo
url__icontainsNo
filter_patternsNo
url__istartswithNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changedv2.6.0
    • addedInput schema / properties / batch_size
      Added value: +{
      +  "default": 100,
      +  "type": "integer"
      +}
    • changedInput schema / properties / before / default
      Previous value: -999999999999999New value: +null
    • addedInput schema / properties / continuous
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • addedInput schema / properties / crawl_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • removedInput schema / properties / extra_data
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "additionalProperties": true,
      -      "type": "object"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null
      -}
    • removedInput schema / properties / extractors
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": ""
      -}
    • addedInput schema / properties / limit
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / migrate_only
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • removedInput schema / properties / only_new
      Removed value: -{
      -  "default": true,
      -  "type": "boolean"
      -}
    • removedInput schema / properties / overwrite
      Removed value: -{
      -  "default": false,
      -  "type": "boolean"
      -}
    • changedInput schema / properties / resume / anyOf
      Previous value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / resume / default
      Previous value: -0New value: +null
    • addedInput schema / properties / search
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / sort
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • changedInput schema / properties / status / default
      Previous value: -"unarchived"New value: +null
    • addedInput schema / properties / tag
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / url__icontains
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / url__istartswith
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  2. Addedv2.5.1

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-idempotent, open-world operation. The description adds useful operation-specific context by saying it re-archives or re-indexes snapshots and by exposing index_only, migrate_only, continuous, and batch_size behavior. It still does not disclose authentication needs, what re-archiving overwrites, error behavior, or how selection and batching interact operationally.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded after a raw 'POST /api/v1/cli/update' endpoint line that adds little value for tool selection. The long Args list is largely necessary for 17 parameters, but the docstring formatting and terse entries make it functional rather than polished.

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?

This is a complex mutating tool with 17 optional parameters and no output schema, so the description should do more than enumerate arguments. It covers selection and mode flags adequately, but it omits output/return behavior, authentication or permission expectations, error handling, and the operational consequences of re-archiving snapshots.

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 of explaining 17 parameters, and it does document every one with at least a short meaning. It adds useful detail such as Unix timestamps, filter_type options, and status/url/tag/crawl selection semantics, though some entries like 'sort field' and 'status' remain terse and do not list accepted values.

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 clearly states that this re-archives or re-indexes snapshots matching a selection, which is a specific verb and resource. However, it does not distinguish this from sibling tools such as archivebox_cli_add, archivebox_cli_remove, archivebox_ingest_snapshots, or archivebox_cli_search.

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

Usage Guidelines2/5

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

The description lists parameters but gives no guidance on when to use this tool instead of related tools, nor when not to use it. An agent cannot tell from the description whether this is for refreshing existing snapshots, rebuilding indexes, or running migrations versus using an ingestion or search tool.

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