Skip to main content
Glama
BiteFoundry Obsidian MCP Server

BiteFoundry Obsidian MCP Server

reindex_vault

Forces a full verification rescan by re-reading and hashing every note and rebuilding link resolution; use only when you need a complete vault consistency check.

Instructions

Force a full verification rescan: re-reads and hashes every note and rebuilds link resolution. Slow on large vaults. Rarely needed: every other tool already syncs changed files first.

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

Input Schema

NameRequiredDescriptionDefault
vaultNoOptional registered vault name, ID, or path (see list_vaults). Unregistered directories are rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 well: it discloses the heavy side effects (re-reading and hashing every note, rebuilding link resolution) and the cost profile ('Slow on large vaults'). It does not say whether the operation is safe to interrupt, whether it mutates note files or only the index, or what it returns, leaving a few behavioral gaps.

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?

Three short, front-loaded sentences: what it does, how expensive it is, when not to use it. Every sentence earns its place; minor room to tighten wording but nothing extraneous.

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 one-parameter maintenance tool with no output schema, the description covers purpose, cost, and necessity. Adding what a rescan returns or whether note files themselves are touched would close the remaining gap for a heavy rebuild operation.

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?

The single optional 'vault' parameter is fully documented in the schema, including the registered-only constraint and the pointer to list_vaults. The description adds no further meaning about the parameter, which is the expected baseline when schema coverage is 100%.

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 concrete verb and resource ('Force a full verification rescan') and immediately unpacks what that means: re-reading and hashing every note plus rebuilding link resolution. It also differentiates itself from all siblings by noting every other tool already syncs changed files first.

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

Usage Guidelines4/5

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

'Rarely needed: every other tool already syncs changed files first' gives an explicit negative condition that steers agents away from default use, and 'force a full verification' implies the positive trigger (an integrity/consistency concern). It stops short of naming a concrete situation such as suspected index corruption, so the positive case is inferred rather than stated.

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