Skip to main content
Glama

Nightshift Labs: link, token & signature pre-checks

base_token_check

Read-only

Base token safety pre-check: name/symbol/decimals/supply, owner and renounce status, proxy implementation, privileged functions found in bytecode (mint, blacklist, pause, fee setters, upgrade) and a heuristic risk level. Call before buying or accepting an unknown token on Base. Price: $0.003 USDC on Base per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
addressYesERC-20 token contract on Base

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnly and openWorld; the description adds real context beyond them — the call costs $0.003 USDC on Base via x402 and the risk level is explicitly "heuristic" (i.e. advisory, not authoritative). What it actually inspects is spelled out. It does not say how it behaves on a non-token or unverified address, which is the remaining gap.

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

Conciseness5/5

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

Three sentences, front-loaded with what is returned, then when to call, then cost. Every clause carries information — the checked-property list is dense but not padded, and the payment notice is placed last where it belongs.

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?

With no output schema, the description steps in to enumerate the return payload (identity fields, owner/renounce, proxy, privileged function names, risk level) and discloses the paid x402 flow — enough for an agent to decide and call correctly. Missing only negative-path behavior for invalid or non-ERC-20 addresses.

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?

There is one required parameter with 100% schema description coverage ("ERC-20 token contract on Base", with a 0x-pattern). The description only implicitly reinforces that the input is an unknown token contract on Base; it adds no format or edge-case meaning. Baseline 3 is appropriate when the schema already carries the semantics.

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?

"Base token safety pre-check" gives a specific verb and resource, and the enumeration of inspected attributes (supply, owner/renounce, proxy, privileged functions, risk level) makes clear it is a static-analysis/safety tool rather than a price or balance tool. It never names a sibling such as base_token_price to contrast against, so it stops short of full differentiation.

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?

"Call before buying or accepting an unknown token on Base" is an explicit trigger condition with a clear scenario. There is no when-not guidance (e.g. skip for known/verified tokens) and no alternative tool named, so it is one notch below fully prescriptive.

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.