ai-prompt-optimizer
v1.0.0Cloudflare Workers MCP server: ai-prompt-optimizer
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
optimize_prompt
Optimize a prompt by removing filler words, compressing verbosity, and returning token savings.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Prompt to optimize |
analyze_prompt
Analyze a prompt for clarity score, filler patterns, ambiguity, and improvement suggestions.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Prompt to analyze |
estimate_tokens
Estimate token count of a prompt or batch of texts.
| Parameter | Type | Description |
|---|---|---|
prompt | string | Single prompt to estimate |
texts | array | Batch of texts |
compare_prompts
Compare two prompts. Returns winner by clarity score and token delta.
| Parameter | Type | Description |
|---|---|---|
prompt_a * | string | |
prompt_b * | string |
health_check
Check API health.