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.005 USDC on Base per call (x402).

Input Schema

NameRequiredDescriptionDefault
hashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely non-obvious behavior: a per-call charge of $0.005 USDC on Base via x402, and the fact that output includes forged-token detection (address-poisoning / homoglyph look-alikes). Neither of these is derivable from the schema or annotations.

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 output inventory is front-loaded in the first sentence and the cost and safety-flag details follow. It is efficient overall, though the single long sentence packs several clauses together and could be split for faster scanning.

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 read-only, single-parameter decoder with no output schema, the description does the heavy lifting by enumerating return fields and disclosing the payment requirement and anti-spoofing behavior. Minor gaps remain around error handling for unknown or pending hashes, but nothing essential for correct invocation is missing.

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?

Only one parameter exists and schema description coverage is 0%, but the schema's regex (^0x[0-9a-fA-F]{64}$) is largely self-documenting as a 32-byte transaction hash. The description implies the input is a transaction but never explicitly names 'hash' or states whether a pending/unmined hash is acceptable, so it adds little beyond the pattern.

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+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-readable amount. That level of specificity makes it clearly distinct from siblings like evm_decode_calldata or base_balance without needing to open any schema.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternatives (e.g., use evm_decode_calldata for raw calldata, base_balance for holdings). The only implicit signal is that the tool is scoped to Base-chain transactions. The pricing sentence tells an agent about cost but not about tool selection.

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