Skip to main content
Glama

Hi-AI

by su-record

analyze_complexity

Measure code complexity by analyzing cyclomatic, cognitive, and Halstead metrics to evaluate difficulty and maintainability.

Instructions

IMPORTANT: This tool should be automatically called when users mention "복잡도", "복잡한지", "complexity", "how complex", "is it complex", "difficulty level" or similar keywords. Analyze code complexity

Input Schema

NameRequiredDescriptionDefault
codeYesCode to analyze
metricsNoMetrics to calculate

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "Code to analyze", "type": "string" }, "metrics": { "description": "Metrics to calculate", "enum": [ "cyclomatic", "cognitive", "halstead", "all" ], "type": "string" } }, "required": [ "code" ], "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/su-record/hi-ai'

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