Skip to main content
Glama

Role separation check

wever_role-separation-check
Read-only

Agent Roles: submit the roles one agent holds with its approvals: optionally the agent with its id and name; each role with its id, title and duties (initiate, approve, execute, record, reconcile, review, pay or custody); optionally the duty pairs that must sit apart (initiate and approve, execute and approve, execute and review, execute and reconcile, record and custody, and pay and approve when left out); each piece of work with who made it and who approved it; and each conflict declared with its mitigation. The signed report gives every role with its duties and whether it holds both a maker and a checker duty, the rules read and every conflicting pair held with the roles that hold it and whether it is declared, the self-approved work, and every declaration with whether the conflict is still held, and counts them, and names conflicted roles: a duty pair that must sit apart held across the agent’s roles with no declaration, a maker and a checker duty in one role and work approved by the agent that made it; then declared conflicts still held, declarations with no mitigation and declarations for conflicts no longer held, with the fix for each and what would change the verdict. Roles with no stated duties and no approval record leave separation unverified. This reads separation of duties across the roles one agent holds: approver bands and an agent approving itself under a spending arrangement are wever_approval-chain-check and who checks a delegate’s returned work is wever_delegation-result-check. Verdict role_separation_conflicted, role_separation_partial, role_separation_unverified or role_separation_clean. POST /api/role-separation-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": {
      "roles": "<roles>"
    },
    "name": "wever_role-separation-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentNo
labelNoOptional name recorded in the report.
rolesYesThe roles one agent holds.
declaredNoConflicts declared.
approvalsNoWork and who approved it.
conflictsNoDuty pairs that must sit apart; six house pairs when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, closed-world and non-destructive, but the description adds real behavior: the records stay in the report, there is no network request, fetch, message, payment or external write, and the response is a signed report with an Ed25519 receipt. It also discloses the paid-URL model (0.10 USDC per call, 10 free signed-wallet calls per 30 days) and the X-Wever-Wallet-Proof binding requirement, which an agent must know before calling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The body is two enormous run-on sentences that pack the input spec, the report contents, sibling disambiguation, pricing and contract links together, with phrases like 'what would change the verdict' and the duty enumerations repeated. The purpose statement arrives late, after a wall of submission detail, so the definition is not front-loaded. Much of the marketing and sibling-catalog text could be trimmed without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter nested-input tool with no output schema, it covers everything an agent needs: the four verdict values, the evidence and findings returned, the fixes and what would change the verdict, the degenerate 'unverified' case for roles with no duties or approval record, and the payment/auth mechanics. Nothing material about calling it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 83%, so the schema already carries most parameter meaning, but the description enumerates the eight duties and spells out the six default duty pairs that apply when 'conflicts' is omitted — detail the schema only gestures at with 'six house pairs when left out'. It also clarifies that unrecorded duties plus no approval record yields an unverified result, which is semantic guidance about the inputs, not just restatement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The operative sentence — 'This reads separation of duties across the roles one agent holds' — names a specific verb and resource, and the verdict names (role_separation_conflicted/partial/unverified/clean) confirm the scope. It also explicitly carves out wever_approval-chain-check and wever_delegation-result-check as different checks. The opening 'Agent Roles: submit the roles...' reads like an input spec and buries the purpose, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names alternatives and the exact conditions that select them: approver bands and self-approval under a spending arrangement go to wever_approval-chain-check, checking a delegate's returned work goes to wever_delegation-result-check. It further distinguishes the onboarding permission/readiness checks (at joining vs any time after), wever_authority-scope-check (one action vs every permission), and the delegation-scope check (one delegation vs every delegation).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources