Skip to main content
Glama

Role handoff check

wever_role-handoff-check
Read-only

Agent Roles: submit a role changing holders: the handoff with its id, the role, the prior holder, the incoming holder and when it changed hands; the description with its version before and after, when it was rewritten and by whom, what the rewrite changed and the handoff note as written, read for wording such as as is, unchanged or same as before; the prior holder’s permissions for the role, each with whether it was revoked, and when they were revoked; the incoming holder’s acceptance with whether it was given, when and where it is recorded (the role record, a ticket, a message or nowhere); and the open work with whether it was listed at the handoff and each item with who now holds it. The signed report gives the handoff, the description with whether it was carried over and the wording found, the revocation item by item, the acceptance and the open work, and counts them, and names an inherited role: a description carried over at the same version or passed on unchanged with no rewrite, a prior holder who keeps any of the role’s permissions, an acceptance not given or not recorded and open work never listed; then a rewrite or revocation after the handoff date, an acceptance recorded only in a message, open items with no holder and a rewrite with no record of what changed, with the fix for each and what would change the verdict. An unstated rewrite, revocation, acceptance or open-work list leaves the handoff unverified. This reads one role passing from holder to holder against the rewrite rule: a task passed between agents is the Agent Handoffs checks such as wever_handoff-acceptance-check, a takeover package for a receiver is wever_handover-check and one half-finished job’s state is wever_job-handoff-pack. Verdict role_handoff_inherited, role_handoff_partial, role_handoff_unverified or role_handoff_rewritten. POST /api/role-handoff-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": {
      "handoff": "<handoff>"
    },
    "name": "wever_role-handoff-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
handoffYes
open_workNo
acceptanceNo
revocationNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, and the description adds real value on top: the report is Ed25519-signed, the records stay in the report, no network request, fetch, message or external write is performed, and the wallet-proof must bind to the exact JSON arguments and route. The pricing line (0.10 USDC per call, 10 free signed-wallet calls per 30 days) is genuine operational context. The only friction is internal: it says no 'payment' occurs while also declaring a paid endpoint – the distinction (the check itself moves no funds) is inferable but not spelled out.

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 definition is a single sprawling block of run-on clauses, including one ~200-word sentence that enumerates input fields and then re-enumerates the same fields again inside the report description. The purpose and the sibling differentiation – the most decision-relevant content – are buried deep rather than front-loaded, and the input inventory could be compressed or left to the schema.

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

Completeness4/5

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

For a nested, 6-parameter, no-output-schema analysis tool, the description covers what an agent needs: the verdict set, what the signed report contains (evidence, findings with fixes, what would change the verdict), the evidence rules that produce each finding, the payment and auth mechanics, and the contract/page links. The main omission is the response format of the report itself, which with no output schema must be inferred.

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 only 17%, so the description must carry the weight and largely does: it explains that the description text is read for wording such as 'as is', 'unchanged' or 'same as before', that revocation items are the prior holder's permissions each flagged as revoked with a revocation date, that acceptance covers whether, when, and where it is recorded (role record, ticket, message or nowhere), and that open work covers whether it was listed plus who now holds each item. The optional 'label' parameter and which nested fields are required are not addressed, leaving a small gap against the 6-parameter nested schema.

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 description does state a specific verb and resource – it reads one role passing from holder to holder against the rewrite rule and returns a verdict (role_handoff_inherited, role_handoff_partial, role_handoff_unverified, role_handoff_rewritten) – and it explicitly separates itself from wever_handoff-acceptance-check, wever_handover-check and wever_job-handoff-pack. However the actual purpose statement is buried mid-paragraph after a long enumeration of input fields, so the agent must read past the inventory before learning what the tool does.

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

Usage Guidelines4/5

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

It names the sibling checks and the exact condition that selects them: a task passed between agents goes to the Agent Handoffs checks, a takeover package to wever_handover-check, a single job's state to wever_job-handoff-pack, and the role-level checks read the role's own records at any time after joining. It also states the negative condition that leaves a handoff unverified (an unstated rewrite, revocation, acceptance or open-work list). It stops short of an explicit 'use this when' sentence, so 4 rather than 5.

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