Skip to main content
Glama

Base Pretrade

base_pretrade

Pre-trade safety check for a Base token in one call: bytecode risk flags, real liquidity, a real on-chain buy-then-sell simulation (honeypot/tax detection, not a guess), the token owner's wallet reputation, and current gas price. Verdict go/caution/no_go with a 0-100 score and the exact reasons behind it.

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": {
      "payload": "<payload>"
    },
    "name": "base_pretrade"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses that a real on-chain buy-then-sell simulation is executed ('not a guess'), which is materially different from a static heuristic, and it describes the verdict output (go/caution/no_go with a 0-100 score and reasons). It omits cost/latency implications of running a simulation, any auth or rate-limit notes, and what happens on failure or for illiquid tokens.

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?

One dense sentence front-loads the purpose and the component checks, and a second short sentence covers the output contract. No filler and no restating of the tool name.

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

Completeness3/5

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

Explaining the verdict format partially compensates for the absent output schema, and the check list conveys scope. However, for a multi-source composite tool with a nested input object and zero parameter documentation, the missing details on token format, amount_usd semantics, and simulation failure behavior leave real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the payload is a nested object, so the description needs to explain the parameters and does not: it never clarifies the token identifier format (address vs symbol) or what amount_usd affects in the simulation. 'For a Base token' is the only hint about the token field.

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 names a specific verb+resource ('pre-trade safety check for a Base token') and enumerates exactly what is bundled: bytecode risk flags, liquidity, buy-then-sell simulation, owner wallet reputation, and gas price. That enumeration makes it distinguishable from narrower siblings like base_can-sell or base_simulate 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 Guidelines4/5

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

The 'Pre-trade' framing makes the usage context clear (run before buying a token) and 'in one call' signals it is the consolidated path versus stitching together several single-purpose checks. It stops short of explicit exclusions or naming when a cheaper single check (e.g., a plain sell simulation) would suffice.

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.