Check Gate
check_gateAsk whether this identity should be allowed to take the action named by the gate, right now. Returns verdict (allow, review, or deny), the matched rule or null when the default applied, mode, scores, badges, and evaluatedAt. dry_run returns verdict allow and wouldBe set to the real verdict. Scores are the stored full-analysis 0-100 category scores, not the Authenticity Check tool, which runs a different pass. A null score means not analyzed yet. context is logged and does not affect the verdict. An unknown identity fails as not found. An unknown slug fails with gate_not_found. If this call cannot evaluate the gate (unknown gate, unknown identity, operations quota, or an error), fail open or fail closed is the caller's explicit choice based on how sensitive the action is. A sensitive action that grants value can proceed only on verdict allow. A low-risk action can proceed when there is no verdict and stop on deny. The call counts as an operation. Over the monthly operations quota it fails with the operations quota message and is not logged. It does not change the gate.
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": {
"id": "<id>",
"gate": "<gate>"
},
"name": "check_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identity id. | |
| gate | Yes | Gate slug, for example grant_trial_credits. | |
| context | No | Optional context stored on the check log only. At most 100 fields. |