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

restore_instance

Restore a Tembo instance by specifying the organization ID, instance name, and recovery target time using the Tembo MCP Server to recover resources efficiently.

Instructions

Restore a Tembo instance

Input Schema

NameRequiredDescriptionDefault
instance_nameYes
org_idYesOrganization ID that owns the Tembo instance
restoreYes

Input Schema (JSON Schema)

{ "properties": { "instance_name": { "type": "string" }, "org_id": { "description": "Organization ID that owns the Tembo instance", "type": "string" }, "restore": { "properties": { "instance_id": { "type": "string" }, "recovery_target_time": { "format": "date-time", "type": "string" } }, "required": [ "instance_id" ], "type": "object" } }, "required": [ "org_id", "instance_name", "restore" ], "type": "object" }

Implementation Reference

  • The handler function for the 'restore_instance' tool. It extracts org_id and other properties from the request arguments, calls temboClient.restoreInstance with org_id in the path and props in the body, and returns the response as a text content block.
    restore_instance: async (request) => { const { org_id, ...props } = request.params.arguments as RestoreInstance & { org_id: string; }; const response = await temboClient.restoreInstance({ body: { ...props }, path: { org_id }, }); return { content: [ { type: "text", text: JSON.stringify(response.data ?? response.error, null, 2), }, ], }; },
  • src/tools.ts:231-253 (registration)
    Registration of the 'restore_instance' tool in the TOOLS array, including name, description, and detailed inputSchema defining parameters like org_id, instance_name, and restore object with instance_id.
    { name: "restore_instance" as const, description: "Restore a Tembo instance", inputSchema: { type: "object", properties: { org_id: { type: "string", description: "Organization ID that owns the Tembo instance", }, instance_name: { type: "string" }, restore: { type: "object", properties: { instance_id: { type: "string" }, recovery_target_time: { type: "string", format: "date-time" }, }, required: ["instance_id"], }, }, required: ["org_id", "instance_name", "restore"], }, },
  • Import of RestoreInstance type used for argument validation in the handler.
    RestoreInstance,

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