Skip to main content
Glama
autoexecbatman

Enhanced Architecture MCP

reasoning_assist

Break down complex problems into structured reasoning steps using advanced AI models to enhance clarity and decision-making. Ideal for tackling intricate challenges systematically.

Instructions

Structured reasoning assistance for complex problems

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel to use for reasoningarchitecture-reasoning:latest
problemYesProblem statement requiring reasoning
stepsNoNumber of reasoning steps requested

Implementation Reference

  • Tool registration in ListToolsResponse, including name, description, and input schema definition.
    { name: 'reasoning_assist', description: 'Structured reasoning assistance for complex problems', inputSchema: { type: 'object', properties: { problem: { type: 'string', description: 'Problem statement requiring reasoning' }, steps: { type: 'number', description: 'Number of reasoning steps requested', default: 5 }, model: { type: 'string', description: 'Model to use for reasoning', default: 'architecture-reasoning:latest' } }, required: ['problem'] } },
  • Dispatch handler in CallToolRequest that routes reasoning_assist calls to the reasoningAssist method.
    case 'reasoning_assist': return await this.reasoningAssist(args.problem, args.steps, args.model);
  • Main handler function that constructs a multi-step structured reasoning prompt and delegates execution to the local AI via queryLocalAI.
    async reasoningAssist(problem, steps = 5, model = 'architecture-reasoning:latest') { const structuredPrompt = `Problem: ${problem} Please provide a structured reasoning approach with exactly ${steps} steps: 1. [Step 1 reasoning] 2. [Step 2 reasoning] 3. [Step 3 reasoning] ${steps > 3 ? '4. [Step 4 reasoning]' : ''} ${steps > 4 ? '5. [Step 5 reasoning]' : ''} ${steps > 5 ? Array.from({length: steps - 5}, (_, i) => `${i + 6}. [Step ${i + 6} reasoning]`).join('\n') : ''} Conclusion: [Final reasoning conclusion] Think step by step and show your reasoning process clearly.`; return await this.queryLocalAI(structuredPrompt, model, 0.6); }

Other Tools

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

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