Skip to main content
Glama

Reindex Knowledge Base

reindex_knowledge_base
Idempotent

Rebuild the search embeddings for every published article. Articles are indexed automatically on publish, so this is only needed after a bulk import or if search looks stale. Walks the whole knowledge base, so it can take a while.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorsNo
checkedNo
skippedNo
embeddedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, idempotent operation. The description adds valuable context beyond them: it discloses scope ('walks the whole knowledge base') and the cost implication ('can take a while'). It does not say whether the job is synchronous or backgrounded, or whether search quality degrades mid-run, which would be the remaining useful facts for a long-running mutation.

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 short sentences, front-loaded with the operation and its scope, then the trigger condition, then the cost warning. No sentence restates the tool name or wastes words.

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?

With an output schema present and annotations covering the safety profile, the description only needed to supply scope, cost, and trigger conditions, all of which it does. Missing only edge detail such as permissions required or whether the call blocks until completion.

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 takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The schema is a valid empty object and the description correctly implies no filters or options exist.

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 names a specific verb and resource: 'Rebuild the search embeddings for every published article.' That is far more informative than the name alone and clearly separates it from query tools like ask_knowledge_base. It stops short of naming a sibling alternative, but the operation is distinct enough in the catalog that an agent can identify it.

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?

It states the normal case (automatic indexing on publish) and the narrow trigger for manual invocation (after a bulk import, or if search looks stale), which effectively functions as a when-not-to-use rule. It never names an explicit alternative tool for the stale-search case, so it is clear context rather than a full decision rubric.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources