Skip to main content
Glama

Start an advanced search

start_search
Read-only

Search a folder in the background by file name or by text inside files, with optional regular expression, file-type filter (for example ".js,.ts") and lines of context around each match. Returns the first results and a search_id; use get_more_search_results for the rest. Good for big folders and many matches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoDefault "name".
pathYesFolder to search in.
regexNoTreat pattern as a regular expression. Default false.
deviceNoDevice name. Optional when the account has only one online device.
patternYesWhat to look for: a name pattern (name mode) or text (content mode). Treated as a regular expression when regex is true.
ignore_caseNoDefault true.
max_resultsNoResults to return per call, default 100, max 500.
file_patternNoContent mode only: only search files whose name matches, for example "*.js" or "*.js,*.ts".
context_linesNoContent mode only: lines to show before and after each match, 0 to 5. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources