Skip to main content
Glama

contract_risk_verdict

PAID ($0.01 USDC via x402 on Base or Solana). One code-risk verdict for a DEPLOYED contract before your agent approves, calls or pays it: "low", "medium" or "high" with up to 5 short reasons (High/Medium Slither patterns in the verified source, upgradeable proxy, owner powers such as mint, pause, blacklist or fee changes, unverified source). Chains: base (default), ethereum, bnb, arbitrum, optimism, polygon, and solana (token mint or program address: mint/freeze authority, Token-2022 permanent delegate, transfer fee or hook, program upgrade authority). Failed checks are NOT charged. Without a valid x402 payment in _meta['x402/payment'] it returns the payment terms and does NOT check or charge. Pay only with your user's authorisation and within their spending limits. Not an audit: it does not detect honeypots or rug pulls, and "low" does not mean safe.

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_risk_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNobase
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the supplied annotations by disclosing price ($0.01 USDC via x402), that failed checks are not charged, that an unpaid call returns payment terms and performs no check or charge, and the user-authorisation/spending-limit constraint. These are exactly the non-obvious behaviors an agent must know before invoking a paid, open-world tool.

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 price and the core promise, then reasons, then chains, then payment mechanics, then caveats — a sensible priority order. It is dense but nearly every clause adds actionable information; only the chain enumeration and the payment-failure clause run slightly long.

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?

With no output schema, the description still specifies the return values (verdict plus up to 5 reasons), the failure/no-payment path, and limits of the verdict. For a two-parameter paid tool this covers everything an agent needs to invoke it correctly and interpret the result.

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?

Schema coverage is 0%, so the description carries the burden and does so for chain: it enumerates all supported values, marks base as default, and explains that solana takes a token mint or program address with mint/freeze authority, Token-2022, and upgrade-authority checks. The address parameter is only partially characterised (no EVM format note), keeping it just short of a 5.

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?

States a specific verb+resource ("one code-risk verdict for a DEPLOYED contract") and defines the exact output shape ("low", "medium" or "high" with up to 5 short reasons). The enumerated reason categories (Slither patterns, proxy, owner powers, unverified source) and chain list make the tool's scope unmistakable and distinguish it from deeper finding-list 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?

Explicit when-to-use is given: "before your agent approves, calls or pays it," plus a clear when-not ("Not an audit: it does not detect honeypots or rug pulls"). It stops short of naming which sibling to use for deeper analysis, so routing between this and the scan_* tools is left to inference.

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