Skip to main content
Glama

Dovafy SafePerp / SafeSwap MCP

scan_token_safety

Read-onlyIdempotent

Run a free, zero-custody pre-trade anti-rug security scan on a Solana SPL/Token-2022 mint (parallel Solana RPC authority checks, RugCheck v1, and GoPlus) or an EVM ERC-20 token contract (GoPlus EVM Token Security). Returns a PASS, WARN, or BLOCK verdict, numeric risk score (0 to 100), and detailed red-flag findings. Never pass private keys or seed phrases.

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": {
      "tokenAddress": "<tokenAddress>"
    },
    "name": "scan_token_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoTarget blockchain family ("solana" by default, or "evm" for Ethereum/L2/BSC chains).
chainIdNoRequired when chain is "evm". Supported IDs: 1 (Ethereum), 8453 (Base), 42161 (Arbitrum), 56 (BNB Chain), 10 (Optimism), 137 (Polygon).
tokenAddressYesSolana base58 token mint address or EVM 0x40-hex ERC-20 contract address to audit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"Default solana"New value: +"Target blockchain family (\"solana\" by default, or \"evm\" for Ethereum/L2/BSC chains)."
    • changedInput schema / properties / chainId / description
      Previous value: -"Required for EVM tokens (e.g. 8453 Base, 42161 Arbitrum, 1 Ethereum, 56 BSC)"New value: +"Required when chain is \"evm\". Supported IDs: 1 (Ethereum), 8453 (Base), 42161 (Arbitrum), 56 (BNB Chain), 10 (Optimism), 137 (Polygon)."
    • changedInput schema / properties / tokenAddress / description
      Previous value: -"Solana base58 mint or EVM 0x token contract address"New value: +"Solana base58 token mint address or EVM 0x40-hex ERC-20 contract address to audit."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld behavior, while the description adds substantial context: data sources, PASS/WARN/BLOCK verdicts, a 0-100 risk score, red-flag findings, and a credential-safety warning. It does not address rate limits, latency, or error behavior, so it is strong but not fully exhaustive.

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 purpose is front-loaded in the first sentence, and the return-value and safety-warning sentences each earn their place. The source-list parenthetical is dense but informative; overall wording is efficient with minor crowding.

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 complex scan tool with no output schema, the description explains the return shape (verdict, risk score, findings) and the supported chains. The schema covers all parameters, though operational details such as error cases or rate limits are absent.

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%, and the schema itself documents the chain enum, chainId requirement for EVM, and token address formats. The description restates the scan targets but adds no meaningful parameter semantics beyond what the schema already provides.

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, 'Run a ... security scan,' and names the exact resources: Solana SPL/Token-2022 mints and EVM ERC-20 contracts. The pre-trade anti-rug scope clearly distinguishes it from the sibling swap, bridge, and perp tools.

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?

The phrase 'pre-trade anti-rug security scan' gives clear timing guidance for when to use the tool. It does not explicitly name sibling alternatives such as safe_swap_solana or state when-not conditions, so it falls short of the top score.

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.