score_prompt
Evaluate a prompt's clarity, specificity, structure, guardrails, and token efficiency with a 1-5 score. Optionally compare two prompts to get per-dimension deltas and a verdict.
Instructions
Judge-grades a prompt 1-5 on clarity, specificity, structure, guardrails, and token efficiency. Pass 'baseline' to compare two prompts and get per-dimension deltas and a verdict.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "score_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Override for the judge model | |
| engine | No | The underlying LLM engine to use | |
| prompt | Yes | The prompt to score | |
| baseline | No | Optional second prompt; switches to comparison mode (baseline vs prompt) |