Skip to main content
Glama
obsidian-memory-mcp

obsidian-memory-mcp

by BoiDG

reindex

Sync Obsidian vaults into SQLite incrementally, then report index statistics and central-index drift; force a full rebuild of all chunks when needed.

Instructions

Incrementally sync Obsidian vaults into SQLite and report index stats plus any central-index drift.

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": "reindex"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoForce full rebuild of all chunks (default false = incremental).
scopeNoOptional scope to include in drift summary after reindexing.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/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 burden. It does disclose the important behavioral facts that this is a mutating write into SQLite, that it is incremental by default, and that it returns stats plus drift information. It does not say whether the operation is idempotent, whether a forced rebuild destroys existing chunks or derived data, how long a sync may take, or whether concurrent runs are safe.

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?

A single dense sentence with the action front-loaded and the reporting outcome trailing it; nothing is padded. It is slightly overloaded by combining the sync action and the reporting behavior, but no sentence is wasted.

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?

The output schema covers the reported stats and drift, so return values need not be described. However, for an unannotated mutating tool the definition is thin on safety and operational context — no note on permissions, overwrite behavior, or the cost of a forced rebuild — which leaves a real gap for an agent deciding whether to call it.

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 100%, so both parameters are already documented in the schema, including the incremental-vs-force distinction and the meaning of 'scope'. The description reinforces the incremental default but adds no syntax, format, or example for 'scope' beyond what the schema states, so the baseline of 3 applies.

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 gives a specific verb ('Incrementally sync') and a specific resource ('Obsidian vaults into SQLite'), then adds the reporting side-effect ('index stats plus any central-index drift'). That is enough for an agent to distinguish this write/sync tool from the read-oriented siblings (get_note_section, search_memory, etc.), though it never explicitly contrasts itself with them.

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 only implied: the word 'Incrementally' signals the default operating mode, and the schema's 'force' flag implies a full-rebuild alternative. There is no explicit statement of when to call reindex versus other tools, when to prefer a forced rebuild, or any prerequisite (vault must be configured, index must exist).

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