Skip to main content
Glama

DeFi Swap, MEV & Liquidation Risk Composite Suite ($0.05)

suite_defi_execution_risk
Idempotent

[Paid x402 / X-Bazaar-Key: 0.05 USDC] Composite 6-check DeFi execution audit chaining AMM slippage, MEV sandwich risk, flashloan breakeven, oracle staleness, liquidation distance, and lending health factor. Free sample report: https://bot-bazaar.fly.dev/v1/suite-samples/defi-execution-risk

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

Input Schema

NameRequiredDescriptionDefault
trade_usdNoTarget swap notional in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the paid x402/X-Bazaar-Key mechanism with an exact 0.05 USDC price and pointing to a free sample report, which is critical context for a metered call. It does not cover rate limits, failure/refund behavior, or what happens if the key is missing, so it is short of 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?

Two sentences, front-loaded with the payment/auth terms and followed by the substantive capability statement. The price appears in both the title and the bracket, a minor redundancy, but there is otherwise no filler.

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 six-check audit tool with no output schema, the description says nothing about the report's shape, scoring, or verdict format beyond an external sample link. The single-parameter schema also leaves unclear how position/leverage data for the liquidation and health-factor checks should be supplied.

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?

With one parameter at 100% schema coverage, the schema already defines trade_usd and the description adds nothing to it. The schema also allows additionalProperties, implying other inputs may be accepted for the six checks, but the description never explains what those are.

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?

States a specific verb and resource ("Composite 6-check DeFi execution audit") and enumerates all six checks it chains, so the agent knows exactly what it gets. It is clearly distinguishable from single-check siblings like lending_health_factor and defi_uniswap_v4_hook_delta_audit.

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 word "composite" implies this bundles the checks the single-purpose siblings do individually, but the description never says when to choose this suite over calling lending_health_factor or amm_constant_product_calc directly, nor what prerequisites exist (chain, DEX, position data). Usage is inferable but not stated.

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