Skip to main content
Glama

Base Explorer (tevm.app)

contract/inspect

Resolve contract intelligence on Base Mainnet: known protocol labels, EIP-1967/1822/Beacon/1167 proxy implementation, Sourcify verified source & ABI functions/events, and bytecode size.

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": "contract/inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x-prefixed 20-byte contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the data sources and capabilities (Sourcify verification, EIP-1967/1822/Beacon/1167 detection), which implies a read-only aggregation with no state mutation, but it never states what happens for unverified contracts, non-contract addresses, or unknown chains, nor anything about latency or caching.

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?

A single front-loaded sentence with no filler; every listed item is substantive information about what is returned. The enumeration format makes it easy to scan for capability matching.

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, the description must carry return-value information, and it does so by enumerating the resolved categories (labels, proxy implementation, verified source/ABI, bytecode size). The main gap is undefined behavior in edge cases such as unverified or non-contract addresses.

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

Parameters4/5

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

There is a single parameter with 100% schema description coverage ('0x-prefixed 20-byte contract address'), so the schema fully specifies it and no compensation is needed. The description adds no parameter-level detail, which is acceptable at this coverage level.

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 gives a specific verb ('Resolve contract intelligence') plus a precise enumeration of what gets resolved: protocol labels, proxy implementation standards, verified source/ABI, and bytecode size. It is distinguishable from siblings like explorer/address or multichain/account by its intelligence-aggregation framing, though it never explicitly contrasts itself with them.

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?

It scopes the tool to Base Mainnet, which implicitly tells the agent not to use it for other chains, but there is no explicit when-to-use or when-not guidance and no named alternative. An agent must infer that this is the tool for inspecting an arbitrary contract rather than looking one up via explorer/address.

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