Skip to main content
Glama

Stacks Clarity MCP Server

generate_post_condition_template

Create secure post-condition templates for blockchain transactions including token transfers, NFT operations, and DeFi swaps to protect assets and ensure transaction safety.

Instructions

Generate a complete post-condition template for common transaction patterns with security best practices.

Input Schema

NameRequiredDescriptionDefault
assetsYesThe assets involved in the transaction
transactionTypeYesThe type of transaction pattern

Input Schema (JSON Schema)

{ "properties": { "assets": { "description": "The assets involved in the transaction", "items": { "additionalProperties": false, "properties": { "assetName": { "description": "Asset name for tokens/NFTs", "type": "string" }, "contractAddress": { "description": "Contract address for tokens/NFTs", "type": "string" }, "contractName": { "description": "Contract name for tokens/NFTs", "type": "string" }, "type": { "description": "The asset type", "enum": [ "fungible", "non-fungible", "stx" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "array" }, "transactionType": { "description": "The type of transaction pattern", "enum": [ "token_transfer", "nft_transfer", "marketplace_sale", "defi_swap", "staking", "custom" ], "type": "string" } }, "required": [ "transactionType", "assets" ], "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