Skip to main content
Glama

MCP Lottery Demo

by pmhw

draw_lottery

Randomly selects one or multiple items from a provided list of options, with control over selection count and duplicate handling.

Instructions

从给定的选项列表中随机抽取一个或多个结果

Input Schema

NameRequiredDescriptionDefault
allow_duplicateNo是否允许重复抽取,默认为false
countNo抽取数量,默认为1
optionsYes抽签选项列表

Input Schema (JSON Schema)

{ "properties": { "allow_duplicate": { "default": false, "description": "是否允许重复抽取,默认为false", "type": "boolean" }, "count": { "default": 1, "description": "抽取数量,默认为1", "type": "number" }, "options": { "description": "抽签选项列表", "items": { "type": "string" }, "type": "array" } }, "required": [ "options" ], "type": "object" }

Other Tools from MCP Lottery Demo

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/pmhw/McpDemo'

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