Skip to main content
Glama

cryptoguard_validate_trade

Read-onlyIdempotent

Validate a crypto trade BEFORE execution. Returns a verdict: PROCEED, CAUTION, or BLOCK. Runs 5 checks: peer anomaly scan via WaveGuard physics engine, self-history comparison, rug pull risk assessment, CEX/DEX price cross-check, and concentration risk analysis. Accepts token name, symbol, or contract address.

Example: validate buying $500 of PEPE before executing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoBlockchain for contract address resolution (ethereum, solana, base, bsc, polygon, avalanche, arbitrum).
tokenYesToken to validate. Can be a name (bitcoin), symbol (BTC), or contract address (0x...).
actionNoTrade action type (default: buy).
amount_usdNoTrade amount in USD for concentration risk analysis.
pair_addressNoDEX pair address for rug pull check.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds a concrete behavioral model: five named checks and a tri-state verdict. It also implies no state mutation by focusing on pre-execution validation. No contradiction with annotations found.

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?

The description is two concise sentences plus a one-line example, with the core purpose stated first. It lists the five checks efficiently and the example illustrates usage without redundancy. Every word contributes informational value.

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

Completeness4/5

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

For a tool with five parameters and no output schema, the description gives enough context to select and invoke it correctly: it explains the verdict output, the checks performed, and the accepted token formats from the schema. It could be slightly stronger by noting that certain parameters like pair_address are conditionally used for one of the five checks, but the overall picture is sufficient.

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?

The input schema provides 100% parameter descriptions, so the baseline is 3. The description adds a concrete example ('buying $500 of PEPE') that maps token and amount_usd, but it doesn't explain parameter-specific formats or dependencies (e.g., that pair_address is needed for the rug pull check) 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?

The description opens with a specific verb ('Validate') and resource ('a crypto trade'), immediately distinguishing this as a pre-execution validation tool. It enumerates the five checks and names the output verdict (PROCEED/CAUTION/BLOCK), clearly differentiating it from the rug_check sibling and signaling that this is the comprehensive trade validation tool.

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 instruction to 'validate BEFORE execution' gives clear usage context, and the example ('before executing') reinforces the intended timing. However, it doesn't explicitly exclude alternatives like rug_check for specialized checks or mention validate_trade_plus for potentially deeper validation, so it stops short of a full when/when-not guide.

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.

TDQS

A3.6/5.0
Disambiguation2/5

Several tools overlap in purpose: validate_trade and validate_trade_plus both validate trades, while scan_token and rug_check are bundled into validate_trade's checks. This creates ambiguity about which tool to use for a given task, especially for agents trying to distinguish the premium versus standard validation flow.

Naming Consistency3/5

All tool names share the 'cryptoguard_' prefix and snake_case, but the structure varies: some are verbs (search, scan_token, validate_trade), while others are nouns or adjective-noun combinations (health, rug_check, counterfactual_trade). The inconsistency in verb usage makes the set feel less predictable, though the prefix provides a unifying element.

Tool Count4/5

Seven tools is within the typical well-scoped range for a crypto risk assessment server. The count is reasonable, but the overlap between validate_trade and validate_trade_plus suggests one could arguably be consolidated, making the set slightly redundant.

Completeness4/5

The server covers the core domain well: health checking, token search, rug pull assessment, anomaly scanning, trade validation, and counterfactual analysis. Minor gaps exist (e.g., no batch processing or explicit market data endpoints) but the main workflows for trade validation and risk assessment are represented.

Resources