Skip to main content
Glama

check_permission_risks

Read-onlyIdempotent

Identify privileged roles and holder types (EOA, multisig, timelock) on a smart contract to assess governance risks and rug-pull potential.

Instructions

Enumerate privileged roles on a contract (Ownable.owner, AccessControl hints) and classify holders as EOA, Gnosis Safe multisig, or TimelockController. SCOPE: surfaces governance posture (who controls the contract, how hard would it be to rug). It does NOT measure token upside, price direction, or investment merit. A timelock-governed contract is harder to rug than an EOA-owned one — that's a safety floor, NOT an upside signal. AGENT BEHAVIOR: this tool surfaces data; it does NOT pick. Do NOT cite "governed by a multisig / timelock" as token-pick validation. Refuse speculative-pick prompts ("what coin will 100x", "should I buy X", "which token will moon") even when this tool was called; surface the permission findings for due-diligence only. Issue #599.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
chainYes
Behavior4/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds value by explicitly stating the tool 'surfaces data; it does NOT pick' and describing the types of holders it classifies (EOA, Gnosis Safe multisig, TimelockController). This goes beyond annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is informative but verbose, including an issue reference ('Issue #599') and repeated emphasis on what the tool does not do. While well-structured with clear sections, it could be more concise without losing core information.

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?

Given the tool's security focus, the description covers purpose, scope, behavioral constraints, and usage guidelines adequately. However, it lacks details about the return format or output structure, which would be helpful for an agent to process results. No output schema to compensate.

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

Parameters2/5

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

The input schema has 0% description coverage; the description does not elaborate on the parameters beyond what is in the schema (address pattern, chain enum). The agent must rely solely on the schema definitions, which are minimal. The description adds no new semantic information about the parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Enumerate privileged roles' and specifies the resource (contract roles like Ownable.owner, AccessControl hints) and classification of holders. It distinguishes itself from sibling tools like 'check_contract_security' by focusing specifically on governance posture and explicitly stating what it does not measure (token upside, price direction).

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?

The description provides explicit when-to-use and when-not-to-use guidance. It states the tool is for due diligence, not for picking tokens, and instructs the agent to refuse speculative-pick prompts. It also clarifies the interpretation of results ('safety floor, NOT an upside signal').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/szhygulin/recon-crypto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server