Skip to main content
Glama

Nightshift Labs: link, token & signature pre-checks

base_gas

Read-only

Base gas snapshot: gas price, base fee, priority fee, 10-block base-fee trend, ETH/USD (Chainlink) and estimated USD cost of an ETH transfer, ERC-20 transfer, swap and contract deploy right now. Price: $0.003 USDC on Base per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
gasLimitNooptional: gas units of your own transaction; adds estimatedCost.custom (ETH + USD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint and openWorldHint, so the safety profile is covered; the description adds genuinely new behavior by disclosing a paid, metered call ($0.003 USDC on Base per call via x402), which materially affects whether an agent should invoke it. It stops short of covering rate limits, error states, or caching/staleness of the snapshot.

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?

Two sentences, front-loaded with the payload contents and followed by the cost disclosure; every clause carries information an agent needs, with no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the return-value burden and does so by enumerating each data point the snapshot yields. Combined with the payment disclosure and schema-described optional input, an agent has everything needed to decide and call correctly.

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?

With a single parameter at 100% schema description coverage, the schema fully documents gasLimit and the custom cost behavior, so the baseline applies. The description does not elaborate on the optional gasLimit or explain how the estimate is derived, adding nothing beyond the schema.

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?

Names a specific resource and enumerates exactly what the snapshot contains: gas price, base fee, priority fee, 10-block base-fee trend, ETH/USD via Chainlink, and USD cost estimates for four transaction types. The scope ('snapshot... right now') clearly separates it from historical or account-oriented siblings like base_tx or base_portfolio.

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?

The phrase 'right now' implies this is for current fee checks before sending a transaction, but the description never states when to prefer it over alternatives (e.g. base_token_price for a single asset price, or x402_preflight). No exclusions or prerequisites are given, so the agent must infer the usage context.

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.