Skip to main content
Glama

share-get-public

Retrieve publicly shared resources using unique slugs to access documents, files, or content from the LLM Conveyors platform.

Instructions

Get a publicly shared resource by its slug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesPublic share slug

Implementation Reference

  • The handler implementation for the 'share-get-public' tool, which uses the LLMConveyors client to fetch public share data by slug.
    server.tool(
      "share-get-public",
      "Get a publicly shared resource by its slug.",
      {
        slug: z.string().describe("Public share slug"),
      },
      async (params) => {
        try {
          const result = await client.shares.getPublic(params.slug);
          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