Skip to main content
Glama
toolName.ts1.6 kB
export const toolNames = [ 'list-datasources', 'list-workbooks', 'list-views', 'query-datasource', 'get-datasource-metadata', 'get-workbook', 'get-view-data', 'get-view-image', 'list-all-pulse-metric-definitions', 'list-pulse-metric-definitions-from-definition-ids', 'list-pulse-metrics-from-metric-definition-id', 'list-pulse-metrics-from-metric-ids', 'list-pulse-metric-subscriptions', 'generate-pulse-metric-value-insight-bundle', 'search-content', ] as const; export type ToolName = (typeof toolNames)[number]; export const toolGroupNames = [ 'datasource', 'workbook', 'view', 'pulse', 'content-exploration', ] as const; export type ToolGroupName = (typeof toolGroupNames)[number]; export const toolGroups = { datasource: ['list-datasources', 'get-datasource-metadata', 'query-datasource'], workbook: ['list-workbooks', 'get-workbook'], view: ['list-views', 'get-view-data', 'get-view-image'], pulse: [ 'list-all-pulse-metric-definitions', 'list-pulse-metric-definitions-from-definition-ids', 'list-pulse-metrics-from-metric-definition-id', 'list-pulse-metrics-from-metric-ids', 'list-pulse-metric-subscriptions', 'generate-pulse-metric-value-insight-bundle', ], 'content-exploration': ['search-content'], } as const satisfies Record<ToolGroupName, Array<ToolName>>; export function isToolName(value: unknown): value is ToolName { return !!toolNames.find((name) => name === value); } export function isToolGroupName(value: unknown): value is ToolGroupName { return !!toolGroupNames.find((name) => name === value); }

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/datalabs89/tableau-mcp'

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