Skip to main content
Glama

locus_ingest_ompa

Imports an OMPA vault into Locus by indexing markdown files and copying knowledge-graph triples from its SQLite database, skipping unchanged files on re-runs.

Instructions

Import an OMPA vault into the Locus store. Indexes all markdown files and copies KG triples directly from OMPA's .palace/knowledge_graph.sqlite3 (same schema — zero transformation). Safe to re-run; unchanged files are skipped via checksum dedup.

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": {
      "vault_path": "<vault_path>"
    },
    "name": "locus_ingest_ompa"
  }
}

Input Schema

NameRequiredDescriptionDefault
patternNo**/*.md
store_pathNo.locus
vault_pathYesPath to the OMPA vault root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the write/mutation nature, the exact data source, zero-transformation copying, and idempotency via checksum dedup. It stops short of stating what happens to pre-existing store contents, permission requirements, or failure behavior on malformed vaults.

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 tight sentences, front-loaded with the action and destination, followed by mechanism and the re-run safety note. No filler and every clause carries 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 moderate-complexity ingest tool with no output schema and no annotations, the description covers source, mechanism, and idempotency well. It omits prerequisites and post-import store state, which an agent would want before invoking a write operation, but the core picture is complete.

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 coverage is only 33%, so the description must compensate; it partially does by implying that markdown files are selected (pattern) and that content lands in a store (store_path), but it never names or explains those two parameters. Only vault_path is documented in the schema, leaving the pattern and store_path semantics to inference.

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 and resource — importing an OMPA vault into the Locus store — and names the concrete artifacts involved (markdown files, .palace/knowledge_graph.sqlite3). The OMPA-vault scope makes it clearly distinct from locus_ingest_github without needing to name the sibling.

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 description establishes implied usage (importing OMPA vaults) and notes re-run safety, which helps an agent decide it can call it repeatedly. However, it gives no explicit when-to-use versus when-not guidance, no prerequisites such as the vault path needing to exist or OMPA needing to be present, and no statement about what to do if the target store already contains data.

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