Skip to main content
Glama

Role delegation check

wever_role-delegation-check
Read-only

Agent Roles: submit the delegations of a role with what the written role lets be delegated: the role with its id, title, owner, the register where delegations must be recorded and each duty it names as delegable or kept back, with the most days and the largest amount and unit a delegate may hold; each delegation in effect with its id, the duty, the delegate, who made it, the amount and unit, when it starts and ends, who stays accountable and where it is recorded (the role register, a delegation record, a message or nowhere); and the date delegations are read at. The signed report gives the role’s delegation clause, every delegation with the clause it falls under, its length in days and whether it has lapsed, and counts the delegations within the role, those of a duty kept back, over the limit, with no end and unrecorded, and names unbounded delegation: a duty the role does not let be delegated, an amount past the role’s limit or no limit where the role sets one, no end date, a length past what the role allows, someone other than the role’s owner kept accountable and a delegation recorded only in a message or nowhere; then a record outside the register the role names, a delegation made by someone other than the owner, a lapsed delegation still listed and a limit in another unit, with the fix for each and what would change the verdict. No delegation clause, no owner, no delegations, or an unstated accountable person or record leaves the delegations unverified. This reads every delegation of one role against what the role allows: one delegation’s own written bounds are wever_delegation-scope-check, its expiry enforcement is wever_delegation-expiry-check, a system’s delegation records are wever_delegation-record-check and authority narrowing down a chain is wever_delegation-chain-check. Verdict role_delegation_unbounded, role_delegation_partial, role_delegation_unverified or role_delegation_bounded. POST /api/role-delegation-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-delegation-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
labelNoOptional name recorded in the report.
read_atNoThe date delegations are read at, such as 2026-11-20.
delegationsNoDelegations of the role in effect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the read-only, closed-world, non-destructive profile, and the description adds substantial context beyond them: the 0.10 USDC x402 price on Base, the 10 free signed-wallet calls per 30 days, the X-Wever-Wallet-Proof binding to exact JSON arguments and route, the Ed25519 signed receipt, and the explicit statement that records stay in the report with no network request or external write. It also discloses the unverified conditions (no delegation clause, no owner, no delegations, unstated accountable person or record), which an agent could not infer from annotations.

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 description is a single sprawling semicolon-chained passage of roughly 350 words, with the actual purpose, the sibling routing, the pricing and the provenance notes all competing mid-paragraph. Key operational facts (price, proof header) sit at the tail rather than being front-loaded. Much of the phrasing is repetitive paraphrase ('the most days and the largest amount and unit,' 'a duty the role does not let be delegated'), so many sentences do not earn their length.

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 nested-schema, no-output-schema check tool, the definition supplies everything an agent needs: the four possible verdicts, what the signed report contains, which findings trigger which verdict, the fixes and what-would-change-the-verdict sections, and the unverified conditions. Nothing material about calling it correctly or interpreting its result 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 coverage is 75%, and the description compensates by enumerating the nested fields: role id, title, owner, register and delegable duties with max_days, max_amount and unit, plus each delegation's id, duty, delegate, by, amount/unit, starts/ends, accountable and recorded_in, and read_at. It adds real meaning beyond the schema by glossing recorded_in as 'the role register, a delegation record, a message or nowhere,' which disambiguates the enum. Only the optional 'label' parameter is left unmentioned in the description, though the schema documents it.

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 definition does name the specific operation and resource: 'This reads every delegation of one role against what the role allows,' with the verdict vocabulary and the signed-report contents. It also explicitly separates itself from wever_delegation-scope-check, -expiry-check, -record-check and -chain-check. The deduction is that the actual purpose does not appear until roughly a third of the way into an opening sentence built around input submission, so an agent must parse a long preamble before reaching the verb.

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 gives explicit when-to-use-this vs when-to-use-sibling guidance: one delegation on its own terms is wever_delegation-scope-check, expiry enforcement is wever_delegation-expiry-check, a system's records are wever_delegation-record-check, chain narrowing is wever_delegation-chain-check. It also contrasts role checks (any time after joining) against onboarding checks (at joining) and authority-scope-check (one action) against permission-match-check (every permission).

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