Skip to main content
Glama

check_complexity

Destructive

Analyze Python function cyclomatic complexity to identify code that may be difficult to maintain or test, helping developers refactor complex logic.

Instructions

Analyze cyclomatic complexity of Python functions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_complexityNoMaximum allowed complexity, 0 = no limit (default: 0)
min_complexityNoMinimum complexity to report (default: 1)
pathYesPath to Python code to analyze
show_detailsNoInclude detailed metrics (default: true)

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

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

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