BRAINIAC Staking Operations
Paid Staking Operations API via x402. Unpaid tool calls return 402.
Should I use this
Quality & Safety
Findings (4)
- LOWin staking-operations_staking-reward-allocation-audit
- LOWin staking-operations_staking-reward-allocation-audit
- LOWin staking-operations_reward-fairness
- LOWin staking-operations_reward-fairness
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"staking-operations": {
"url": "https://www.brainiac.software/mcp/staking-operations"
}
}
}Remote endpoints
https://www.brainiac.software/mcp/staking-operationsstreamable-httpWhat it can do
Tool inventory
Tools (2)
🟢staking-operations_staking-reward-allocation-audit(periods, distributions)
Calculate staking reward allocations from the supplied commission percent, share percents, penalties, and rounding rule. Docs: https://www.brainiac.software/api/staking-operations/staking-reward-allocation-audit Keywords: when auditing staking reward allocations, periods, distributions, audit status, audit_status, total rewards, total_rewards, total allocated, total_allocated, undistributed rewards, undistributed_rewards, operator allocations, operator_allocations, delegator allocations, delegator_allocations.
Input Schema
{
"type": "object",
"properties": {
"periods": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"validator": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"totalRewards": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$",
"description": "totalRewards, string. Required."
},
"start": {
"description": "start, string, date-time. Optional.",
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"end": {
"description": "end, string, date-time. Optional.",
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"deductions": {
"description": "deductions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$",
"description": "totalRewards, string. Required."
},
"beneficiary": {
"description": "beneficiary, string, length 1 to 80. Optional.",
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"id",
"amount"
],
"additionalProperties": false,
"description": "item, object. Required."
}
},
"commission": {
"type": "object",
"properties": {
"beneficiary": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"percent": {
"type": "string",
"pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$",
"description": "percent, string. Required."
},
"basis": {
"type": "string",
"enum": [
"gross",
"net_after_deductions"
],
"description": "basis, string, one of gross, net_after_deductions. Required."
}
},
"required": [
"beneficiary",
"percent",
"basis"
],
"additionalProperties": false,
"description": "commission, object. Required."
},
"statedCommission": {
"description": "statedCommission, string. Optional.",
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$"
},
"shares": {
"type": "array",
"items": {
"type": "object",
"properties": {
"beneficiary": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"role": {
"type": "string",
"enum": [
"operator",
"validator",
"delegator",
"other"
],
"description": "role, string, one of operator, validator, delegator, other. Required."
},
"percent": {
"type": "string",
"pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$",
"description": "percent, string. Required."
}
},
"required": [
"beneficiary",
"role",
"percent"
],
"additionalProperties": false,
"description": "item, object. Required."
},
"description": "shares, array. Required."
},
"rounding": {
"type": "string",
"enum": [
"floor",
"ceil",
"half_up"
],
"description": "rounding, string, one of floor, ceil, half_up. Required."
},
"remainder": {
"type": "string",
"enum": [
"operator",
"undistributed",
"largest_share"
],
"description": "remainder, string, one of operator, undistributed, largest_share. Required."
}
},
"required": [
"id",
"validator",
"totalRewards",
"commission",
"shares",
"rounding",
"remainder"
],
"additionalProperties": false,
"description": "item, object. Required."
},
"description": "periods, array. Required."
},
"distributions": {
"description": "distributions, array. Optional.",
"type": "array",
"items": {
"type": "object",
"properties": {
"periodId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"beneficiary": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$",
"description": "totalRewards, string. Required."
},
"at": {
"description": "at, string, date-time. Optional.",
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
}
},
"required": [
"periodId",
"beneficiary",
"amount"
],
"additionalProperties": false,
"description": "item, object. Required."
}
}
},
"required": [
"periods"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Output Schema
{
"type": "object",
"properties": {
"audit_status": {
"type": "string",
"description": "audit_status. String."
},
"total_rewards": {
"type": "string",
"description": "total_rewards. String."
},
"total_allocated": {
"type": "string",
"description": "total_allocated. String."
},
"undistributed_rewards": {
"type": "string",
"description": "undistributed_rewards. String."
},
"operator_allocations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period_id": {
"type": "string",
"description": "period_id. String."
},
"validator": {
"type": "string",
"description": "validator. String."
},
"beneficiary": {
"type": "string",
"description": "beneficiary. String."
},
"role": {
"type": "string",
"description": "role. String."
},
"commission_amount": {
"type": "string",
"description": "commission_amount. String."
},
"share_amount": {
"type": "string",
"description": "share_amount. String."
},
"remainder_amount": {
"type": "string",
"description": "remainder_amount. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "operator_allocations. Array."
},
"delegator_allocations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period_id": {
"type": "string",
"description": "period_id. String."
},
"validator": {
"type": "string",
"description": "validator. String."
},
"beneficiary": {
"type": "string",
"description": "beneficiary. String."
},
"role": {
"type": "string",
"description": "role. String."
},
"percent": {
"type": "string",
"description": "percent. String."
},
"amount": {
"type": "string",
"description": "amount. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "delegator_allocations. Array."
},
"commission_differences": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period_id": {
"type": "string",
"description": "period_id. String."
},
"validator": {
"type": "string",
"description": "validator. String."
},
"beneficiary": {
"type": "string",
"description": "beneficiary. String."
},
"expected_amount": {
"type": "string",
"description": "expected_amount. String."
},
"stated_amount": {
"type": "string",
"description": "stated_amount. String."
},
"actual_amount": {
"type": "string",
"description": "actual_amount. String."
},
"difference": {
"type": "string",
"description": "difference. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "commission_differences. Array."
},
"distribution_mismatches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period_id": {
"type": "string",
"description": "period_id. String."
},
"validator": {
"type": "string",
"description": "validator. String."
},
"beneficiary": {
"type": "string",
"description": "beneficiary. String."
},
"expected_amount": {
"type": "string",
"description": "expected_amount. String."
},
"actual_amount": {
"type": "string",
"description": "actual_amount. String."
},
"difference": {
"type": "string",
"description": "difference. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "distribution_mismatches. Array."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"severity": {
"type": "string",
"description": "severity. String."
},
"period_id": {
"type": "string",
"description": "period_id. String."
},
"beneficiary": {
"type": "string",
"description": "beneficiary. String."
},
"detail": {
"type": "string",
"description": "detail. String."
}
},
"additionalProperties": {},
"description": "item. Object."
},
"description": "findings. Array."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}🟢staking-operations_reward-fairness(reward, shares)
Compare each supplied allocation with the share of the reward pool its weight implies. Docs: https://www.brainiac.software/api/staking-operations/reward-fairness Keywords: when auditing staking reward allocations, reward, shares, allocation fairness score, allocation_fairness_score, rounding error percentage, rounding_error_percentage, Score staking reward fairness, reward fairness.
Input Schema
{
"type": "object",
"properties": {
"reward": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "reward, integer, from any to 9007199254740991. Required."
},
"shares": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "id, string, length 1 to 80. Required."
},
"weight": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "weight, integer, from any to 9007199254740991. Required."
},
"allocated": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "allocated, integer, from 0 to 9007199254740991. Required."
}
},
"required": [
"id",
"weight",
"allocated"
],
"description": "item, object. Required."
},
"description": "shares, array. Required."
}
},
"required": [
"reward",
"shares"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"allocation_fairness_score": {
"type": "number",
"description": "allocation_fairness_score. Number."
},
"rounding_error_percentage": {
"type": "number",
"description": "rounding_error_percentage. Number."
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {}
}Community
Evidence