Skip to main content
Glama

repo_map

Map files to symbols in large codebases, using filters to find relevant code with fewer tokens.

Instructions

Project code map: files ↔ symbols. For 100+ file codebases. focused+relevantEntities for token efficiency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirNoSubdirectory to map (default: workspace_dir)
focusedNoLimit output ~2000 tokens. Combine with relevantEntities.
relevantFilesNoOnly include these files (rel to root)
workspace_dirYesREQUIRED: project root (abs). reindex first if new.
relevantEntitiesNoOnly include files that contain these top-level symbols (e.g. ["spawnFixer", "agentLoop"])

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/wulun811/LiuHe'

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