Skip to main content
Glama

get-server-info

Retrieve detailed information about the MCP Firebird server and its available tools to enable secure access and data management for Firebird SQL databases using natural language.

Instructions

Obtiene información sobre el servidor MCP Firebird y las herramientas disponibles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the 'get-server-info' tool logic. It collects and formats server information including package metadata, list of available tools, features, and Node.js runtime details, returning it as a text content response.
    handler: async () => { try { const serverInfo = { name: pkg.name || 'MCP Firebird Server', version: pkg.version || '2.6.0-alpha.11', description: pkg.description || 'Servidor MCP para bases de datos Firebird', capabilities: { tools: Array.from(databaseTools.keys()), totalTools: databaseTools.size, features: [ 'SQL query execution', 'Database schema inspection', 'Performance analysis', 'Backup and restore', 'Database validation' ] }, runtime: { nodeVersion: process.version, platform: process.platform, uptime: process.uptime(), memoryUsage: process.memoryUsage() } }; return { content: [{ type: 'text', text: `Información del servidor MCP Firebird:\n\n${formatForClaude(serverInfo)}` }] }; } catch (error) { logger.error('Error getting server info:', { error }); return { content: [{ type: 'text', text: `Error obteniendo información del servidor: ${error instanceof Error ? error.message : String(error)}` }], isError: true }; } }
  • Registers the 'get-server-info' tool within the setupMetadataTools function, specifying its title, description, empty input schema (no arguments needed), and references the inline handler.
    tools.set('get-server-info', { title: 'Get Server Information', description: 'Obtiene información sobre el servidor MCP Firebird y las herramientas disponibles', inputSchema: z.object({}), handler: async () => { try { const serverInfo = { name: pkg.name || 'MCP Firebird Server', version: pkg.version || '2.6.0-alpha.11', description: pkg.description || 'Servidor MCP para bases de datos Firebird', capabilities: { tools: Array.from(databaseTools.keys()), totalTools: databaseTools.size, features: [ 'SQL query execution', 'Database schema inspection', 'Performance analysis', 'Backup and restore', 'Database validation' ] }, runtime: { nodeVersion: process.version, platform: process.platform, uptime: process.uptime(), memoryUsage: process.memoryUsage() } }; return { content: [{ type: 'text', text: `Información del servidor MCP Firebird:\n\n${formatForClaude(serverInfo)}` }] }; } catch (error) { logger.error('Error getting server info:', { error }); return { content: [{ type: 'text', text: `Error obteniendo información del servidor: ${error instanceof Error ? error.message : String(error)}` }], isError: true }; } } });
  • Zod schema for tool input: empty object, indicating no parameters are required.
    inputSchema: z.object({}),

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

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