Skip to main content
Glama

aegis_preflight_bundle

Run a single pre-swap security check that audits honeypots via multiple oracles, measures DEX liquidity depth, verifies counterparty KYA, and enforces AP2 spend limits before trading.

Instructions

USE WHEN: An autonomous trading agent or sniper bot needs all-in-one pre-swap security: multi-oracle honeypot audit, DEX liquidity depth, counterparty KYA, and AP2 spend mandate limits in a single call ($0.20 USDC on Base).

Input Schema

NameRequiredDescriptionDefault
chainNoTarget blockchain network (defaults to base)base
tokenAddressYesContract or mint address of the token to clear before swapping (e.g. 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base)
tradeAmountUsdNoPlanned trade or swap size in USD to calculate price impact and verify AP2 spend mandate limits
counterpartyAddressNoOptional counterparty, router, or deployer EVM address for KYA trust verification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the call is paid ($0.20 USDC on Base) and that the four checks are bundled into one call, but says nothing about failure/billing behavior, latency, or whether results are pass/fail versus scored.

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 with the trigger condition first and the capability list second; no filler. The dense jargon stack is compact rather than padded.

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?

No output schema exists, so the description should indicate what the agent gets back — verdicts, per-check scores, or a boolean — and it does not. Given four parameters and a paid, multi-component tool, the explanation of inputs and price is adequate but the result shape is a real gap.

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 100% and each of the four parameters is documented in-schema, including the tokenAddress example and the tradeAmountUsd purpose. The description adds only the framing that the bundle uses these inputs for the four checks, which is roughly baseline value.

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 concrete composite action: multi-oracle honeypot audit, liquidity depth, counterparty KYA, and AP2 spend-mandate checks in one call, plus its price. That distinguishes it reasonably from the single-purpose siblings (aegis_token_audit, aegis_wallet_kya), though it never names them explicitly.

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?

Starts with an explicit 'USE WHEN' trigger naming the caller (autonomous trading agent or sniper bot) and the situation (pre-swap clearance). It gives no when-not guidance or pointers to the cheaper single-purpose siblings when only one check is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.