Skip to main content
Glama

batch_batch_partition

Split arrays into passing and failing lists using a custom function, returning counts and separated items for data processing.

Instructions

[batch] Split into passing (truthy) and failing (falsy) lists. Returns {passing, failing, pass_count, fail_count}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
fnYes
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