Skip to main content
Glama
batch-handler.ts530 B
import type { Services } from '../services.js'; import type { ExecuteBatchInput } from '../../domain/services/batch-service.js'; import { createSuccessResponse, type ToolResult } from './types.js'; interface BatchArgs { planId: string; operations: unknown[]; } export async function handleBatch(args: BatchArgs, services: Services): Promise<ToolResult> { const { batchService } = services; const result = await batchService.executeBatch(args as unknown as ExecuteBatchInput); return createSuccessResponse(result); }

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/cppmyjob/cpp-mcp-planner'

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