Skip to main content
Glama

ethereum_contract_risk

Use when: is this Ethereum contract risky (owner, proxy, mint, pause, blacklist)? Heuristic risk flags for a Ethereum contract from free public data: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size. Not an audit or financial advice. Costs $0.01.

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": {
      "address": "<address>"
    },
    "name": "ethereum_contract_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description must carry the behavioral burden, and it does well on the key points: it discloses the data source (free public Sourcify data), frames the output as heuristics rather than an authoritative audit, and states the cost ($0.01) before the call is made. It omits return structure, latency, and what happens on unverified/unrecognized addresses, which is why it is not a 5.

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 trigger is front-loaded with "Use when:" and every subsequent clause (data sources, risk signals, caveat, price) adds information. It is a single dense run-on with nested parenthetical lists, which slightly hurts readability but wastes no words.

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?

With no output schema and no annotations, the description takes on the full documentation load, and it covers the essentials: what signals are returned, that results are heuristic, the data source, and the cost. An agent could call this correctly from the description alone; missing only an error/edge-case note (e.g., unverified contracts) to be fully complete.

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?

There is one required parameter with 0% schema description coverage — only a regex pattern. The description implies the argument must be a deployed Ethereum contract (not an EOA or a token-only lookup), which adds some meaning, but it never states format, chain constraint, or behavior for non-contract addresses. Adequate but thin for a parameter that determines the entire call's usefulness.

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 resource and analysis type ("Heuristic risk flags for a Ethereum contract") and enumerates the signals it reports: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size. That distinguishes it from sibling tools like ethereum_honeypot_check or ethereum_address_inspect without needing to open their schemas, though it never names an alternative explicitly.

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?

"Use when: is this Ethereum contract risky (owner, proxy, mint, pause, blacklist)?" gives an explicit trigger condition and scope. It also sets expectations with "Not an audit or financial advice." However, it does not state when NOT to use it or point to the related siblings such as ethereum_honeypot_check and token_deep_scan, which is exactly the ambiguity an agent faces when choosing among these risk tools.

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