Skip to main content
Glama
Fibery-inc

Fibery MCP Server

Official
by Fibery-inc

list_databases

Retrieve all database names from your Fibery workspace schema to explore available data structures.

Instructions

Get list of all databases (their names) in user's Fibery workspace (schema)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the list_databases tool logic, retrieving and formatting the list of databases from the Fibery workspace schema.
    async def handle_schema(fibery_client: FiberyClient) -> List[mcp.types.TextContent]: schema: Schema = await fibery_client.get_schema() db_list: List[Database] = schema.include_databases_from_schema() if not db_list: content = "No databases found in this Fibery workspace." else: content = "Databases in Fibery workspace:\n\n" for i, db in enumerate(db_list, 1): content += f"{i}. {db.name}\n" return [mcp.types.TextContent(type="text", text=content)]
  • Defines the tool name 'list_databases' and the schema function that returns the MCP Tool object with description and empty input schema.
    schema_tool_name = "list_databases" def schema_tool() -> mcp.types.Tool: return mcp.types.Tool( name=schema_tool_name, description="Get list of all databases (their names) in user's Fibery workspace (schema)", inputSchema={"type": "object"}, )
  • Registers the handler by dispatching tool calls to handle_schema when the tool name is 'list_databases'.
    if name == schema_tool_name: return await handle_schema(fibery_client)
  • Registers the tool schema by including schema_tool() in the list of available tools returned for MCP list_tools.
    def handle_list_tools(): return [current_date_tool(), schema_tool(), database_tool(), query_tool(), create_entity_tool(), create_entities_batch_tool(), update_entity_tool()]

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/Fibery-inc/fibery-mcp-server'

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