Skip to main content
Glama

locus_snapshot

Create a portable .tar.gz backup of the complete Locus store, including the corpus index, knowledge graph, bulletin, entity resolver, and SQLite databases, for later restoration.

Instructions

Archive the entire Locus store to a portable .tar.gz file. The snapshot captures the corpus index, KG, bulletin, entity resolver, and all SQLite databases. Can be restored with locus_restore.

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": {
      "output_path": "<output_path>"
    },
    "name": "locus_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
store_pathNo.locus
output_pathYesDestination archive path (e.g. backup.tar.gz).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does well on content scope by naming the corpus index, KG, bulletin, entity resolver and SQLite databases, and it discloses the archive format. However, it says nothing about side effects an agent must anticipate: whether an existing file at output_path is overwritten, whether the store is locked during archiving, expected size/time, or failure conditions when store_path does not exist.

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?

Three short sentences, front-loaded with the action and output format, followed by captured contents and the restore counterpart. Nothing is redundant and no sentence could be dropped without losing information.

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 two-parameter tool with no output schema and no annotations, the definition covers purpose, contents, format and the restore path, which is most of what an agent needs. The remaining gaps are the undocumented store_path semantics and the lack of overwrite/error behavior, which are modest but real for a file-writing operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: output_path is documented in the schema, but store_path has no description beyond its '.locus' default. The description's phrase 'the entire Locus store' only vaguely implies store_path selects the store root and never states the default or what that path should point at, so it does not compensate for the coverage gap.

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

Purpose5/5

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

States a specific verb (Archive) plus resource (the entire Locus store) and the concrete output format (.tar.gz). The second sentence enumerates exactly what is captured, so an agent can distinguish this full-store snapshot from narrower siblings like locus_export_kg.

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 phrase 'Can be restored with locus_restore' establishes the natural pairing and implies this is a backup operation, but there is no explicit when-to-use vs when-not guidance. It never tells the agent to prefer a narrower export (e.g. locus_export_kg) when only the KG is needed, or when to check locus_snapshot_info instead.

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