Skip to main content
Glama

GetSettings

Retrieve current database configuration and settings to verify setup and optimize performance in RushDB's graph database environment.

Instructions

Get the current database settings and configuration

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the GetSettings tool. It retrieves the current database settings using the db.settings.get() method and returns the data.
    export async function GetSettings() { const result = await db.settings.get() return result.data }
  • The schema definition and metadata (name, description, inputSchema) for the GetSettings tool, used for tool listing and validation.
    { name: 'GetSettings', description: 'Get the current database settings and configuration', inputSchema: { type: 'object', properties: {}, required: [] } }
  • index.ts:532-541 (registration)
    The registration and dispatch logic in the MCP server's CallToolRequestSchema handler, which invokes the GetSettings function and formats the response.
    case 'GetSettings': const settings = await GetSettings() return { content: [ { type: 'text', text: JSON.stringify(settings, null, 2) } ] }
  • index.ts:72-76 (registration)
    The MCP server registration for listing tools, which includes GetSettings via the imported tools array.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { 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/1pxone/RushDB'

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