Skip to main content
Glama

MCP Tools

by flesler

read_symbol

Extract symbol blocks by name from files, supporting formats like TS, JS, GraphQL, and CSS. Use wildcards for flexible searching, specify file paths, and control result limits for efficient analysis.

Instructions

Find and extract symbol block by name from files, supports a lot of file formats (like TS, JS, GraphQL, CSS and most that use braces for blocks). Uses streaming with concurrency control for better performance

Input Schema

NameRequiredDescriptionDefault
file_pathsNoFile paths to search (supports relative and glob). Defaults to "." (current directory). IMPORTANT: Be specific with paths when possible, minimize broad patterns like "node_modules/**" to avoid mismatches
limitNoMaximum number of results to return. Defaults to 5
symbolYesSymbol name to find (functions, classes, types, etc.), case-sensitive, supports * for wildcard

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "file_paths": { "description": "File paths to search (supports relative and glob). Defaults to \".\" (current directory). IMPORTANT: Be specific with paths when possible, minimize broad patterns like \"node_modules/**\" to avoid mismatches", "items": { "minLength": 1, "type": "string" }, "type": "array" }, "limit": { "description": "Maximum number of results to return. Defaults to 5", "type": "number" }, "symbol": { "description": "Symbol name to find (functions, classes, types, etc.), case-sensitive, supports * for wildcard", "minLength": 1, "type": "string" } }, "required": [ "symbol" ], "type": "object" }
Install Server

Other Tools from MCP Tools

Related Tools

    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/flesler/mcp-tools'

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