Skip to main content
Glama
andreadecorte

GABI MCP Server

get_db_name

Retrieve the name of the currently active database to verify connection status and ensure queries target the correct data source.

Instructions

Get the name of the current database.

Args:

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • gabi.py:66-72 (handler)
    The handler function for the 'get_db_name' tool. It is decorated with @mcp.tool() which registers it as an MCP tool. The function makes a GET request to the GABI endpoint '/dbname' to retrieve the current database name and returns it as a string.
    @mcp.tool() async def get_db_name() -> str: """Get the name of the current database. Args: """ return await make_gabi_get_request(build_gabi_url("/dbname"))
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/andreadecorte/gabi-mcp'

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