Skip to main content
Glama

Contract Check

contract_check
Destructive

On-chain contract check (EVM chains: base, ethereum, arbitrum, optimism, polygon, bsc): ownership renounced?, LP burn share, ERC-20 metadata, red flags. $0.01 USDC.

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

Input Schema

NameRequiredDescriptionDefault
chainYesSupported EVM chain identifier such as base, ethereum, arbitrum, optimism, polygon or bsc; support depends on configured RPC providers.
addressYesPublic token contract address on the selected chain. EVM addresses use 0x plus 40 hexadecimal characters; Solana uses its base58 mint address.
paymentNoOptional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / address / description
      Added value: +"Public token contract address on the selected chain. EVM addresses use 0x plus 40 hexadecimal characters; Solana uses its base58 mint address."
    • addedInput schema / properties / chain / description
      Added value: +"Supported EVM chain identifier such as base, ethereum, arbitrum, optimism, polygon or bsc; support depends on configured RPC providers."
    • addedInput schema / properties / payment / description
      Added value: +"Optional base64-encoded x402 payment payload returned by an authorized payment client, not a private key or API token. Omit to receive payment requirements. A successful authorized call may settle a USDC charge; repeated paid calls may charge again."
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotent, so the safety profile is largely covered. The description adds genuinely new context the annotations lack: the $0.01 USDC cost and the chain support boundary. It does not explain that payment may be required, that repeated paid calls can charge again, or why a read-style check carries destructive/not-idempotent hints.

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?

A single front-loaded sentence: what it checks, where, and what it costs. The chain list is somewhat redundant with the schema but readable at a glance. Almost no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the schema covers the payment handshake. Still, for a tool with a paid, non-idempotent, destructive-hinted profile, the description should clarify that a payment payload is expected or that omitting it yields payment requirements, and how it differs from adjacent risk-check siblings.

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%, so chain, address and payment are already fully documented in the schema. The description's chain enumeration duplicates the schema's chain description rather than adding syntax, format or constraint detail. Baseline 3 applies when the schema does the heavy lifting.

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 concrete verb+resource (on-chain contract check) and enumerates exactly what the check reports: ownership renounced, LP burn share, ERC-20 metadata, red flags. It also bounds the scope to specific EVM chains. It does not, however, distinguish itself from plausible siblings like token_risk or precheck, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the enumerated red-flag/LP-burn checks suggest pre-trade due diligence, and the price tag signals it is a paid step. There is no explicit when-to-use, when-not-to-use, or routing to an alternative such as token_risk or precheck.

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