Skip to main content
Glama

OnchainCheck Token Risk

Polygon token snapshot

polygon_token_snapshot
Read-onlyIdempotent

Rug check and due-diligence snapshot of an ERC-20 token on Polygon PoS: a 0-100 risk score with reasons, name, symbol, decimals, supply, owner and whether ownership is renounced, upgradeable-proxy detection, owner-only functions found in the bytecode (mint, pause, blacklist, fee changes), and USD price, liquidity and FDV from the deepest WPOL or USDC pool on Uniswap v3. Facts only, no buy or sell opinion. Costs $0.01 USDC on Base via x402.

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": "polygon_token_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesToken contract address on Polygon PoS

Output Schema

NameRequiredDescriptionDefault
nameNostring, e.g. "ChainLink Token"
riskNoobject
assetNoobject
chainNostring, e.g. "polygon"
flagsNoobject
notesNostring, e.g. "Privileged functions are detected from bytecode selectors a
ownerNonull, e.g. null
proxyNoobject
watchNoobject
checksNoobject
marketNoobject
symbolNostring, e.g. "LINK"
addressNostring, e.g. "0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39"
listingNoobject
tradingNoobject
decimalsNonumber, e.g. 18
nativeUsdNoobject
notCheckedNoarray
totalSupplyNonumber, e.g. 1122563.552
ownershipRenouncedNonull, e.g. null
privilegedFunctionsNoobject

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely non-structured context: a paid call at $0.01 USDC on Base via x402 (a real prerequisite an agent must know before invoking) and the neutral, factual nature of the output. It does not cover failure modes for a non-contract or non-ERC-20 address.

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?

The scope and risk-score payload are front-loaded, and the short final sentences on neutrality and price are high-value. The middle enumeration of return fields is long and partially duplicates the output schema, but each item is informative enough that only mild trimming is warranted.

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 one fully documented parameter, a complete annotation set, and an output schema, the description needs only scope, cost, and behavioral character — all of which it supplies. The chain restriction and the x402 payment requirement are the two facts an agent could not get from structured fields, and both are stated explicitly.

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?

There is a single required parameter at 100% schema description coverage, with the schema already stating the regex pattern and that it is a Polygon PoS contract address. The description only echoes the chain scope, adding no further meaning such as what happens if a non-token address is supplied. Baseline 3 is appropriate when the schema fully documents the sole parameter.

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?

The description leads with a specific verb+resource ('Rug check and due-diligence snapshot of an ERC-20 token on Polygon PoS') and then enumerates the exact report contents: risk score, supply, ownership renouncement, proxy detection, owner-only functions, and Uniswap v3 price/liquidity/FDV. The explicit 'on Polygon PoS' scoping separates it from the arbitrum/base/eth/optimism/solana token_snapshot siblings without any inference.

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?

It makes the use case clear ('rug check and due-diligence') and adds a useful exclusion on output intent ('Facts only, no buy or sell opinion'), which signals it is not the verdict/opinion tool among the siblings. It stops short of naming an explicit alternative or stating when NOT to use it (e.g., for non-Polygon chains), so guidance is strong but not complete.

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