Skip to main content
Glama

search_files

Find files and directories by pattern across subfolders. Use glob patterns like '.txt' or '**/.log' to locate items when exact paths are unknown. Returns full matching paths.

Instructions

Recursively search for files and directories matching a pattern. The patterns should be glob-style patterns that match paths relative to the working directory. Use pattern like '.ext' to match files in current directory, and '**/.ext' to match files in all subdirectories. Returns full paths to all matching items. Great for finding files when you don't know their exact location. Only searches within allowed directories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
patternYes
excludePatternsNo

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/agentward-ai/agent-ward'

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