Score Length
score_lengthScores a non-empty answer by character length so you can evaluate response length consistently.
Instructions
Score a non-empty answer by character length.
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": {
"answer": "<answer>"
},
"name": "score_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | ||
| feedback | Yes | ||
| is_valid | Yes |