Skip to main content
Glama

refresh_index

Update the codebase index to reflect recent changes. Choose full re-indexing or incremental mode to process only modified files for faster updates.

Instructions

Re-index the codebase. Supports full re-index or incremental mode. Use incrementalOnly=true to only process files changed since last index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoReason for refreshing the index (for logging)
incrementalOnlyNoIf true, only re-index files changed since last full index (faster). Default: false (full re-index)

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/PatrickSys/codebase-context'

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