Skip to main content
Glama

MCP Inception MCP Server

execute_map_reduce_mcp_client

Process arrays of data in parallel using a map prompt, then sequentially reduce results to a single output with a reduce prompt, optimizing multi-item transformations efficiently.

Instructions

Process multiple items in parallel then sequentially reduce the results to a single output.

Input Schema

NameRequiredDescriptionDefault
initialValueNoInitial value for the accumulator (optional).
itemsYesArray of items to process.
mapPromptYesTemplate prompt for processing each individual item. Use {item} as placeholder for the current item.
reducePromptYesTemplate prompt for reducing results. Use {accumulator} and {result} as placeholders.

Input Schema (JSON Schema)

{ "properties": { "initialValue": { "description": "Initial value for the accumulator (optional).", "type": "string" }, "items": { "description": "Array of items to process.", "items": { "type": "string" }, "type": "array" }, "mapPrompt": { "description": "Template prompt for processing each individual item. Use {item} as placeholder for the current item.", "type": "string" }, "reducePrompt": { "description": "Template prompt for reducing results. Use {accumulator} and {result} as placeholders.", "type": "string" } }, "required": [ "mapPrompt", "reducePrompt", "items" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Inception MCP Server

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/tanevanwifferen/mcp-inception'

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