Skip to main content
Glama

Houtini-lm

by houtini-ai

find_unused_files

Identify unused TypeScript/JavaScript files in complex projects with dynamic loading patterns to optimize codebases and reduce technical debt.

Instructions

Identify genuinely unused TypeScript/JavaScript files in complex projects with dynamic loading patterns

WORKFLOW: System diagnostics and function discovery TIP: Start with health_check, use list_functions to explore capabilities SAVES: Claude context for strategic decisions

Input Schema

NameRequiredDescriptionDefault
analysisDepthNoLevel of analysis detailcomprehensive
analysisTypeNoType of analysis to performcomprehensive
analyzeCommentsNoCheck for commented-out imports
codeNoThe code to analyze (for single-file analysis)
entryPointsNoEntry point files to start dependency traversal
excludePatternsNoFile patterns to exclude from analysis
filePathNoPath to single file to analyze
filesNoArray of specific file paths (for multi-file analysis)
includeDevArtifactsNoWhether to flag potential dev artifacts
languageNoProgramming languagetypescript
maxDepthNoMaximum directory depth for discovery (1-5)
projectPathNoAbsolute path to project root

Input Schema (JSON Schema)

{ "properties": { "analysisDepth": { "default": "comprehensive", "description": "Level of analysis detail", "enum": [ "basic", "detailed", "comprehensive" ], "type": "string" }, "analysisType": { "default": "comprehensive", "description": "Type of analysis to perform", "enum": [ "static", "dynamic", "comprehensive" ], "type": "string" }, "analyzeComments": { "default": true, "description": "Check for commented-out imports", "type": "boolean" }, "code": { "description": "The code to analyze (for single-file analysis)", "type": "string" }, "entryPoints": { "default": [ "index.ts", "main.ts", "app.ts" ], "description": "Entry point files to start dependency traversal", "type": "array" }, "excludePatterns": { "default": [ "*.test.ts", "*.spec.ts", "*.d.ts" ], "description": "File patterns to exclude from analysis", "type": "array" }, "filePath": { "description": "Path to single file to analyze", "type": "string" }, "files": { "description": "Array of specific file paths (for multi-file analysis)", "type": "array" }, "includeDevArtifacts": { "default": false, "description": "Whether to flag potential dev artifacts", "type": "boolean" }, "language": { "default": "typescript", "description": "Programming language", "type": "string" }, "maxDepth": { "default": 4, "description": "Maximum directory depth for discovery (1-5)", "type": "number" }, "projectPath": { "description": "Absolute path to project root", "type": "string" } }, "required": [], "type": "object" }

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/houtini-ai/lm'

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