Skip to main content
Glama

Token/contract info ($0.002)

lookup_token_info
Read-only

PAID $0.002 USDC. Name, symbol, decimals, totalSupply, ERC-20/721/1155 classification, and proxy implementation if it is a proxy. Requires address= and a single chain= (default ethereum). Returns JSON name, symbol, decimals, totalSupply, ERC-20, ERC-721, or ERC-1155 class, and proxy implementation when present.

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

Input Schema

NameRequiredDescriptionDefault
chainNoSingle chain. Format: a chain slug such as ethereum, base, arbitrum, polygon, optimism, bsc, or avalanche. Example: ethereum. Default: ethereum, as the existing tool text states.
addressYesToken or contract address. Format: 0x followed by 40 hex characters. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Required.
api_keyNoOptional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment'].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x token or contract address"New value: +"Token or contract address. Format: 0x followed by 40 hex characters. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Required."
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / chain / description
      Added value: +"Single chain. Format: a chain slug such as ethereum, base, arbitrum, polygon, optimism, bsc, or avalanche. Example: ethereum. Default: ethereum, as the existing tool text states."
  2. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"Token or contract address. Format: 0x followed by 40 hex characters. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Required."New value: +"0x token or contract address"
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • removedInput schema / properties / chain / description
      Removed value: -"Single chain. Format: a chain slug such as ethereum, base, arbitrum, polygon, optimism, bsc, or avalanche. Example: ethereum. Default: ethereum, as the existing tool text states."
  3. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x token or contract address"New value: +"Token or contract address. Format: 0x followed by 40 hex characters. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Required."
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / chain / description
      Added value: +"Single chain. Format: a chain slug such as ethereum, base, arbitrum, polygon, optimism, bsc, or avalanche. Example: ethereum. Default: ethereum, as the existing tool text states."
  4. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"Token or contract address. Format: 0x followed by 40 hex characters. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Required."New value: +"0x token or contract address"
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."New value: +"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."
    • removedInput schema / properties / chain / description
      Removed value: -"Single chain. Format: a chain slug such as ethereum, base, arbitrum, polygon, optimism, bsc, or avalanche. Example: ethereum. Default: ethereum, as the existing tool text states."
  5. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"0x token or contract address"New value: +"Token or contract address. Format: 0x followed by 40 hex characters. Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48. Required."
    • changedInput schema / properties / api_key / description
      Previous value: -"Optional prepaid key (sk_scrapling_...) or catalog pass token (sdp_..., from pass_day/pass_month). Otherwise pay per call with x402 via _meta['x402/payment']."New value: +"Optional payment credential. Format: a prepaid key sk_scrapling_... or a catalog pass token sdp_... from pass_day or pass_month. Example: sdp_... . When omitted on a paid tool, the call is unpaid and the server answers with x402 PaymentRequired; retry the same call with the signed payment in params._meta['x402/payment']."
    • addedInput schema / properties / chain / description
      Added value: +"Single chain. Format: a chain slug such as ethereum, base, arbitrum, polygon, optimism, bsc, or avalanche. Example: ethereum. Default: ethereum, as the existing tool text states."
  6. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the $0.002 USDC cost, which is real behavioral context an agent planning a call needs, but it largely duplicates the title's price tag and says nothing about limits or failure behavior. The payment/x402 mechanics live only in the schema's api_key field, not in the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the price and the resource, which is good. But the second and third sentences are near-duplicates, listing the same returned fields twice (name/symbol/decimals/totalSupply/ERC class/proxy), so a full third of the text does not earn its place.

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

Completeness4/5

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

For a single-address read-only lookup this covers inputs, defaults, the output fields, and the cost, which is enough to call it correctly. With no output schema present, the enumeration of return values carries useful weight, though error modes on an invalid or non-contract address remain unaddressed.

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 all three parameters, including format examples and the x402 retry flow, are already documented. The description only restates that address is required and chain defaults to ethereum, adding no syntax or constraint information beyond the schema. Baseline 3 applies.

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?

The description names a concrete resource and enumerates exactly what metadata comes back: name, symbol, decimals, totalSupply, ERC-20/721/1155 classification, and proxy implementation. That is far more specific than a restated title. It does not, however, contrast itself with near-siblings such as lookup_token_risk or token_holders, 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?

It states the input contract ('Requires address= and a single chain= (default ethereum)'), which implies this is the go-to call for contract-level metadata. There is no explicit when-to-use versus lookup_token_risk, token_holders, or lookup_nft, and no stated exclusions or prerequisites beyond the address format.

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.