Skip to main content
Glama
constants.py697 B
# Directory listing limit MAX_DIR_ITEMS = 250 # glob result limit MAX_GLOB_MATCHES = 250 # glob max traversal depth MAX_GLOB_DEPTH = 25 # grep result limit MAX_GREP_MATCHES = 50 # grep timeout (seconds) GREP_TIMEOUT_SECONDS = 30 # Python fallback grep max depth MAX_GREP_DEPTH = 10 # Context truncation: max chars per tool result (by tool type) MAX_TOOL_RESULT_CHARS = 50000 # default limit for truncate_for_context MAX_VIEW_FILE_CHARS = 20000 MAX_GREP_SEARCH_CHARS = 12000 MAX_BASH_CHARS = 15000 MAX_VIEW_DIRECTORY_CHARS = 8000 MAX_GLOB_CHARS = 8000 # === Bash Tool === # NOTE: Unix-only (requires bash shell, not available on Windows) BASH_TIMEOUT_SECONDS = 30 BASH_MAX_OUTPUT_CHARS = 50000

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/possible055/relace-mcp'

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