Skip to main content
Glama

AgentGuard DeFi Pre-Trade Firewall (Base & Solana)

deep_pretrade_audit

PAID ($0.015 USDC via x402). Full pre-trade firewall for Base ERC-20 and Solana SPL tokens: honeypot detection, buy/sell tax, bytecode admin selectors, proxy check, mint/freeze authorities, top-10 holder concentration, price impact, and deterministic ALLOW/WARN/BLOCK verdict with maxSafeTradeUsd.

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": {
      "chain": "<chain>",
      "tokenAddress": "<tokenAddress>"
    },
    "name": "deep_pretrade_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesTarget blockchain network: 'base' or 'solana'
tokenAddressYesToken contract (Base) or SPL mint (Solana)
tradeAmountUsdNoIntended trade size in USD to compute AMM price impact and maxSafeTradeUsd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the full behavioral burden. It discloses the paid x402 cost, supported chains, the full set of audit checks, and that a deterministic verdict with maxSafeTradeUsd is returned, which is useful. But it does not explicitly state that the tool is read-only/non-destructive, describe rate limits or failure behavior, or explain how ALLOW/WARN/BLOCK thresholds are determined.

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 description is a single dense sentence that front-loads the paid cost and then states the purpose, supported chains, checks, and outcome. Every phrase contributes to tool selection, though the long list-style construction is slightly less scannable than ideal.

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?

This is a complex multi-check audit with no output schema and no annotations. The description lists the checks and headline verdict but does not describe the response shape for each check or how the verdict fields should be interpreted, leaving gaps for an agent that needs to consume results.

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%, so the input schema already documents chain, tokenAddress, and tradeAmountUsd. The description reinforces that the audit covers Base ERC-20 and Solana SPL tokens and connects trade size to price impact and maxSafeTradeUsd, but adds no additional syntax or constraint details beyond the schema. Baseline 3 applies.

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?

The description uses a specific verb and resource: a pre-trade firewall/audit for Base ERC-20 and Solana SPL tokens. It clearly states the scope and the checks it performs, plus the ALLOW/WARN/BLOCK verdict. It does not explicitly differentiate itself from siblings such as quick_token_ping, so it falls just short of a 5.

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 'pre-trade' framing implies this should be used before executing a trade, and the paid cost is disclosed. However, there is no explicit when-to-use versus when-not-to-use guidance, no named alternatives, and no explanation of when a lighter sibling check 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.