Skip to main content
Glama
rush-db

RushDB MCP Server

Official
by rush-db

deleteTextIndex

Destructive

Permanently drop a named text index from RushDB to remove unwanted search indexes. Confirm with the user before calling, as this action is irreversible.

Instructions

Drop a text index by name. Irreversible. Confirm with the user before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the text index (from listTextIndexes).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description adds value beyond that by explicitly labeling the operation 'Irreversible' and requiring user confirmation, which is exactly the kind of consequence detail annotations cannot express.

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 with the action front-loaded, the irreversibility stated second, and the confirmation requirement last. Every sentence earns its place with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need no explanation, and the annotations plus the description together cover the destructive nature, irreversibility, and the confirmation requirement. An agent has everything needed to invoke this correctly.

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?

Schema coverage is 100% and the single parameter is fully documented, including the source of valid names ('from listTextIndexes'). The description's 'by name' adds no meaning beyond the schema, so the baseline 3 applies.

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 specific verb (Drop) and resource (text index) with the identifying parameter (by name). It is unambiguously distinct from the sibling listTextIndexes and createTextIndex, so an agent can pick it without opening a schema.

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?

Provides a prerequisite directive ('Confirm with the user before calling'), which is genuine usage guidance. However, it never states when this tool should be chosen over alternatives or what conditions make deletion appropriate versus, say, recreating an index.

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