Skip to main content
Glama
tembo-io
by tembo-io

get_all_apps

Retrieve detailed attributes for all applications on the Tembo Cloud platform, enabling streamlined management and oversight of resources via the Tembo MCP Server.

Instructions

Get attributes for all apps

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Implementation Reference

  • The handler function for the 'get_all_apps' tool. It calls temboClient.getAllApps() and returns the response as a JSON string in the tool result format.
    get_all_apps: async () => { const response = await temboClient.getAllApps(); return { content: [ { type: "text", text: JSON.stringify(response.data ?? response.error, null, 2), }, ], }; },
  • The schema definition for the 'get_all_apps' tool, including name, description, and empty input schema (no parameters required).
    { name: "get_all_apps" as const, description: "Get attributes for all apps", inputSchema: { type: "object", properties: {}, }, },
  • src/index.ts:32-34 (registration)
    Registration of the ListTools handler, which returns the TOOLS array including the schema for 'get_all_apps'.
    server.setRequestHandler(ListToolsRequestSchema, () => { return { tools: TOOLS }; });
  • src/index.ts:36-59 (registration)
    Registration of the CallTool handler, which dispatches to TOOL_HANDLERS[toolName] if allowed, thus invoking the 'get_all_apps' handler when requested.
    server.setRequestHandler( CallToolRequestSchema, async (request): Promise<z.infer<typeof CallToolResultSchema>> => { const toolName = request.params.name; try { if (isAllowedTool(toolName)) { return await TOOL_HANDLERS[toolName](request); } throw new Error(`Unknown tool: ${toolName}`); } catch (error) { return { content: [ { type: "text", text: `Error: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } }, );

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