Skip to main content
Glama

rebuild_search_index

Clear and rebuild the entire iMessage search index from scratch to fix search issues or update metadata, with optional background processing.

Instructions

Rebuild the entire search index from scratch.

This will:

  1. Clear the existing search index

  2. Re-index all messages from chat.db

  3. Update sync metadata

Note: This does NOT generate embeddings. Use a separate tool for that.

Args: background: If True, runs the rebuild in a background thread and returns immediately with progress tracking info. If False, blocks until complete.

Returns: Dictionary with rebuild status and progress information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backgroundNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonmmease/jons-mcp-imessage'

If you have feedback or need assistance with the MCP directory API, please join our Discord server