Check a user story
validate_storyChecks a drafted user story against INVEST and acceptance-criteria rules, returning a 0–100 score, ready/needs-work/not-ready verdict, and specific fixes to apply before sharing.
Instructions
Checks one user story against INVEST (Independent, Negotiable, Valuable, Estimable, Small, Testable) and acceptance-criteria quality rules. Returns a 0–100 score, a verdict (ready / needs-work / not-ready) and specific findings with suggested fixes. Use it on every story you draft before showing it to the user.
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": {
"narrative": "<narrative>"
},
"name": "validate_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Short title, e.g. 'Link a bank account' | |
| labels | No | Labels or tags | |
| estimate | No | Story points, if estimated | |
| narrative | Yes | As a <persona>, I want <goal> so that <benefit>. | |
| acceptanceCriteria | No | Acceptance criteria, ideally each in Given / When / Then form |