Skip to main content
Glama

MCP Sage

by jalehman

sage-plan

Create detailed implementation plans by leveraging AI models to debate, critique, and refine strategies. Input a task and absolute paths to generate a consensus plan, optionally saving results and full transcripts for future reference.

Instructions

Generate an implementation plan via multi-model debate.

This tool leverages multiple AI models to debate, critique, and refine implementation plans. Models will generate initial plans, critique each other's work, refine their plans based on critiques, and finally produce a consensus plan that combines the best ideas. IMPORTANT: All paths must be absolute paths (e.g., /home/user/project/src), not relative paths. The process creates detailed, well-thought-out implementation plans that benefit from diverse model perspectives and iterative refinement. When the optional outputPath parameter is provided, the final plan will be saved to that file path, and a complete transcript of the debate will be saved to a companion file with "-full-transcript" added to the filename. This is strongly recommended for preserving the expensive results of the debate.

Input Schema

NameRequiredDescriptionDefault
maxTokensNoMaximum token budget for the debate
outputPathNoMarkdown file path to save the final plan. Will also save a full transcript to a '-full-transcript.md' suffixed file.
pathsYesPaths to include as context. MUST be absolute paths (e.g., /home/user/project/src). Including directories will include all files contained within recursively.
promptYesThe task to create an implementation plan for
roundsNoNumber of debate rounds (default: 3)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "maxTokens": { "description": "Maximum token budget for the debate", "type": "number" }, "outputPath": { "description": "Markdown file path to save the final plan. Will also save a full transcript to a '-full-transcript.md' suffixed file.", "type": "string" }, "paths": { "description": "Paths to include as context. MUST be absolute paths (e.g., /home/user/project/src). Including directories will include all files contained within recursively.", "items": { "type": "string" }, "type": "array" }, "prompt": { "description": "The task to create an implementation plan for", "type": "string" }, "rounds": { "description": "Number of debate rounds (default: 3)", "type": "number" } }, "required": [ "prompt", "paths" ], "type": "object" }

Other Tools from MCP Sage

Related Tools

    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/jalehman/mcp-sage'

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