Score a request before starting work
score_requestEvaluate a request against the repository profile to get a proceed or block verdict, with questions that close the gap. No data is written.
Instructions
Scores a request against the repository profile and returns a proceed or block verdict with the questions that close the gap. Writes nothing.
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": {
"request": "<request>"
},
"name": "score_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory to resolve .spec-gate.yml from. Defaults to the process cwd. | |
| target | No | Path the work will touch, used to select the profile. Does not choose the profile directly. | |
| request | Yes | The request as received, verbatim. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rubric | Yes | ||
| scorer | Yes | ||
| profile | Yes | ||
| verdict | Yes | ||
| blocking | Yes | ||
| threshold | Yes | ||
| dimensions | Yes | ||
| sufficiency | Yes | ||
| instructions | Yes |