Skip to main content
Glama

list_sections

Discover available documentation sections to navigate Tambo technical content. Use this tool to identify and access specific documentation areas for efficient information retrieval.

Instructions

Dynamically discover and list all available documentation sections

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the 'list_sections' tool logic: lists discovered documentation sections grouped by category after ensuring they are loaded.
    async listSections(): Promise<CallToolResult> { await this.ensureSectionsLoaded(); if (this.sections.length === 0) { return { content: [ { type: 'text', text: 'No documentation sections discovered. Try running discover_docs first.', }, ], }; } const grouped = this.sections.reduce((acc, section) => { const category = section.category || 'Other'; if (!acc[category]) acc[category] = []; acc[category].push(section); return acc; }, {} as Record<string, DocSection[]>); const output = Object.entries(grouped) .map(([category, sections]) => `## ${category}\n${sections.map(s => `• **${s.title}** - ${s.path}`).join('\n')}` ) .join('\n\n'); return { content: [ { type: 'text', text: `Available documentation sections (${this.sections.length} total):\n\n${output}`, }, ], }; }
  • src/server.ts:64-70 (registration)
    Registration of the 'list_sections' tool in the ListTools response, including name, description, and empty input schema.
    name: 'list_sections', description: 'Dynamically discover and list all available documentation sections', inputSchema: { type: 'object', properties: {}, }, },
  • src/server.ts:92-93 (registration)
    Tool dispatch/execution routing for 'list_sections' in the CallToolRequest handler, delegating to DocHandler.listSections().
    case 'list_sections': return await this.docHandler.listSections();

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/kylegrahammatzen/tambo-mcp-server'

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