Skip to main content
Glama

GetSettings

Retrieve current database settings and configuration to understand your RushDB instance setup and parameters.

Instructions

Get the current database settings and configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function that executes the GetSettings tool logic by querying the database settings.
    export async function GetSettings() { const result = await db.settings.get() return result.data }
  • tools.ts:458-462 (registration)
    Tool registration in the tools array, including name, description, and input schema (no parameters required).
    { name: 'GetSettings', description: 'Get the current database settings and configuration', inputSchema: { type: 'object', properties: {}, required: [] } }
  • index.ts:532-541 (registration)
    MCP server tool dispatcher case that invokes the GetSettings handler and formats the response.
    case 'GetSettings': const settings = await GetSettings() return { content: [ { type: 'text', text: JSON.stringify(settings, null, 2) } ] }
  • Input schema for GetSettings tool: empty object, no required parameters.
    inputSchema: { type: 'object', properties: {}, required: [] } }
  • index.ts:52-52 (registration)
    Import of the GetSettings handler function into the main MCP server index.
    import { GetSettings } from './tools/GetSettings.js'

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/1pxone/RushDB'

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