Skip to main content
Glama

Archivebox Ingest Snapshots

archivebox_ingest_snapshots

Lists ArchiveBox snapshots filtered by tag, URL, or search query and ingests them into the knowledge graph as Snapshot, Tag, and Document nodes for querying.

Instructions

List ArchiveBox snapshots and natively ingest them into the knowledge graph.

Pushes :Snapshot (+ :Tag + :hasTag) nodes and per-snapshot :Document page-text, plus nested :ArchiveResult links, via the fast engine client. Best-effort: returns {"ingested": None} when no engine is reachable.

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

Input Schema

NameRequiredDescriptionDefault
tagNoOnly snapshots with this tag.
urlNoExact snapshot URL.
limitNoMaximum snapshots to ingest.
searchNoFull-text/meta search.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.6.0
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 200,
      +  "description": "Maximum snapshots to ingest.",
      +  "type": "integer"
      +}
    • removedInput schema / properties / params_json
      Removed value: -{
      -  "default": "{}",
      -  "description": "JSON string of get_snapshots filters (e.g. tag, search, limit).",
      -  "type": "string"
      -}
    • addedInput schema / properties / search
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Full-text/meta search."
      +}
    • addedInput schema / properties / tag
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Only snapshots with this tag."
      +}
    • addedInput schema / properties / url
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Exact snapshot URL."
      +}
  2. Addedv2.5.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a reasonable job: it discloses that this is a write into the knowledge graph, names the node/link types created, states the engine client used, and explains the best-effort failure mode with the literal return value {"ingested": None}. It omits idempotency/re-ingest behavior, whether existing nodes are overwritten, and permission requirements, which is why it is not a 5.

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 sentences, front-loaded with the action and followed by the side-effect inventory. Every sentence carries information; the RDF-style colon notation is dense but purposeful. Minor friction from the literal ``{"ingested": None}`` formatting embedded in prose.

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?

An output schema exists, so return values need not be re-explained, and the description focuses on side effects and the no-engine edge case. For a mutating ingest tool the remaining gap is operational context — idempotency of repeated ingests and prerequisite engine availability — but what is present is enough for an agent to decide and call correctly.

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%, with every parameter (tag, url, limit, search) already documented inline, so the baseline of 3 applies. The description adds no filtering semantics beyond the schema — notably it never says whether tag/url/search combine as AND or OR, or that zero filters means ingest everything up to limit.

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 opens with a specific verb pair and resource: 'List ArchiveBox snapshots and natively ingest them into the knowledge graph.' The second sentence enumerates exactly what gets written (:Snapshot, :Tag, :hasTag, :Document page-text, nested :ArchiveResult links), which implicitly separates it from pure-read siblings like archivebox_get_snapshots. It stops short of naming those siblings outright, so differentiation is inferable rather than explicit.

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 by 'natively ingest them into the knowledge graph' — an agent can infer this is the pipeline step that materializes ArchiveBox data into the graph. However, there is no explicit when-to-use guidance against the very similar archivebox_ingest_archiveresults, nor any statement about when not to call it or what prerequisites (e.g. a running engine) exist.

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