Skip to main content
Glama

Role scope boundary check

wever_role-scope-boundary-check
Read-only

Agent Roles: submit a role’s scope boundaries with the work its agent took on: the role with its id, title, the work it covers and the work it excludes; each piece of work with its id, the task, how the records place it against the role (in scope, out of scope or unlisted), how it was handled (done, escalated, refused or handed off) and who approved it; the escalation triggers for out-of-scope requests, each with who it goes to and how fast it must be answered, and the escalation rules as written, read for judgment wording such as when appropriate or if needed; and the refusal path for excluded work (refuse and tell, hand off, escalate or none) with who receives it. The signed report gives the boundaries, every piece of work with its status as in_role, routed, excluded_done, approved_outside, unapproved_outside or unread, every trigger with its receiver and response time and the judgment wording found, and the refusal path, and counts them, and names an open scope: no written scope, excluded work done rather than routed, unlisted work done with no approval, no escalation trigger and no refusal path for excluded work; then triggers with no receiver or no response time, judgment wording in the triggers, approved work the role does not list and a handoff or escalation path with no receiver, with the fix for each and what would change the verdict. Unstated exclusions, work, handling, triggers or refusal path leave the scope unverified. This reads one role’s boundaries against the work its agent took on: a goal’s working scope against what the principal authorized is wever_goal-scope-check, whether escalation triggers are operable is wever_escalation-threshold-check and where a refused or failed task goes on a handoff route is wever_handoff-failure-check. Verdict role_scope_open, role_scope_partial, role_scope_unverified or role_scope_bounded. POST /api/role-scope-boundary-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-scope-boundary-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
workNoWork the agent took on.
labelNoOptional name recorded in the report.
refusalNo
escalationNo

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?

Beyond readOnlyHint/openWorldHint it discloses that the records stay in the report with no network request, fetch, message, payment or external write, that the return is an Ed25519 signed report, and that access requires binding X-Wever-Wallet-Proof to the exact JSON arguments and route. It also gives concrete cost and rate-limit behavior (0.10 USDC per call on Base via x402, 10 free signed-wallet calls per rolling 30 days), which is exactly the context annotations cannot convey.

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 content is a single sprawling run-on with repeated restatement ('This reads one role's boundaries against the work its agent took on' after the opening already said so) and a long tangent enumerating every other Agent Roles check. Useful facts (payment, wallet proof, contract link) are buried at the tail rather than front-loaded, and the verdict list is appended without structure.

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?

There is no output schema, so the description carries the return value: it names the signed report's contents (boundaries, per-work status values, trigger receivers and response times, judgment wording, refusal path), the counted findings with fixes, what would change the verdict, and the four verdict strings. Combined with the input semantics and the read-only/no-write guarantees, an agent has everything needed to call it correctly.

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 only 40%, so the description must compensate, and it largely does: it walks through role id/title/scope/exclusions, work id/task/match/route/approver, escalation triggers with receiver and response time, the escalation text read for judgment wording, and the refusal path with its recipient. The only element not given meaning in prose is the optional 'label', which the schema itself documents.

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 states a specific verb and resource: it reads one role's written scope boundaries against the work its agent took on and returns a verdict. It also names the sibling it is not (wever_goal-scope-check, wever_escalation-threshold-check, wever_handoff-failure-check), so the agent can differentiate. The purpose is restated twice in dense prose, which costs some clarity, but the core operation is unambiguous.

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 routes explicitly: goal working scope vs. authorization goes to wever_goal-scope-check, trigger operability to wever_escalation-threshold-check, refused/failed task routing to wever_handoff-failure-check. It further contrasts with the onboarding checks (grants at joining), wever_authority-scope-check (one action's access), the permission-match check (every permission vs. role) and the delegation checks (one delegation on its own terms), establishing when this tool is the right one.

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