Skip to main content
Glama

APEX x402 Crypto Trading Bot MCP (15 Tools)

Trade precheck bundle

trade_precheck_bundle
Read-onlyIdempotent

All-in-One Pre-Trade Risk & Route Gate ($0.10/call): parallel 1-block buy+sell exit sim, GoPlus audit, pool impact at amountUsd, unsigned swap quote URL & Verdict Card returning GO/CAUTION/ABORT.

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

Input Schema

NameRequiredDescriptionDefault
chainNoChain slug (base, robinhood, ethereum, solana, arbitrum, bsc, ...). (example: base)
paymentNoOptional x402 PAYMENT-SIGNATURE header value (or send _meta["x402/payment"] / X-APEX-PASS).
amountUsdNoPlanned trade notional in USD for liquidity/impact sizing (default 250). (example: 250)
tokenAddressNoTarget token address to buy/sell. Defaults to Base AERO. (example: 0x940181a94A35A4569E4529A3CDfB74e38FD98631)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description adds the priced nature ($0.10/call), the parallel execution model, and the discrete verdict taxonomy, which is real value beyond the structured fields. It omits failure/partial-failure behavior and latency, keeping it below a 5.

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?

A single front-loaded sentence that leads with the value proposition and cost, with zero filler. It is dense and jargon-heavy ('1-block buy+sell exit sim', 'Verdict Card'), and the ampersand chain reads as a run-on, but nothing is wasted.

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?

For a four-parameter, no-output-schema tool, the description should sketch the response shape; it names the verdict values and components but not their structure, and says nothing about error handling, supported chain limits, or the x402 payment flow on failure. Adequate but with clear gaps.

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 coverage is 100%, so all four parameters are already documented with descriptions and examples, making 3 the baseline. The description reinforces amountUsd's role in impact sizing but adds no syntax, defaults, or constraints beyond what the schema states.

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?

States a specific composite resource ('Pre-Trade Risk & Route Gate') and enumerates exactly what it computes: exit simulation, GoPlus audit, pool impact, quote URL, and a GO/CAUTION/ABORT verdict. An agent knows precisely what comes back, though it never names a sibling (e.g. trade_rail_quote or arc_bundle_check) to differentiate scope.

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?

'Pre-Trade' strongly implies the moment to call it and 'Route Gate' implies a gate before execution, so usage is inferable. However there is no explicit when-not guidance, no statement of what to do with a CAUTION vs ABORT verdict, and no pointer to the cheaper single-purpose siblings for narrower checks.

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