Skip to main content
Glama
get.ts422 B
import { z } from "zod"; import type { SQLiteDatabase } from "@/database/sqlite"; import type { Memory } from "@/types"; export const GetMemoryInputSchema = z.object({ id: z.string().describe("Memory ID to retrieve"), }); export type GetMemoryInput = z.infer<typeof GetMemoryInputSchema>; export function getMemory( input: GetMemoryInput, db: SQLiteDatabase, ): Memory | null { return db.getMemory(input.id); }

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/docleaai/doclea-mcp'

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