Skip to main content
Glama

Prompt Auto-Optimizer MCP

by sloth-wq

gepa_select_optimal

Automatically selects the best AI prompt candidate for a given task context by evaluating performance and diversity weights, ensuring optimal results for specific use cases.

Instructions

Select best prompt candidate for given context

Input Schema

NameRequiredDescriptionDefault
diversityWeightNoWeight for diversity in selection criteria
performanceWeightNoWeight for performance in selection criteria
taskContextNoContext description for prompt selection (optional)

Input Schema (JSON Schema)

{ "properties": { "diversityWeight": { "default": 0.3, "description": "Weight for diversity in selection criteria", "type": "number" }, "performanceWeight": { "default": 0.7, "description": "Weight for performance in selection criteria", "type": "number" }, "taskContext": { "description": "Context description for prompt selection (optional)", "type": "string" } }, "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