Skip to main content
Glama

Contract Powers

get_contract_powers

Full free analysis of one contract that is in the registry: verification, proxy pattern and implementation address, who the admin is and whether it is a single key, every retained power (upgrade / mint / pause / blacklist / fees / sweep / burn-from / ownership transfer / limits) with the evidence and confidence behind it, reachable DELEGATECALL / SELFDESTRUCT / CREATE2 opcodes, and the owner-only functions the classifier could NOT categorise — which is where the unusual powers hide. Accepts an address or a symbol such as USDC or AERO.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoRequired if a symbol is ambiguous.
contractYesA 0x address, or a symbol such as USDC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries full behavioral disclosure. It openly details what the analysis returns, including evidence/confidence, reachable DELEGATECALL/SELFDESTRUCT/CREATE2 opcodes, and uncategorized owner-only functions, plus the 'free' nature. This goes beyond a simple 'reads data' and sets clear expectations about the depth and limitations of the analysis.

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

Conciseness4/5

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

The description is a single dense sentence that lists numerous outputs in an organized, parenthetical-heavy structure. It has no filler and front-loads the key purpose ('Full free analysis'), but the length and dense enumeration make it slightly less scannable than a shorter, bulleted version.

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?

For a read-only analysis tool with no output schema and no annotations, the description is remarkably complete. It covers input format, all major output categories, the confidence/evidence aspect, and even mentions the uncategorized functions where unusual powers hide. An agent can predict exactly what it will receive and what constraints apply.

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 coverage is 100%, and the description adds only a reiteration of the contract parameter format ('address or a symbol such as USDC'). It does not explain nuances like symbol resolution or chain ambiguity beyond what the schema already contains, so it provides baseline value only.

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 uses a specific verb ('Full free analysis') and enumerates the exact resource and outputs: verification, proxy pattern, implementation address, admin key type, retained powers with evidence/confidence, reachable dangerous opcodes, and uncategorized owner-only functions. This clearly distinguishes it from siblings like list_watched_contracts and recent_power_changes, which target different queries.

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?

The description clearly states the tool operates on 'one contract that is in the registry' and accepts an address or symbol. This gives strong contextual guidance on when to use it. However, it does not explicitly name alternatives or state when not to use it (e.g., for contracts not in the registry), leaving some routing to inference.

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.