Skip to main content
Glama

base_contract_risk

Use when: is this Base contract risky (owner, proxy, mint, pause, blacklist)? Heuristic risk flags for a Base 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": "base_contract_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description usefully discloses the heuristic nature of the assessment, its reliance on free public data and Sourcify, its audit limitation, and the $0.01 cost. It does not explicitly state that the operation is read-only or explain how risk flags and their severity are represented.

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

Conciseness5/5

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

The use case is front-loaded, followed by a compact account of the checks, limitations, and price. Although the middle sentence is dense, each listed item helps define the assessment scope and there is no filler.

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 one-parameter analysis tool, the description supplies enough context to understand when and why to invoke it, including data provenance, cost, and limits. Because there is no output schema or annotation support, the lack of output-structure details and explicit read-only behavior leaves modest completeness gaps.

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 schema provides the single required address field and its hexadecimal pattern, but its description coverage is 0%. The description only implicitly establishes that the address should identify a Base contract; it never names the parameter or adds an example or other invocation guidance.

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?

It clearly states that the tool produces heuristic risk flags for a Base contract and enumerates the verification, proxy/admin, ownership, control-selector, and bytecode checks involved. The Base-specific, contract-level scope distinguishes it from address-inspection, transaction-explanation, and honeypot-check siblings.

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 opening 'Use when' supplies a concrete user question, while 'Not an audit or financial advice' establishes an important limitation on reliance. It does not explicitly route users to alternatives such as base_honeypot_check or token_deep_scan when their needs extend beyond these heuristic flags.

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