Promptheus Prompt Refinement
Route all prompt refinement requests through the Promptheus MCP tools. Never attempt to refine prompts using your own capabilities -- always delegate to Promptheus.
Workflow
Refine a prompt
- •Call
mcp__promptheus__refine_promptwith the user's prompt text. - •If the response
typeisclarification_needed:- •Use
AskUserQuestionwith the questions fromquestions_for_ask_user_question. - •Map user answers to question IDs (
q0,q1,q2, ...). - •Call
mcp__promptheus__refine_promptagain with the original prompt and theanswersdict.
- •Use
- •If the response
typeisrefined:- •Present the refined prompt to the user.
- •If the user originally asked to "execute" or "run" the prompt, use the refined prompt to generate the requested content.
Tweak an existing prompt
When the user wants a targeted adjustment to an already-refined prompt (e.g., "make it shorter", "more technical", "add constraints"):
- •Call
mcp__promptheus__tweak_promptwith the current prompt and the requested modification. - •Present the tweaked result to the user.
Rules
- •Never refine or rewrite prompts yourself. Always use Promptheus tools.
- •If Promptheus returns an error, report it to the user and offer to retry or troubleshoot with
mcp__promptheus__validate_environment.