ai-prompt-optimizer

v1.0.0
io.github.lazymac2x/ai-prompt-optimizer Checked 16 hours ago Published 6 months ago

Cloudflare 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.

ParameterTypeDescription
prompt *stringPrompt to optimize

analyze_prompt

Analyze a prompt for clarity score, filler patterns, ambiguity, and improvement suggestions.

ParameterTypeDescription
prompt *stringPrompt to analyze

estimate_tokens

Estimate token count of a prompt or batch of texts.

ParameterTypeDescription
promptstringSingle prompt to estimate
textsarrayBatch of texts

compare_prompts

Compare two prompts. Returns winner by clarity score and token delta.

ParameterTypeDescription
prompt_a *string
prompt_b *string

health_check

Check API health.