Skip to main content
Glama

analyze_code

Analyze code files to retrieve statistics such as line counts and function counts. Specify a file or directory path and optionally filter by language to gain insights into code structure and metrics.

Instructions

Analyzes code files and provides statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countFunctionsNoWhether to count functions.
countLinesNoWhether to count lines of code.
languageNoOptional language filter.
pathYesThe target file or directory path.

Other Tools

Related Tools

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/yy1588133/code-merge-mcp'

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