Skip to main content
Glama

resetConfig

Restore default configuration settings by clearing all saved customizations in the AutoMobile mobile automation suite.

Instructions

Reset to default settings. This will clear all saved configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the resetConfig tool logic. It resets the server configuration using ConfigurationManager.resetServerConfig() and returns a JSON response indicating success or failure.
    async (): Promise<any> => { try { logger.info("Resetting MCP server configuration to defaults"); await ConfigurationManager.getInstance().resetServerConfig(); const result = { success: true, message: "MCP server configuration reset to defaults", }; return createJSONToolResponse(result); } catch (error) { logger.error("Failed to reset MCP server configuration:", error); const result = { success: false, message: `Failed to reset MCP server configuration: ${error}` }; return createJSONToolResponse(result); } }
  • Registration of the resetConfig tool in ToolRegistry, including the tool name, description, empty input schema, and inline handler function.
    ToolRegistry.register( "resetConfig", "Reset to default settings. This will clear all saved configuration.", z.object({}), async (): Promise<any> => { try { logger.info("Resetting MCP server configuration to defaults"); await ConfigurationManager.getInstance().resetServerConfig(); const result = { success: true, message: "MCP server configuration reset to defaults", }; return createJSONToolResponse(result); } catch (error) { logger.error("Failed to reset MCP server configuration:", error); const result = { success: false, message: `Failed to reset MCP server configuration: ${error}` }; return createJSONToolResponse(result); } } );
  • Empty Zod schema for the resetConfig tool input parameters.
    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/zillow/auto-mobile'

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