Skip to main content
Glama

Prompt Auto-Optimizer MCP

by sloth-wq

gepa_reflect

Analyze failure patterns in AI prompts and generate targeted improvements to enhance performance and reliability, using trajectory IDs and customizable analysis depth.

Instructions

Analyze failures and generate prompt improvements

Input Schema

NameRequiredDescriptionDefault
analysisDepthNoDepth of failure analysis to performdeep
focusAreasNoSpecific areas to focus analysis on (optional)
targetPromptIdYesPrompt ID to generate improvements for
trajectoryIdsYesList of trajectory IDs to analyze for failure patterns

Input Schema (JSON Schema)

{ "properties": { "analysisDepth": { "default": "deep", "description": "Depth of failure analysis to perform", "enum": [ "shallow", "deep" ], "type": "string" }, "focusAreas": { "description": "Specific areas to focus analysis on (optional)", "items": { "type": "string" }, "type": "array" }, "targetPromptId": { "description": "Prompt ID to generate improvements for", "type": "string" }, "trajectoryIds": { "description": "List of trajectory IDs to analyze for failure patterns", "items": { "type": "string" }, "type": "array" } }, "required": [ "trajectoryIds", "targetPromptId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sloth-wq/prompt-auto-optimizer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server