Skip to main content
Glama

reindex

Rebuild the in-memory vector index from database records and report the resulting counts. Use it to restore search-ready vectors after a restart or when connecting 6.x clients.

Instructions

Rebuild the in-memory vector index from the database.

Kept for compatibility with 6.x clients. There is no separate search index any more, so nothing can drift from the records and no phantom entries are ever removed; this reloads the vectors and reports the counts.

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
namespaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A3.6/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 that the index is rebuilt in memory from the database, that there is no separate search index, that phantom entries are not removed, and that counts are reported. It omits cost/latency expectations and whether the reload is safe to run while queries are in flight.

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?

Two short paragraphs: the action first, then the compatibility and behavioral caveats. Every clause adds information, and none of it is filler.

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-optional-parameter maintenance tool with no output schema, the description covers what happens, what does not happen, and that counts are returned. The remaining gap is the meaning of the namespace argument.

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 description coverage is 0% and the sole parameter 'namespace' (nullable, default null) is never mentioned in the description. It is unclear whether omitting it rebuilds all namespaces or only a default one, which is a meaningful semantic gap for a rebuild operation.

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 uses a specific verb and resource: 'Rebuild the in-memory vector index from the database,' which is unambiguous about the operation. It does not explicitly contrast itself with index-adjacent siblings such as recall_index, but the compatibility note makes the tool's role clear.

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?

'Kept for compatibility with 6.x clients' implies this is a legacy-only path and hints that routine use is unnecessary, since nothing can drift any more. However, it never states an explicit condition for calling it (e.g., after bulk imports) or a condition for avoiding it, leaving the agent to infer.

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