Skip to main content
Glama
tembo-io

Tembo MCP Server

Official
by tembo-io

ask_tembo

Query Tembo Docs to find answers and guidance on managing Tembo Cloud resources using natural language interactions.

Instructions

Ask a question to Tembo Docs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe ask query. For example, "how to create a Tembo instance"

Implementation Reference

  • The handler function for the 'ask_tembo' tool. It extracts the 'query' from the input arguments, calls temboClient.ask with the query, and returns the JSON-stringified response or error.
    ask_tembo: async (request) => {
    	const { query } = request.params.arguments as { query: string };
    	const response = await temboClient.ask({
    		query: {
    			query,
    		},
    	});
    	return {
    		content: [
    			{
    				type: "text",
    				text: JSON.stringify(response.data ?? response.error, null, 2),
    			},
    		],
    	};
    },
  • The schema definition for the 'ask_tembo' tool, including name, description, and input schema requiring a 'query' string.
    {
    	name: "ask_tembo" as const,
    	description: "Ask a question to Tembo Docs",
    	inputSchema: {
    		type: "object",
    		properties: {
    			query: {
    				type: "string",
    				description:
    					'The ask query. For example, "how to create a Tembo instance"',
    			},
    		},
    		required: ["query"],
    	},
    },
  • src/index.ts:32-34 (registration)
    Registration of all tools (including 'ask_tembo') via the ListTools handler that returns the TOOLS array.
    server.setRequestHandler(ListToolsRequestSchema, () => {
    	return { tools: TOOLS };
    });
  • src/index.ts:41-44 (registration)
    Dispatch logic in CallTool handler that routes to the specific TOOL_HANDLERS[toolName] for execution if allowed.
    try {
    	if (isAllowedTool(toolName)) {
    		return await TOOL_HANDLERS[toolName](request);
    	}
Install Server

Other Tools

Related Tools

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/tembo-io/mcp-server-tembo'

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