Skip to main content
Glama

random-web3-mcp

generate_rarity

Distribute items across rarity tiers with defined probabilities and optional minimum guarantees. Input item count, tiers, percentages, and salt for entropy. Used in games, finance, and testing.

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" }

Other Tools from random-web3-mcp

Related Tools

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/suxiongye/random-web3-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server