Skip to main content
Glama
NabuDesk MCP server

NabuDesk MCP server

Official
by NabuxAi

reindex_knowledge

Re-embeds all knowledge items for a business after embedding model changes or direct database content edits.

Instructions

Re-embed every knowledge item of a business. Use after changing the embedding model or editing content directly in the database.

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

Input Schema

NameRequiredDescriptionDefault
business_idNoOptional if active business was set via switch_business.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses the trigger and scope of the operation, but says nothing about cost, duration, whether the reindex is synchronous or asynchronous, whether existing embeddings are replaced or duplicated, required permissions, or how failures are handled. For a bulk mutation-like operation, these are significant gaps.

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 sentences, front-loaded with the action and immediately followed by the usage condition. There is no wasted wording.

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?

For a simple one-parameter tool with no output schema, the description covers the core action and when to invoke it. However, it lacks important operational context for a bulk re-embedding tool, such as whether the operation is long-running, whether it affects availability, or what happens to existing embeddings.

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?

There is one parameter, business_id, and schema description coverage is 100%, including the note that it is optional if an active business was set via switch_business. The description adds no parameter-level detail beyond the schema, so the baseline of 3 is appropriate.

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?

The description states a specific verb and resource: "Re-embed every knowledge item of a business." The word "every" makes clear this is a bulk operation over all knowledge items, distinguishing it from single-item siblings such as upsert_knowledge or delete_knowledge.

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 gives explicit triggering conditions: after changing the embedding model or editing content directly in the database. It does not name alternatives or state when not to use it, but the intended context is clear and actionable.

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