Skip to main content
Glama

Nightshift Labs: link, token & signature pre-checks

base_tx

Read-only

Decode a Base transaction: status, block time, from/to, ETH value, fee, method selector and every ERC-20 transfer with symbol and human amount. Flags fake look-alike tokens (address-poisoning, e.g. a fake USDC with homoglyph characters). 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": {
      "hash": "<hash>"
    },
    "name": "base_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: it performs look-alike/address-poisoning detection on token contracts, and it costs $0.003 USDC per call via x402, which is a payment precondition an agent must know before invoking. It stops short of covering failure modes (unknown hash, non-Base chain) or rate limits.

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?

One dense but well-ordered sentence: verb and resource first, then the returned data, then the differentiator (scam flagging), then the price. Every clause carries information, though the price could be set off more clearly rather than trailing the token-transfer list.

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-parameter, no-output-schema tool, the description does the heavy lifting by listing the returned fields and disclosing the x402 payment model. What is missing is narrow: error/not-found behavior and confirmation that non-Base hashes are rejected, neither of which is likely to change an agent's decision to call 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 0%, so the only structured guidance is the 0x+64-hex regex pattern. The description says it decodes 'a Base transaction' but never explicitly ties the single parameter to the hash or clarifies that it must be a Base-chain transaction hash specifically. Minimal compensation for the missing coverage, though the single obvious parameter keeps this from being a real risk.

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?

The description opens with a specific verb and resource ('Decode a Base transaction') and then enumerates exactly what is returned: status, block time, from/to, ETH value, fee, method selector, and ERC-20 transfers with symbol and human amount. That enumeration makes the boundary against siblings like base_balance, base_portfolio, and evm_decode_calldata unambiguous without needing to name them.

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?

Usage is only implied: the tool takes a transaction hash and the description makes clear what you get back, so an agent can infer 'use this when you have a tx hash and need a full decode.' However, there is no explicit when-to-use statement, no exclusion ('for raw calldata only, use evm_decode_calldata'), and no note on what to do if the hash is not a Base transaction.

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.