Skip to main content
Glama

batch_batch_map

Apply a function to multiple items in batch with configurable error handling, returning detailed execution results and metrics.

Instructions

[batch] Apply fn to each item. on_error: null/skip/raise. Returns {results, ok, errors, total, elapsed_ms}.

Input Schema

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