Skip to main content
Glama
autoexecbatman

Enhanced Architecture MCP

hybrid_analysis

Analyze complex data using hybrid local+cloud processing with reasoning, technical, or creative approaches to extract insights.

Instructions

Hybrid local+cloud analysis for complex data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesData to analyze
approachNoAnalysis approach: reasoning, technical, creativereasoning
modelNoLocal model for analysisarchitecture-reasoning:latest

Implementation Reference

  • Core handler function for the 'hybrid_analysis' tool. Constructs approach-specific prompts (reasoning, technical, creative) with the input data and delegates execution to the local AI via queryLocalAI method.
    async hybridAnalysis(data, approach = 'reasoning', model = 'architecture-reasoning:latest') { const analysisPrompts = { reasoning: `Analyze this data using logical reasoning and chain of thought: Data: ${data} Provide: 1. Initial observations 2. Logical deductions 3. Pattern recognition 4. Reasoning chain 5. Conclusions Focus on logical analysis and reasoning patterns.`, technical: `Perform technical analysis of this data: Data: ${data} Provide: 1. Technical specifications or characteristics 2. Implementation considerations 3. Performance implications 4. Best practices 5. Technical recommendations Focus on technical depth and accuracy.`, creative: `Analyze this data from creative and innovative perspectives: Data: ${data} Provide: 1. Creative interpretations 2. Alternative approaches 3. Innovative applications 4. Cross-domain connections 5. Novel insights Focus on creativity and innovation.` }; const prompt = analysisPrompts[approach] || analysisPrompts.reasoning; return await this.queryLocalAI(prompt, model, 0.7); }
  • Input schema validation for hybrid_analysis tool, defining required 'data' parameter and optional 'approach' and 'model' with defaults.
    inputSchema: { type: 'object', properties: { data: { type: 'string', description: 'Data to analyze' }, approach: { type: 'string', description: 'Analysis approach: reasoning, technical, creative', default: 'reasoning' }, model: { type: 'string', description: 'Local model for analysis', default: 'architecture-reasoning:latest' } }, required: ['data'] }
  • Tool registration entry in ListToolsRequestSchema handler, specifying name, description, and input schema.
    { name: 'hybrid_analysis', description: 'Hybrid local+cloud analysis for complex data', inputSchema: { type: 'object', properties: { data: { type: 'string', description: 'Data to analyze' }, approach: { type: 'string', description: 'Analysis approach: reasoning, technical, creative', default: 'reasoning' }, model: { type: 'string', description: 'Local model for analysis', default: 'architecture-reasoning:latest' } }, required: ['data'] } },
  • Dispatch/registration in CallToolRequestSchema switch statement, mapping tool call to hybridAnalysis handler.
    case 'hybrid_analysis': return await this.hybridAnalysis(args.data, args.approach, args.model);

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/autoexecbatman/arch-mcp'

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