Skip to main content
Glama

analyze_code

Analyze Python code quality by detecting complexity, dead code, clones, and coupling metrics to identify improvement areas and maintain code health.

Instructions

Comprehensive Python code quality analysis with complexity, dead code, clone detection, and coupling metrics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysesNoArray of analyses to run. Options: complexity, dead_code, clone, cbo, deps. Default: all analyses
pathYesPath to Python code (file or directory) to analyze
recursiveNoRecursively analyze directories (default: true)

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/lesleslie/session-buddy'

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