Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Token verdict, rug check

token_verdict
Read-only

Rug check with a plain-language AI verdict on an ERC-20 token: a rating (avoid, caution or no red flags) from fixed rules over checked facts (honeypot and contract risk flags, liquidity, upgradeable proxy, last hour's DEX buys and sells), the reasons, and a short AI summary of those facts. Base (default), Ethereum, Arbitrum, Optimism or Polygon; risk flags on Base only. Use before buying or accepting an unknown token. Not investment advice. Example: token=0x940181a94A35A4569E4529A3CDfB74e38FD98631. Price $0.01/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "token": "<token>"
    },
    "name": "token_verdict"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoNetwork: base (default), eth, arb, op or polygon
tokenYesToken: a ticker such as AERO or a 0x ERC-20 contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, but the description adds real context beyond them: the pricing model ($0.01/call via x402 USDC or a card key), that failed calls are free, and that repeats are charged — which explains the idempotentHint=false rather than contradicting it. It also discloses the data window ('last hour's DEX buys and sells') and the fixed-rule basis of the rating, which an agent cannot infer from annotations. Minor redundancy in restating that it changes nothing.

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?

Purpose is front-loaded in the opening clause and the follow-on sentences each carry distinct payload (chains, when to use, pricing, safety). The first sentence is long and parenthesis-heavy, which costs some readability, but no sentence is filler.

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?

There is no output schema, yet the description describes the return shape (rating, reasons, AI summary) and the inputs, plus cost and failure behavior. For a two-parameter read-only tool this leaves nothing an agent needs to call it correctly unstated.

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 100%, so the baseline is 3, but the description adds meaning the schema lacks: the chain parameter is constrained in effect (risk flags computed on Base only) and the token parameter is shown to accept either a ticker or a 0x address, with a worked example address. That is genuine semantic value on top of the schema.

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 and resource ('rug check' of an ERC-20 token) and enumerates exactly what is produced: a rating from fixed rules (avoid / caution / no red flags), the reasons, and an AI summary. It is clearly distinguishable from the raw-data siblings like token_info or base_token_info because it promises a computed verdict, not balances or transfers.

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 an explicit trigger ('Use before buying or accepting an unknown token') and bounds applicability by chain, noting risk flags exist on Base only. It does not name an alternative tool or state when this tool is the wrong choice versus, say, token_info or ai_fact_check, so it stops short of full routing guidance.

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