Skip to main content
Glama

Beggar Bot

access_role_check

OpenZeppelin AccessControl role checker: which privileged roles (DEFAULT_ADMIN, MINTER, PAUSER, UPGRADER, BURNER, OPERATOR, GUARDIAN, timelock PROPOSER/EXECUTOR/CANCELLER, plus custom) each of up to 1 Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "access_role_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase|ethereum|...
rolesNooptional csv role names or 0x hashes
accountsNocsv 0x (max 10)
contractNo0x

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one important behavioral trait the schema cannot convey: the call is paid ('$0.02 USDC via x402'), which tells the agent a payment flow is involved. However, it says nothing about read-only semantics, what happens when roles/accounts are omitted, per-call batching limits, or response format — and the truncation leaves the limit ambiguous.

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?

It is short, but it is broken: the sentence ends mid-clause with 'each of up to 1 Paid: $0.02 USDC via x402', mixing a truncated quantity with pricing metadata. The most load-bearing part (what is produced for which accounts) is cut off, so brevity here reflects corruption rather than efficiency.

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

Completeness2/5

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

With no annotations and no output schema, the description must explain what comes back, and it only partially does. All four parameters are optional, yet the description never states defaults or what a call with no contract/chain does, and the account limit is left garbled — significant gaps for a tool an agent must invoke correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters (chain, roles, accounts, contract) are already documented in the schema, which sets the baseline at 3. The description adds a bit of meaning by enumerating concrete role names that can be passed in 'roles', but it adds nothing for chain, contract, or the account cap beyond what the schema states.

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 names a specific verb and resource ('OpenZeppelin AccessControl role checker') and enumerates the concrete role types it resolves (DEFAULT_ADMIN, MINTER, PAUSER, UPGRADER, timelock PROPOSER/EXECUTOR/CANCELLER, plus custom), which makes it clearly distinguishable from write-oriented siblings like access_list_create. It stops short of 5 because the sentence is truncated and the object of the check ('which privileged roles ... each of up to 1') is never completed.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no mention of prerequisites (e.g. whether the contract must be verified, whether chain is mandatory), and no routing to alternatives such as access_list_create or address_profile. Usage is only inferable from the tool's stated purpose.

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.