Role permission match check
wever_role-permission-match-checkAgent Roles: submit the permissions an agent holds with its written role: the role with its id, title, version and when this version took effect; each permission the role calls for with its system, level (read, write, admin or owner) and why; each permission the agent holds now with its id, system, level, when it was granted, when it was last used and how it was granted (through the role, directly, inherited or copied); the date access is read at; and optionally the days without use after which a permission counts as unused (90 when left out). The signed report gives every held permission with the level the role calls for, its grant date, its days unused and its status as matched, excess, above_role, predates_role, below_role, unused, carried, unrated or unread when no needs are listed, every need as held, missing or under_held, and counts them, and names mismatched permissions: a permission on a system the written role does not call for, a level above the role, a permission the role calls for that the agent lacks and a grant made before this version of the role took effect; then a level below the role, a permission the role names left unused past the window and one inherited or copied rather than granted through the role, with the fix for each and what would change the verdict. No list of needs or holdings, an unstated level or last use, or no reading or effective date leaves the permissions unverified. This reads the permissions an agent holds now against its current written role, with use and grant dates: the permissions granted at joining against the written job are wever_onboarding-permissions-check, one action’s access against its authority grant is wever_authority-scope-check and a stored grant evaluated for one subject, action and resource is wever_agent-permission-ledger. Verdict role_permissions_mismatched, role_permissions_partial, role_permissions_unverified or role_permissions_matched. POST /api/role-permission-match-check. Reads the role records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; the records stay in the report, with no network request, fetch, message, payment or external write. Agent Roles reads a role’s own records and checks the role itself: what the job is, who owns it, whether the permissions the agent holds match the written role, where its scope ends, whether a change of holder rewrote the description, whether it is reviewed on schedule, whether duties stay apart across the roles one agent holds, and whether delegations stay inside what the role allows. Beside it, wever_onboarding-permissions-check and wever_onboarding-readiness-check read a new agent’s grants and written job at joining, while a role check reads the written role and its records at any time after; wever_authority-scope-check reads one action’s access against its authority grant, while the permission match check reads every permission held against the role; and the Agent Delegation checks such as wever_delegation-scope-check read one delegation on its own terms, while the delegation check reads every delegation against what the role allows. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-roles-contract. Human page: https://weverlabs.com/agent-roles/.
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": {
"role": "<role>"
},
"name": "wever_role-permission-match-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| held | No | Permissions the agent holds now. | |
| role | Yes | ||
| label | No | Optional name recorded in the report. | |
| needs | No | Permissions the written role calls for. | |
| read_at | No | The date access is read at, such as 2026-11-20. | |
| unused_days | No | Days without use after which a permission counts as unused; 90 when left out. |