Skip to main content
Glama
zillow
by zillow

getAllConfigs

Retrieve all current configuration settings from the AutoMobile MCP server for mobile automation testing and execution.

Instructions

Retrieve current configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'getAllConfigs' tool. It retrieves all device and app configurations from the ConfigurationManager singleton and returns them in a standardized JSON response format, handling any errors gracefully.
    async (): Promise<any> => {
      try {
        const deviceConfig = ConfigurationManager.getInstance().getDeviceConfigs();
        const appConfig = ConfigurationManager.getInstance().getAppConfigs();
    
        const result = {
          success: true,
          message: "Retrieved current MCP server configuration",
          deviceConfig,
          appConfig
        };
    
        return createJSONToolResponse(result);
      } catch (error) {
        logger.error("Failed to get MCP server configuration:", error);
        const result = {
          success: false,
          message: `Failed to get MCP server configuration: ${error}`,
        };
        return createJSONToolResponse(result);
      }
    }
  • The Zod input schema for the 'getAllConfigs' tool, which is empty as the tool requires no input parameters.
    z.object({}),
  • The registration of the 'getAllConfigs' tool using ToolRegistry.register, specifying the tool name, description, schema, and inline handler function.
    ToolRegistry.register(
      "getAllConfigs",
      "Retrieve current configuration.",
      z.object({}),
      async (): Promise<any> => {
        try {
          const deviceConfig = ConfigurationManager.getInstance().getDeviceConfigs();
          const appConfig = ConfigurationManager.getInstance().getAppConfigs();
    
          const result = {
            success: true,
            message: "Retrieved current MCP server configuration",
            deviceConfig,
            appConfig
          };
    
          return createJSONToolResponse(result);
        } catch (error) {
          logger.error("Failed to get MCP server configuration:", error);
          const result = {
            success: false,
            message: `Failed to get MCP server configuration: ${error}`,
          };
          return createJSONToolResponse(result);
        }
      }
    );
  • Helper method in ConfigurationManager that returns an array of all stored DeviceConfig objects.
    public getDeviceConfigs(): DeviceConfig[] {
      return Array.from(this.deviceSessionConfigs.values());
    }
  • Helper method in ConfigurationManager that returns an array of all stored AppConfig objects.
    public getAppConfigs(): AppConfig[] {
      return Array.from(this.appSourceConfigs.values());
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states it's a retrieval operation, implying read-only behavior, but doesn't specify what 'configuration' includes, whether it's device-specific, or if there are any side effects like caching or permissions needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no wasted words. It's front-loaded with the core action and resource, making it efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 0-parameter tool with no annotations and no output schema, the description is minimally adequate. It states the purpose but lacks details on what 'configuration' entails, potential return values, or behavioral nuances, leaving gaps in understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description doesn't add parameter details, which is appropriate, but it could have clarified the scope of 'configuration' (e.g., device, app, or system).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Retrieve current configuration' clearly states the verb ('Retrieve') and resource ('current configuration'), making the tool's purpose understandable. However, it doesn't differentiate from sibling tools like 'resetConfig' or explain what 'configuration' specifically refers to in this context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, timing, or how it differs from other configuration-related tools like 'resetConfig', leaving the agent to infer usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other 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/zillow/auto-mobile'

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