Prompt Optimizer
optimize_promptAnalyze and improve LLM prompts by scoring clarity, specificity, structure, and completeness. Returns optimized rewrites with explanations of changes for better AI responses.
Instructions
Analyze and improve an LLM prompt. Scores clarity, specificity, structure, and completeness. Returns an optimized rewrite with a summary of what changed and why. Powered by Claude.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "optimize_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The LLM prompt to analyze and/or improve | |
| model | No | Target model (e.g. 'gpt-4o', 'claude-3-5-sonnet') | gpt-4o |
| task | No | What this prompt is trying to accomplish | |
| mode | No | 'both' returns analysis + improved prompt; 'analyze' scores only; 'improve' rewrites only | both |