compare_texts
Compare two text versions to score AI-likelihood before and after, returning per-paragraph deltas plus improved and regressed counts so you can verify rewrites lowered the score.
Instructions
Score two versions of a text and report the before/after delta.
Paragraphs are paired by index, so use it for paragraph-level rewrites or in-place edits that preserve paragraph boundaries. Negative delta_ai_pct is an improvement. Also returns per-paragraph deltas and improved/regressed counts.
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": {
"text_a": "<text_a>",
"text_b": "<text_b>"
},
"name": "compare_texts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_a | Yes | ||
| text_b | Yes | ||
| exclude_references | No |