Skip to main content
Glama

sampler_sample_list

Select random samples from a list with configurable size and replacement options for data analysis and testing.

Instructions

[sampler] Random sample of n items. replacement=true for oversampling. Returns {sample, n, total}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
nYes
seedNo
replacementNo
Install Server

Other Tools

Latest Blog Posts

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/0-co/agent-friend'

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