random-web3-mcp

by suxiongye
Verified

generate_rarity

Calculate rarity distribution for items by specifying tiers, probabilities, and optional minimums. Ideal for games, NFTs, or any scenario requiring randomized rarity allocation.

Instructions

Rarity Distributor Args: item_count: Number of items rarity_tiers: Array of rarity tiers rarity_percentages: Probability percentage for each rarity tier guaranteed_minimums: Minimum guaranteed count for each rarity tier (optional) salt: Additional entropy source

Input Schema

NameRequiredDescriptionDefault
guaranteed_minimumsNo
item_countYes
rarity_percentagesYes
rarity_tiersYes
saltNo

Input Schema (JSON Schema)

{ "properties": { "guaranteed_minimums": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Guaranteed Minimums" }, "item_count": { "title": "Item Count", "type": "integer" }, "rarity_percentages": { "items": { "type": "number" }, "title": "Rarity Percentages", "type": "array" }, "rarity_tiers": { "items": { "type": "string" }, "title": "Rarity Tiers", "type": "array" }, "salt": { "default": "", "title": "Salt", "type": "string" } }, "required": [ "item_count", "rarity_tiers", "rarity_percentages" ], "title": "generate_rarityArguments", "type": "object" }
ID: l8j1n7vnd2