Skip to main content
Glama

Stacks Clarity MCP Server

generate_non_fungible_post_condition

Create mandatory NFT transfer post-conditions for SIP-009 tokens to ensure secure blockchain transactions by specifying ownership requirements.

Instructions

Generate a non-fungible token post-condition for SIP-009 NFTs. Post-conditions are MANDATORY for all NFT transfers.

Input Schema

NameRequiredDescriptionDefault
assetNameYesThe NFT asset name (usually same as contract name)
conditionCodeYesThe condition type ('owns' or 'does_not_own')
contractAddressYesThe NFT contract address
contractNameYesThe NFT contract name
principalYesThe Stacks address for the post-condition
tokenIdYesThe NFT token ID

Input Schema (JSON Schema)

{ "properties": { "assetName": { "description": "The NFT asset name (usually same as contract name)", "type": "string" }, "conditionCode": { "description": "The condition type ('owns' or 'does_not_own')", "enum": [ "owns", "does_not_own" ], "type": "string" }, "contractAddress": { "description": "The NFT contract address", "type": "string" }, "contractName": { "description": "The NFT contract name", "type": "string" }, "principal": { "description": "The Stacks address for the post-condition", "type": "string" }, "tokenId": { "description": "The NFT token ID", "type": "number" } }, "required": [ "principal", "conditionCode", "tokenId", "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