Skip to main content
Glama

list_tables

Retrieve all available FishBase tables to access marine biology data, including species details, ecological information, and distribution records.

Instructions

List all available FishBase tables

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that executes the list_tables tool logic by returning a static list of FishBase table names.
    async listTables(): Promise<string[]> { return [ 'species', 'ecology', 'occurrence', 'morphdat', 'comnames', 'spawning', 'diet', 'popgrowth', 'stocks', 'synonyms', 'taxa', 'estimate', 'ecosystem', ]; }
  • src/index.ts:138-145 (registration)
    Registration of the list_tables tool in the MCP server's ListToolsRequestHandler, including name, description, and input schema (no parameters required).
    { name: "list_tables", description: "List all available FishBase tables", inputSchema: { type: "object", properties: {}, }, },
  • MCP CallToolRequestSchema handler case that invokes the listTables method from FishBaseAPI and formats the response as MCP content.
    case "list_tables": return { content: [ { type: "text", text: JSON.stringify( await fishbaseAPI.listTables(), null, 2 ), }, ], };

Other Tools

Related 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/lundgrenalex/mcp-fishbase'

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