Review a user story
review_user_storyReview user stories before drafting API tests by flagging missing acceptance criteria, untestable wording, failure-path gaps, status-code omissions, and spec mismatches; return questions to resolve.
Instructions
Call this BEFORE draft_flow. Finds what a careful tester would ask before writing an API test: missing acceptance criteria, outcomes that can't be checked, no user role, untestable words (fast, many), limits without numbers, no failure path, missing preconditions; and for APIs: rejections without a status code or error body, deletes that don't say whether the record is kept, no expected result without credentials or for another user's data, repeated requests with no defined result, and (with a spec) endpoints or fields the spec doesn't have. Returns questions for a person to answer, each with why it matters and the words that raised it. If ready is false, ask the user these questions and wait; do not guess the answers.
context: related product docs, glossary or notes; terms the story uses but this never explains become questions. spec: OpenAPI/Swagger file to check against (default: the configured spec).
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": {
"story": "<story>"
},
"name": "review_user_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | ||
| story | Yes | ||
| context | No |