Skip to main content
Glama
kylegrahammatzen

Tambo Docs MCP Server

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();
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'dynamically discover and list', which hints at real-time or adaptive behavior, but doesn't clarify aspects like whether this is a read-only operation, potential rate limits, authentication needs, or what 'dynamic' entails (e.g., caching, updates). This leaves significant gaps for a tool with no annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the key action ('dynamically discover and list') and resource ('documentation sections') with zero wasted words. Every part of the sentence contributes directly to understanding the tool's function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 0 parameters, no output schema, and no annotations, the description is minimally adequate for a simple listing tool. However, it lacks details on behavioral traits (e.g., read-only status, dynamic behavior implications) and doesn't address sibling tool differentiation, leaving room for improvement in context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and schema description coverage is 100%, so there's no need for parameter details in the description. The description appropriately avoids redundant information, earning a high baseline score for not adding unnecessary content.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('discover and list') and resource ('documentation sections'), making it easy to understand what it does. However, it doesn't explicitly differentiate from sibling tools like 'discover_docs', 'fetch_docs', or 'search_docs', which all seem related to documentation retrieval, so it misses the top score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings (e.g., 'discover_docs', 'fetch_docs', 'search_docs'), nor does it mention any prerequisites or exclusions. It implies usage for listing sections but lacks explicit context for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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