Skip to main content
Glama

Role definition check

wever_role-definition-check
Read-only

Agent Roles: submit an agent’s role description: the role with its id, title and version, the purpose it states, each task in scope with its id and the outcome it delivers, the tasks out of scope, each success measure with its target, the decisions the role may make alone and the description as written, read for open-ended wording such as other duties as assigned, as needed or help with anything. The signed report gives the purpose with whether it names a result, every task with its outcome and whether it is also excluded, the exclusions, every success measure with its target and any opinion wording, the open-ended wording found and the decisions, and counts them, and names a vague role: no purpose, no tasks in scope, no success measure, open-ended duty wording, a measure that leaves success to opinion such as looks good or happy, and a task listed both in and out of scope; then no exclusions, tasks with no outcome, measures with no target, a purpose that names an activity rather than a result and no decisions the role makes alone, with the fix for each and what would change the verdict. No description text leaves the definition unverified. This reads the role description an agent could act on without guessing: a goal’s outcome and success test are wever_goal-statement-check and the rule set an operator hands an agent is wever_adoption-readiness-check. Verdict role_definition_vague, role_definition_partial, role_definition_unverified or role_definition_clear. POST /api/role-definition-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-definition-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYes
labelNoOptional name recorded in the report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already mark it read-only and non-open-world, but the description adds substantial behavioral context: pricing, wallet-proof binding, signed Ed25519 receipt, no network/fetch/message/payment/external write, and records staying in the report. This is rich disclosure beyond the 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 very long and repetitive, with multiple clauses restating findings, fixes, and verdict changes. Pricing, contract, human page, and extensive sibling comparisons add bulk, and the core instructions are not cleanly front-loaded.

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-object tool with no output schema, the description explains the verdicts, report contents, evidence, findings with fixes, and no external side effects. It is complete enough to call correctly, though verbosity and the missing label detail keep it from a 5.

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 50%, but the description compensates by enumerating the role fields: id, title, version, purpose, tasks with id and outcome, exclusions, measures with target, decisions, and the description text. It omits the optional label parameter, so it is not fully complete.

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 action (submit an agent role description and check it) and resource (role definition), and explicitly distinguishes it from goal-statement, adoption-readiness, onboarding, authority-scope, and delegation checks. It is not a 5 because the core purpose is buried in a dense, run-on opening.

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 gives clear context for when this check applies: a role's written definition and records at any time, rather than onboarding grants, single-action authority, or individual delegations. It names several alternatives and their scopes, though it lacks a crisp explicit when-not statement.

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