Skip to main content
Glama

focus

Retrieve relevant code context for a specific task by analyzing symbols, dependencies, and related files within a token budget.

Instructions

Get task-scoped context. Describe what you're working on and get back the relevant symbols, their callers/callees, complexity warnings, and related files — all within a token budget.

query: natural language description or symbol name
max_tokens: cap output length (default 4000)
exclude_dirs: comma-separated directory prefixes to skip
output_format: "text" (default) or "json" for structured response

Examples: "authentication middleware", "Canvas command palette",
"database migrations", "AI assistant toolbar"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes
queryYes
max_tokensNo
exclude_dirsNo
output_formatNotext

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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/Elmoaid/TempoGraph'

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