Skip to main content
Glama

Stacks Clarity MCP Server

generate_optimization_recommendations

Generate Clarity contract optimization recommendations based on SIP-012 improvements and best practices to address performance issues and achieve target throughput goals.

Instructions

Generate specific optimization recommendations for Clarity contracts based on SIP-012 improvements and best practices.

Input Schema

NameRequiredDescriptionDefault
contractPatternYesType of contract pattern
currentIssuesYesCurrent performance issues identified
targetThroughputNoTarget performance goals

Input Schema (JSON Schema)

{ "properties": { "contractPattern": { "description": "Type of contract pattern", "enum": [ "token-contract", "nft-collection", "defi-pool", "dao-governance", "marketplace", "staking-pool", "generic" ], "type": "string" }, "currentIssues": { "description": "Current performance issues identified", "items": { "type": "string" }, "type": "array" }, "targetThroughput": { "description": "Target performance goals", "type": "string" } }, "required": [ "contractPattern", "currentIssues" ], "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