Skip to main content
Glama

MCP Firebird

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging level for debugging (e.g., debug)
FIREBIRD_HOSTNoThe hostname of the Firebird database serverlocalhost
FIREBIRD_PORTNoThe port number of the Firebird database server3050
FIREBIRD_ROLENoOptional database role
FIREBIRD_USERNoUsername for connecting to the Firebird databaseSYSDBA
FIREBIRD_DATABASENoPath to the Firebird database file (.fdb)
FIREBIRD_PASSWORDNoPassword for connecting to the Firebird databasemasterkey
FIREBIRD_DATABASE_DIRNoDirectory containing multiple Firebird databases

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
analyze-tableAnalyzes the structure of a specific table and returns its schema.
list-tablesLists all available tables in the database.
analyze-table-relationshipsAnalyzes the relationships of a specific table with other tables.
database-schema-overviewProvides an overview of the database schema including tables and their relationships.
analyze-table-dataAnalyzes the data in a specific table and provides statistics.
query-dataExecutes and analyzes a SQL query in Firebird
optimize-queryAnalyzes and suggests optimizations for a SQL query in Firebird
generate-sqlGenerates a SQL query for Firebird based on a description
explain-sqlExplains a SQL query in detail, including its execution plan
sql-tutorialProvides a tutorial on a specific SQL concept with Firebird examples

Resources

Contextual data attached and managed by the client

NameDescription
Resource: /tables
Resource: /tables/{tableName}/schema
Resource: /tables/{tableName}/description
Resource: /tables/{tableName}/data

Tools

Functions exposed to the LLM to take actions

NameDescription
execute-query

Executes a SQL query in the Firebird database. Uses FIRST/ROWS for pagination.

list-tables

Lists all user tables in the current Firebird database.

describe-table

Gets the detailed schema (columns, types, etc.) of a specific table.

get-field-descriptions

Gets the stored descriptions for fields of a specific table (if they exist).

analyze-query-performance

Analyzes the performance of a SQL query by executing it multiple times and measuring execution time

get-execution-plan

Gets the execution plan for a SQL query to understand how the database will execute it

analyze-missing-indexes

Analyzes a SQL query to identify missing indexes that could improve performance

backup-database

Creates a backup of the Firebird database

restore-database

Restores a Firebird database from a backup

validate-database

Validates the integrity of the Firebird database

get-methods

Returns a description of all available MCP tools (methods)

describe-method

Returns a description of a specific MCP tool (method)

ping

Tests connectivity to the Firebird MCP server

echo

Echoes back the input message

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/PuroDelphi/mcpFirebird'

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