Skip to main content
Glama

Stacks Clarity MCP Server

analyze_contract_performance

Analyze Clarity smart contracts to identify performance bottlenecks and SIP-012 optimization opportunities. Provides cost breakdowns and actionable recommendations to improve contract efficiency.

Instructions

Analyze a Clarity contract for performance bottlenecks and SIP-012 optimization opportunities. Provides detailed cost breakdown and optimization recommendations.

Input Schema

NameRequiredDescriptionDefault
contractCodeYesThe Clarity contract code to analyze
functionNameNoSpecific function to analyze (optional)
optimizationLevelYesLevel of optimization analysis

Input Schema (JSON Schema)

{ "properties": { "contractCode": { "description": "The Clarity contract code to analyze", "type": "string" }, "functionName": { "description": "Specific function to analyze (optional)", "type": "string" }, "optimizationLevel": { "description": "Level of optimization analysis", "enum": [ "basic", "intermediate", "advanced" ], "type": "string" } }, "required": [ "contractCode", "optimizationLevel" ], "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/exponentlabshq/stacks-clarity-mcp'

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