Skip to main content
Glama

check_complexity

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)

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