Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Token analysis, due diligence: price, supply, proxy and risk checks

pack_token_analysis
Read-only

One call to analyse an ERC-20 token: name, symbol, decimals and supply, USD price from the deepest Uniswap v3 pool, whether it is an upgradeable proxy and who can upgrade it, and on Base the honeypot and contract risk checks (paused transfers, blacklist, owner fees, mint rights, liquidity). Give a ticker or 0x address and the network (base, eth, arb, op or polygon). Use before buying, listing or accepting an unknown token. Example: token=0x4200000000000000000000000000000000000006. Price $0.03/call via x402 USDC or a card key (/credits), first 10 free; 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": "pack_token_analysis"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true and, notably, idempotentHint=false. The description explains that last one: 'each call is charged, so repeats are not free', and adds the billing model ($0.03/call via x402 USDC or card key, first 10 free, failed calls free) plus 'reads or computes only and changes nothing'. That is meaningful cost and side-effect disclosure beyond the annotation flags.

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 capability, then inputs, then when-to-use, then pricing; every block is scannable. It is dense but not padded, though the payment/credit detail is a fairly long tail for a single tool description and could be trimmed without losing invocation guidance.

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, so the description carries the return-value burden — and it does, enumerating the exact fields and risk dimensions returned (paused transfers, blacklist, owner fees, mint rights, liquidity). Combined with input format, chain options, cost, and side-effect profile, nothing an agent needs to call it correctly 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 coverage is 100%, so the schema already documents both parameters, including the same chain enumeration and the ticker-or-address flexibility. The description adds only a worked example address (0x4200...0006) and restates the chain list, so it does not meaningfully extend parameter meaning beyond structured data — baseline 3 applies.

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 ('One call to analyse an ERC-20 token') and enumerates exactly what it returns: metadata, supply, USD price from the deepest Uniswap v3 pool, proxy/upgrade authority, and Base-specific honeypot and contract risk checks. That composite scope distinguishes it from single-purpose siblings such as price_token, token_supply, contract_risk or base_proxy without naming them.

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 clear trigger: 'Use before buying, listing or accepting an unknown token', which frames the due-diligence use case. It stops short of explicit routing to alternatives (e.g., use price_token if you only need a price, contract_risk for just the safety checks), so the agent must infer when the narrower siblings suffice.

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