Skip to main content
Glama

txpeek: check an address before a transaction

check_contract_before_interaction

txpeek: pre-transaction risk check. Call it right before you send a transaction to, approve, or buy a token at an address on Base or Ethereum. Input: address (0x + 40 hex) and chain (base | ethereum). Returns verdict (low | caution | high | unknown), risk_score 0-100 and plain-language reasons, e.g. upgradeable by a single key, unverified source, mint/blacklist/fee functions, SELFDESTRUCT or DELEGATECALL, an EOA where a contract was expected; plus proxy, token and verification details and the block it was checked at. Price: USD 0.005. Free: 3 scans or 30 txpeek checks per IP per UTC day (one shared pool). Typically under 1 s (p95 about 1 s), at most about 4 s; results are cached for 10 min. If the chain cannot be read the call fails and is not charged. Heuristic, not an audit: no buy/sell (honeypot) simulation, no liquidity or oracle analysis, and a low verdict is not a clearance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain the contract is deployed on.
addressYesAddress you are about to interact with (0x + 40 hex).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so: price (USD 0.005), free quota (3 scans or 30 checks per IP per UTC day, shared pool), latency (under 1 s, p95 ~1 s, max ~4 s), 10-minute caching, and failure handling ('if the chain cannot be read the call fails and is not charged'). It also names the return fields and verdict taxonomy, which no structured field supplies.

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?

Front-loaded with the purpose and trigger, then packs cost, limits, latency, and caveats into dense but useful clauses. Every sentence earns its place for an agent making a paid call, though the middle section is heavy and could be broken into shorter units.

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?

Though there is no output schema, the description enumerates the return shape (verdict, risk_score 0-100, plain-language reasons, proxy/token/verification details, block height) and discloses cost, quota, latency, and failure semantics. Nothing needed to decide whether and how to call it is missing.

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 description coverage is 100% and both parameters are already documented with titles, an enum for chain, and the 0x+40-hex pattern. The description's restatement of address format and chain values adds no meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('pre-transaction risk check' on an address) with concrete scope: send, approve, or buy a token on Base or Ethereum. It is clearly not a source-code or package scanner, but it never explicitly contrasts itself with the sibling scan_contract_address, which an agent could easily confuse with this tool.

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?

Gives a crisp trigger ('call it right before you send a transaction to, approve, or buy a token') plus explicit exclusions: no honeypot simulation, no liquidity/oracle analysis, and a low verdict is not a clearance. No named alternative tools or routing rules to siblings are provided, so it stops short of a 5.

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