Skip to main content
Glama
context.ts407 B
/** * Expression evaluation context builder */ export interface ExecutionContext { input: Record<string, unknown>; // Tool input arguments [key: string]: unknown; // Node outputs and other context data } export function buildContext( toolInput: Record<string, unknown>, nodeOutputs: Record<string, unknown> = {} ): ExecutionContext { return { input: toolInput, ...nodeOutputs, }; }

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/TeamSparkAI/mcpGraph'

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