Skip to main content
Glama

Token risk

token_risk
Read-onlyIdempotent

Use for a rule-based risk label on an ERC-20 token before you accept or route it: sanctions-list match (OFAC SDN, UK and EU), upgradeable proxy, owner with mint/pause/blacklist. Returns the paid x402 request for your input (GET /token/risk, $0.01 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. For a wallet (not a token contract) use wallet_risk. First call each day returns the data itself, free; later calls return the paid request.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain of the token; default base
addressYesToken contract address (0x + 40 hex)
request_keyNoIdempotency key, echoed back

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / request_key
      Added value: +{
      +  "description": "Idempotency key, echoed back",
      +  "pattern": "^[A-Za-z0-9._:-]{1,64}$",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds the non-obvious delivery model: it returns an x402 payment request for GET /token/risk at $0.01 per call rather than the data, must be called with an x402/MPP client, bad input is rejected pre-charge, and the first daily call is free. That is exactly the behavioral context annotations cannot express.

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-loads the detection scope, then the delivery/payment mechanics, then the sibling exclusion — a logical order with no filler. It is dense and packs many clauses into two sentences, which costs a little readability, but every clause carries actionable information.

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?

For a tool whose odd part is returning a paid request instead of data, the description explains the URL, price, client requirement, free-first-call quirk and refusal-before-charge guarantee. No output schema exists, yet the agent knows exactly what comes back and what to do with it.

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 chain, address and request_key are already documented with enum, pattern and default. The description adds only an indirect signal (bad input is refused before charge) and no per-parameter meaning beyond the schema, which is the expected baseline here.

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 — a rule-based risk label on an ERC-20 token — and enumerates the exact checks (OFAC/UK/EU sanctions, upgradeable proxy, owner mint/pause/blacklist). It explicitly contrasts with the sibling wallet_risk, so the agent can pick between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete trigger ('before you accept or route it') and a concrete exclusion with a named alternative ('For a wallet (not a token contract) use wallet_risk'). Nothing about when to choose this tool 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