Skip to main content
Glama

get_definitions

Retrieve TypeScript symbol definitions from source files to understand code structure and functionality within the NewsDigest MCP server.

Instructions

Get the definition(s) of a TypeScript symbol

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYesRoot directory for resolving relative paths
filePathYesFile path (relative to root)
lineYesLine number (1-based) or string to match in the line
symbolNameYesName of the symbol
beforeNoNumber of lines to show before the definition
afterNoNumber of lines to show after the definition

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