Skip to main content
Glama

Stacks Clarity MCP Server

generate_fungible_post_condition

Create mandatory SIP-010 fungible token transfer post-conditions for Stacks blockchain transactions, ensuring secure token operations by specifying conditions like amount equality or comparison.

Instructions

Generate a fungible token post-condition for SIP-010 tokens. Post-conditions are MANDATORY for all token transfers.

Input Schema

NameRequiredDescriptionDefault
amountYesThe token amount in base units
assetNameYesThe token asset name (usually same as contract name)
conditionCodeYesThe condition type (usually 'equal' for exact transfers)
contractAddressYesThe token contract address
contractNameYesThe token contract name
principalYesThe Stacks address for the post-condition

Input Schema (JSON Schema)

{ "properties": { "amount": { "description": "The token amount in base units", "type": "number" }, "assetName": { "description": "The token asset name (usually same as contract name)", "type": "string" }, "conditionCode": { "description": "The condition type (usually 'equal' for exact transfers)", "enum": [ "equal", "greater", "greater_equal", "less", "less_equal" ], "type": "string" }, "contractAddress": { "description": "The token contract address", "type": "string" }, "contractName": { "description": "The token contract name", "type": "string" }, "principal": { "description": "The Stacks address for the post-condition", "type": "string" } }, "required": [ "principal", "conditionCode", "amount", "contractAddress", "contractName", "assetName" ], "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