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

get_instance

Retrieve a specific Tembo Cloud instance by providing the organization ID and instance ID, enabling users to manage Tembo resources efficiently.

Instructions

Get an existing Tembo instance

Input Schema

NameRequiredDescriptionDefault
instance_idYes
org_idYesOrganization ID that owns the instance

Input Schema (JSON Schema)

{ "properties": { "instance_id": { "type": "string" }, "org_id": { "description": "Organization ID that owns the instance", "type": "string" } }, "required": [ "org_id", "instance_id" ], "type": "object" }

Implementation Reference

  • The async handler function for the 'get_instance' tool. Extracts org_id and instance_id from the request arguments, calls temboClient.getInstance, and returns the JSON-stringified response.
    get_instance: async (request) => { const { org_id, instance_id } = request.params.arguments as { org_id: string; instance_id: string; }; const response = await temboClient.getInstance({ path: { org_id, instance_id }, }); return { content: [ { type: "text", text: JSON.stringify(response.data ?? response.error, null, 2), }, ], }; },
  • src/tools.ts:148-162 (registration)
    The registration entry for the 'get_instance' tool in the TOOLS array, defining its name, description, and input schema.
    { name: "get_instance" as const, description: "Get an existing Tembo instance", inputSchema: { type: "object", properties: { org_id: { type: "string", description: "Organization ID that owns the instance", }, instance_id: { type: "string" }, }, required: ["org_id", "instance_id"], }, },
  • The input schema for the 'get_instance' tool, defined inline in its registration, specifying required org_id and instance_id.
    { name: "get_instance" as const, description: "Get an existing Tembo instance", inputSchema: { type: "object", properties: { org_id: { type: "string", description: "Organization ID that owns the instance", }, instance_id: { type: "string" }, }, required: ["org_id", "instance_id"], }, },

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