Skip to main content
Glama
otolab
by otolab

index_purge

Delete all index files to discard a corrupted index and rebuild it from scratch. Use when search results are broken or incomplete.

Instructions

インデックスファイルを全削除します。壊れたインデックスを廃棄して再構築する場合に使います。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.5

TDQS

A4.4/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 disclosing behavior. It explicitly mentions 'deletes all' which signals irreversibility and destruction. However, it does not mention side effects like making the search unavailable until a rebuild, or any prerequisites, but the destructive nature is clearly conveyed.

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 two concise sentences, front-loading the action and then providing the use case. No unnecessary words or redundancy.

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 zero-parameter schema and no output schema, the description adequately covers what the tool does and when to use it. It implies a follow-up rebuild step but does not explicitly state it, leaving a minor gap about post-conditions.

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 are no parameters, so the description adds no parameter-specific meaning. The schema coverage is 100% (empty), so the baseline score of 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?

The description clearly states the action 'deletes all index files' with a specific resource (index files) and a specific operation (purge). It distinguishes from siblings by being a destructive cleanup operation, unlike search or get operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use it: 'when discarding a broken index and rebuilding it.' This provides clear guidance relative to other tools, implying it is not for routine use and is part of a maintenance workflow.

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