Skip to main content
Glama

token_risk

token_risk
Read-only

Risk score 0-100 (higher = riskier) for an ERC-20 on Base: derived liquidity view, holder concentration, sell-blocked/tax flags from our own on-chain sell simulation. Use before buying or listing an unknown Base token. $0.01 via x402. Not investment advice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "token_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressNoERC-20 contract address on Base (0x + 40 hex). Tool calls are paid via x402 with or without it; if omitted, the paid call returns the AERO example with example=true. Free look without payment: GET https://token-risk.restockalarm.workers.dev/v1/preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / required
      Added value: +[]
  2. Changed1 schema field changed
    • changedInput schema / properties / address / description
      Previous value: -"ERC-20 contract address on Base (0x + 40 hex). If omitted, the AERO example is returned with example=true."New value: +"ERC-20 contract address on Base (0x + 40 hex). Tool calls are paid via x402 with or without it; if omitted, the paid call returns the AERO example with example=true. Free look without payment: GET https://token-risk.restockalarm.workers.dev/v1/preview."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld), so the description is not burdened by that. It adds genuinely useful non-schema context: the call costs $0.01 via x402, i.e. a paid endpoint, and the score is derived from the vendor's own sell simulation rather than third-party data. It does not state latency, failure modes, or what happens on an unsupported/non-ERC-20 address, which keeps it below 5.

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 returned value, then components, then the usage trigger, then cost, then a disclaimer — every clause carries information. Slightly dense, colon-and-list phrasing makes it read as a compressed block rather than clean prose, but nothing is redundant.

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 one-optional-param read-only tool with no output schema, the description covers what is returned (numeric score plus its drivers), when to call it, and the cost gate. Behavior on missing address is handled by the schema. Missing pieces are minor: no indication of response shape beyond the score and no error/coverage limits.

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% and the single optional address parameter is fully documented in the schema, including the regex, the unpaid-call behavior, and the free preview URL. The description adds nothing further about the parameter, so 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?

Names a specific output (risk score 0-100, higher = riskier) for a specific resource (ERC-20 on Base) and enumerates the inputs to that score: liquidity view, holder concentration, sell-blocked/tax flags from an on-chain sell simulation. That is far more than a restated title. It stops short of 5 because it never distinguishes itself from the closest sibling, rug_check, which plausibly overlaps with the sell-simulation and tax-flag components.

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?

"Use before buying or listing an unknown Base token" gives a concrete decision point and an implicit audience (unknown/low-trust tokens). No when-not-to-use condition and no named alternative among token_verdict, rug_check, or holder_check, so the agent must infer routing on its own.

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