Skip to main content
Glama
orzcls

Gemini CLI MCP Server

by orzcls

brainstorm

Generate novel ideas by applying creative frameworks like SCAMPER and Design Thinking, integrating domain context, clustering concepts, analyzing feasibility, and refining iteratively.

Instructions

Generate novel ideas with dynamic context gathering. --> Creative frameworks (SCAMPER, Design Thinking, etc.), domain context integration, idea clustering, feasibility analysis, and iterative refinement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesPrimary brainstorming challenge or question to explore
modelNoOptional model to use (e.g., 'gemini-2.5-flash'). If not specified, uses the default model (gemini-2.5-pro).
methodologyNoBrainstorming framework: 'divergent' (generate many ideas), 'convergent' (refine existing), 'scamper' (systematic triggers), 'design-thinking' (human-centered), 'lateral' (unexpected connections), 'auto' (AI selects best)auto
domainNoDomain context for specialized brainstorming (e.g., 'software', 'business', 'creative', 'research', 'product', 'marketing')
constraintsNoKnown limitations, requirements, or boundaries (budget, time, technical, legal, etc.)
existingContextNoBackground information, previous attempts, or current state to build upon
ideaCountNoTarget number of ideas to generate (default: 10-15)
includeAnalysisNoInclude feasibility, impact, and implementation analysis for generated ideas
powershellPathNoOptional custom PowerShell executable path (e.g., 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' or 'pwsh'). If not specified, auto-detects available PowerShell.

Implementation Reference

  • Handler function for the 'brainstorm' tool. Destructures arguments, constructs an enhanced brainstorming prompt incorporating user-provided methodology, domain, constraints, existing context, idea count, and analysis preference, then executes Gemini CLI to generate ideas and returns the result.
    case "brainstorm": const { prompt: brainstormPrompt, model: brainstormModel, methodology, domain, constraints, existingContext, ideaCount, includeAnalysis, powershellPath: brainstormPowershellPath } = args; console.error('[GMCPT] brainstorm tool called with prompt: ' + (brainstormPrompt ? brainstormPrompt.slice(0, 50) + '...' : 'undefined')); console.error('[GMCPT] Methodology: ' + methodology + ', Domain: ' + domain); // Build enhanced brainstorming prompt let enhancedPrompt = `BRAINSTORMING SESSION\n\nChallenge: ${brainstormPrompt}\n\n`; if (methodology && methodology !== 'auto') { enhancedPrompt += `Framework: Use ${methodology} methodology for idea generation.\n`; } if (domain) { enhancedPrompt += `Domain Context: ${domain}\n`; } if (constraints) { enhancedPrompt += `Constraints: ${constraints}\n`; } if (existingContext) { enhancedPrompt += `Background: ${existingContext}\n`; } enhancedPrompt += `\nGenerate ${ideaCount || 12} creative and diverse ideas. `; if (includeAnalysis !== false) { enhancedPrompt += `For each idea, provide a brief feasibility assessment and potential impact.`; } const brainstormResult = await executeGeminiCLI(enhancedPrompt, brainstormModel, false, false, brainstormPowershellPath); return { content: [{ type: "text", text: brainstormResult }] };
  • Registration of the 'brainstorm' tool in the tools array used by ListToolsRequestSchema handler, including name, description, and complete input schema definition.
    { name: "brainstorm", description: "Generate novel ideas with dynamic context gathering. --> Creative frameworks (SCAMPER, Design Thinking, etc.), domain context integration, idea clustering, feasibility analysis, and iterative refinement.", inputSchema: { type: "object", properties: { prompt: { type: "string", minLength: 1, description: "Primary brainstorming challenge or question to explore" }, model: { type: "string", description: "Optional model to use (e.g., 'gemini-2.5-flash'). If not specified, uses the default model (gemini-2.5-pro)." }, methodology: { type: "string", enum: ["divergent", "convergent", "scamper", "design-thinking", "lateral", "auto"], default: "auto", description: "Brainstorming framework: 'divergent' (generate many ideas), 'convergent' (refine existing), 'scamper' (systematic triggers), 'design-thinking' (human-centered), 'lateral' (unexpected connections), 'auto' (AI selects best)" }, domain: { type: "string", description: "Domain context for specialized brainstorming (e.g., 'software', 'business', 'creative', 'research', 'product', 'marketing')" }, constraints: { type: "string", description: "Known limitations, requirements, or boundaries (budget, time, technical, legal, etc.)" }, existingContext: { type: "string", description: "Background information, previous attempts, or current state to build upon" }, ideaCount: { type: "integer", exclusiveMinimum: 0, default: 12, description: "Target number of ideas to generate (default: 10-15)" }, includeAnalysis: { type: "boolean", default: true, description: "Include feasibility, impact, and implementation analysis for generated ideas" }, powershellPath: { type: "string", description: "Optional custom PowerShell executable path (e.g., 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe' or 'pwsh'). If not specified, auto-detects available PowerShell." } }, required: ["prompt"] } },
  • Input schema for the 'brainstorm' tool, defining properties, types, descriptions, defaults, enums, and required fields for validation.
    inputSchema: { type: "object", properties: { prompt: { type: "string", minLength: 1, description: "Primary brainstorming challenge or question to explore" }, model: { type: "string", description: "Optional model to use (e.g., 'gemini-2.5-flash'). If not specified, uses the default model (gemini-2.5-pro)." }, methodology: { type: "string", enum: ["divergent", "convergent", "scamper", "design-thinking", "lateral", "auto"], default: "auto", description: "Brainstorming framework: 'divergent' (generate many ideas), 'convergent' (refine existing), 'scamper' (systematic triggers), 'design-thinking' (human-centered), 'lateral' (unexpected connections), 'auto' (AI selects best)" }, domain: { type: "string", description: "Domain context for specialized brainstorming (e.g., 'software', 'business', 'creative', 'research', 'product', 'marketing')" }, constraints: { type: "string", description: "Known limitations, requirements, or boundaries (budget, time, technical, legal, etc.)" }, existingContext: { type: "string", description: "Background information, previous attempts, or current state to build upon" }, ideaCount: { type: "integer", exclusiveMinimum: 0, default: 12, description: "Target number of ideas to generate (default: 10-15)" }, includeAnalysis: { type: "boolean", default: true, description: "Include feasibility, impact, and implementation analysis for generated ideas" }, powershellPath: { type: "string", description: "Optional custom PowerShell executable path (e.g., 'C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe' or 'pwsh'). If not specified, auto-detects available PowerShell." } }, required: ["prompt"] }

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/orzcls/gemini-mcp-tool-windows-fixed'

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