Skip to main content
Glama

session-hydrate

Retrieve complete session data including artifacts and logs by providing a session ID for comprehensive analysis and management.

Instructions

Hydrate a session — returns the full session with all artifacts and logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSession ID

Implementation Reference

  • Registration and handler implementation for the 'session-hydrate' tool, which uses the LLMConveyors client to hydrate a session.
    server.tool(
      "session-hydrate",
      "Hydrate a session — returns the full session with all artifacts and logs.",
      {
        id: z.string().describe("Session ID"),
      },
      async (params) => {
        try {
          const result = await client.sessions.hydrate(params.id);
          return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
        } catch (err) {
          const message = err instanceof Error ? err.message : String(err);
          return { content: [{ type: "text", text: `Error: ${message}` }], isError: true };
        }
      },
    );

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/ebenezer-isaac/llmconveyors-mcp'

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