Check Aggregate Constraints
check_aggregate_constraintsChecks whether a proposed data access exceeds aggregate rate limits by comparing current access and record counts against window and burst constraints.
Instructions
Check if a data access would violate aggregate rate limits.
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": {
"currentAccessCount": "<currentAccessCount>",
"currentRecordCount": "<currentRecordCount>",
"windowStartMs": "<windowStartMs>",
"lastAccessMs": "<lastAccessMs>",
"sourceId": "<sourceId>",
"agentId": "<agentId>"
},
"name": "check_aggregate_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ||
| sourceId | Yes | ||
| windowMs | No | ||
| burstLimit | No | ||
| lastAccessMs | Yes | ||
| windowStartMs | Yes | ||
| currentAccessCount | Yes | ||
| currentRecordCount | Yes | ||
| maxAccessesPerWindow | No |