Skip to main content
Glama
everton-dgn

vault-search-mcp

by everton-dgn

compact_index

Compact the LanceDB index by merging small fragments and removing obsolete versions after incremental mutations, returning compaction statistics.

Instructions

Compact the LanceDB index.

This merges small fragments and removes obsolete versions after incremental mutations.

Returns: Compaction statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavior; it discloses that the tool merges small fragments, removes obsolete versions, and returns compaction statistics, though it does not mention potential side effects like locking or temporary query impact.

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?

The description is brief, front-loaded with the core action, and each subsequent sentence adds meaningful detail about behavior and return value without fluff.

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?

Given the tool's simplicity (no parameters, no annotations, output schema present), the description adequately covers purpose, mechanism, and return value; it only omits edge cases like index-not-found or when compaction is unnecessary.

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

Parameters4/5

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

The tool has zero parameters, so the default baseline is 4; no parameter explanation is needed and the empty schema is consistent.

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?

Description clearly states a specific action ('Compact') and resource ('LanceDB index'), and distinguishes it from sibling tools like reindex_vault by emphasizing fragment merging and obsolete version removal.

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?

It mentions 'after incremental mutations' as a usage context, but never explicitly contrasts compact_index with alternatives such as reindex_vault or vector_index_status, leaving some guidance implicit.

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