clarifyprompt

v1.1.3
io.github.LumabyteCo/clarifyprompt Checked 5 days ago Published 8 months ago

AI prompt optimization for 58+ platforms across 7 categories with custom platforms

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

optimize_prompt

Optimize a prompt for a specific AI platform. Supports 7 categories and 58+ platforms including Midjourney, DALL-E, Stable Diffusion, Sora, Runway, HeyGen, ElevenLabs, Suno, Claude, ChatGPT, DeepSeek, Cursor, Jasper, and more. Also supports custom registered platforms. Category and platform are auto-detected when omitted.

ParameterTypeDescription
prompt *stringThe prompt to optimize
categorystringPrompt category. Auto-detected from prompt content when omitted.
enrich_contextbooleanUse web search for context enrichment (supports Tavily, Brave, Serper, SerpAPI, Exa, SearXNG)
modestringOutput mode
platformstringTarget platform ID (e.g. midjourney, dall-e, sora, suno, claude, cursor, or a custom platform ID). Uses category default when omitted.

list_categories

List all available prompt optimization categories with platform counts including custom platforms

list_platforms

List available platforms for a category, including custom registered platforms.

ParameterTypeDescription
category *stringCategory to list platforms for

list_modes

List available output modes for prompt optimization (concise, detailed, structured, step-by-step, bullet-points, technical, simple)

register_platform

Register a new custom AI platform for prompt optimization. The platform must belong to an existing category. Use instructions or instructions_file to provide detailed guidance on how prompts should be optimized for this platform.

ParameterTypeDescription
category *stringCategory this platform belongs to
description *stringShort description of the platform
id *stringUnique platform ID (lowercase, alphanumeric with hyphens, e.g. 'my-llm')
label *stringHuman-readable platform name (e.g. 'My Custom LLM')
instructionsstringInline instructions for prompt optimization on this platform
instructions_filestringPath to a .md file with detailed instructions (relative to config dir's instructions/ folder, or absolute)
syntax_hintsarrayPlatform-specific syntax hints (e.g. ['system prompts', 'JSON mode'])

update_platform

Update a custom platform or add/override instructions on a built-in platform. For built-in platforms, only instructions, instructions_file, and syntax_hints_append are supported.

ParameterTypeDescription
category *stringCategory the platform belongs to
id *stringPlatform ID to update
descriptionstringUpdated description (custom platforms only)
instructionsstringInline instructions (replaces existing)
instructions_filestringPath to .md instructions file (replaces existing)
labelstringUpdated display name (custom platforms only)
syntax_hintsarrayReplace syntax hints (custom platforms only)
syntax_hints_appendarrayAdditional syntax hints to append (works for both built-in and custom)

unregister_platform

Remove a custom platform registration. Cannot remove built-in platforms, but can remove instruction overrides from them.

ParameterTypeDescription
category *stringCategory the platform belongs to
id *stringPlatform ID to remove
remove_override_onlybooleanIf true, only remove instruction overrides (for built-in platforms)