Skip to main content
Glama

get_llms_context

Retrieve Better Auth LLMs.txt content to access comprehensive authentication framework documentation and configuration details for development.

Instructions

Get Better Auth LLMs.txt content for comprehensive context

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the core logic of the 'get_llms_context' tool. It fetches the LLMs.txt file from Better Auth documentation site using axios and returns the content wrapped in a standardized response format.
    private async handleGetLlmsContext() { try { const response = await this.axiosInstance.get(`${this.BETTER_AUTH_DOCS_URL}/llms.txt`); return this.createSuccessResponse({ source: "https://www.better-auth.com/llms.txt", content: response.data, lastUpdated: new Date().toISOString(), }); } catch (error) { this.handleAxiosError(error, "Failed to fetch Better Auth LLMs context"); } }
  • src/index.ts:209-217 (registration)
    Registration of the 'get_llms_context' tool in the list of available tools, including its name, description, and input schema (which is empty as the tool takes no parameters).
    { name: "get_llms_context", description: "Get Better Auth LLMs.txt content for comprehensive context", inputSchema: { type: "object", properties: {}, required: [], }, },
  • src/index.ts:233-234 (registration)
    Dispatch case in the CallToolRequestSchema handler that routes calls to the 'get_llms_context' tool to its handler function.
    case "get_llms_context": return await this.handleGetLlmsContext();
  • The input schema for the tool, defining it as an empty object with no required properties.
    inputSchema: { type: "object", properties: {}, required: [], },

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/dabhivijay2478/better-auth-mcp-server'

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