Skip to main content
Glama

get_symbols_in_scope

Retrieve visible symbols (variables, types, functions) at a specific location in TypeScript/JavaScript files to analyze code context and dependencies.

Instructions

Get all symbols (variables, types, functions, etc.) visible at a specific location in a TypeScript/JavaScript file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYesRoot directory for resolving relative paths
filePathYesFile path containing the location (relative to root)
lineYesLine number (1-based) or string to match in the line
meaningNoSymbol types to includeAll

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/SomeiLam/news-mcp'

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