Skip to main content
Glama

design_system_architecture

Design complete system architectures by analyzing requirements to provide component breakdowns, data flow patterns, technology recommendations, and deployment strategies.

Instructions

Design a complete system architecture based on requirements using GLM-4.6. Provides component breakdown, data flow patterns, technology recommendations, and deployment strategies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requirementsYesDetailed system requirements, constraints, and objectives

Implementation Reference

  • The primary handler function for the 'design_system_architecture' tool. It constructs a tailored prompt from the input requirements and delegates to the consultArchitecture method, which queries the GLM-4.6 API.
      async designSystemArchitecture(requirements: string): Promise<string> {
        const query = `Design a system architecture based on the following requirements:
    
    ${requirements}
    
    Provide:
    1. High-level architecture diagram description
    2. Component breakdown and responsibilities
    3. Data flow and communication patterns
    4. Technology stack recommendations
    5. Scalability and deployment strategy
    6. Security architecture considerations`;
    
        return this.consultArchitecture(query);
      }
  • src/index.ts:65-78 (registration)
    Tool registration in the MCP tools list, including name, description, and input schema definition.
    {
      name: 'design_system_architecture',
      description: 'Design a complete system architecture based on requirements using GLM-4.6. Provides component breakdown, data flow patterns, technology recommendations, and deployment strategies.',
      inputSchema: {
        type: 'object',
        properties: {
          requirements: {
            type: 'string',
            description: 'Detailed system requirements, constraints, and objectives',
          },
        },
        required: ['requirements'],
      },
    },
  • MCP server request handler switch case that dispatches the tool call by extracting arguments and invoking the GLMClient handler.
    case 'design_system_architecture': {
      const { requirements } = args as { requirements: string };
      const response = await glmClient.designSystemArchitecture(requirements);
      return {
        content: [
          {
            type: 'text',
            text: response,
          },
        ],
      };
    }

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/bobvasic/glm-mcp-server'

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