Show scans left
sentrint_get_allowanceShow how many scans this account can still start: what is left of the plan's allowance this period, scan credits the user bought, and how many of today's 20 scan starts from AI apps are used. Call it before sentrint_scan_repo when the user is on the free plan or may be near a limit; reading it costs nothing. can_start_new_scan is false when a new commit would be refused, and next_step says why.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sentrint_get_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan the account is on, such as Free or Founder. | |
| period | Yes | How often the plan's allowance resets: day or month. | |
| next_step | Yes | What to do next, in a sentence written for the agent. | |
| scan_credits | Yes | Scan credits bought, used once the plan runs out. | |
| mcp_daily_limit | Yes | Most scans AI apps can start in one UTC day. | |
| mcp_scans_today | Yes | Scans started from AI apps today, UTC. | |
| can_start_new_scan | Yes | False when sentrint_scan_repo would refuse a new commit right now. | |
| scan_limit_in_period | Yes | The plan's scans per month; null for plans not counted monthly. | |
| scans_used_in_period | Yes | Scans used from the plan this period. | |
| free_allowance_blocked | Yes | True when the free scan waits on the account's age. | |
| included_scans_remaining | Yes | Scans left in the plan this period. |