Skip to main content
Glama

Verodat MCP Server

Official
consumeToolHandler.ts1.92 kB
import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { ToolHandlers } from "./toolHandlers.js"; import { BaseToolHandler } from "./BaseToolHandler.js"; import { ConsumeToolDefinitions } from "./consumeToolDefinitions.js"; /** * Tool handler for the CONSUME category */ export class ConsumeToolHandler extends BaseToolHandler { constructor(server: Server, toolHandlers: ToolHandlers) { super(server, toolHandlers); this.setupTools(); } private setupTools(): void { // Add all CONSUME category tools this.addTool( ConsumeToolDefinitions["get-datasets"], this.toolHandlers.handleGetDatasets.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["get-dataset-output"], this.toolHandlers.handleGetDatasetOutput.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["get-accounts"], this.toolHandlers.handleGetAccounts.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["get-workspaces"], this.toolHandlers.handleGetWorkspaces.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["get-dataset-targetfields"], this.toolHandlers.handleGetDatasetTargetfields.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["get-queries"], this.toolHandlers.handleGetQueries.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["get-ai-context"], this.toolHandlers.handleGetAIContext.bind(this.toolHandlers) ); this.addTool( ConsumeToolDefinitions["execute-ai-query"], this.toolHandlers.handleExecuteAIQuery.bind(this.toolHandlers) ); } }

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/Verodat/verodat-mcp-server'

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