Skip to main content
Glama

rugshield_audit_swap_simulation_proof

Read-only

Executes state-override simulation of $1k, $10k, and $50k swap orders on Base Mainnet, calculating exact slippage, gas overhead, and MEV frontrun exposure. Cost: 0.020 USDC on Base & Solana Mainnet.

Input Schema

NameRequiredDescriptionDefault
amount_usdNoSwap size in USD (e.g. 1000, 10000, 50000)
token_addressYesTarget ERC-20 contract address on Base (0x...) or Solana SPL Mint

Output Schema

NameRequiredDescriptionDefault
dataNoDetailed metric findings
statusYesExecution status
verdictYesCryptographic assessment verdict
risk_scoreNoRisk severity score
token_addressYesTarget token address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "description": "Detailed metric findings",
      +      "type": "object"
      +    },
      +    "risk_score": {
      +      "description": "Risk severity score",
      +      "type": "number"
      +    },
      +    "status": {
      +      "description": "Execution status",
      +      "type": "string"
      +    },
      +    "token_address": {
      +      "description": "Target token address",
      +      "type": "string"
      +    },
      +    "verdict": {
      +      "description": "Cryptographic assessment verdict",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "token_address",
      +    "verdict"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / token_address / description
      Previous value: -"Target ERC-20 contract address on Base (0x...)"New value: +"Target ERC-20 contract address on Base (0x...) or Solana SPL Mint"
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false. The description adds meaningful behavioral context beyond that: it is a paid call costing 0.020 USDC, it uses state-override simulation, and it computes exact slippage, gas, and MEV exposure. It stops short of explaining payment mechanics or whether amount_usd defaults to the three named tiers.

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?

Two tightly written sentences that front-load what the tool does and then state the cost. No wasted words, and the most important operational detail (price) is included.

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?

An output schema exists, so the description need not explain the returned slippage/gas/MEV values. Annotations cover safety and openness. The remaining gap is the lack of sibling routing guidance and the ambiguity around amount_usd tiers versus arbitrary amounts, but the core context an agent needs is present.

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 both parameters are already documented in the schema. The description adds that simulations focus on $1k, $10k, and $50k orders, but it is ambiguous whether amount_usd is optional and defaults to those tiers or accepts arbitrary values as the schema implies.

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 states a specific verb and resource: executes state-override simulation of swap orders on Base Mainnet, with concrete outputs (slippage, gas overhead, MEV exposure). It is clearer than most sibling audit tools, but it does not explicitly differentiate itself from alternatives like rugshield_pre_swap_scan.

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?

Usage is implied by the simulation framing: an agent can infer it should call this before executing a swap to estimate slippage and MEV. However, there is no explicit 'when to use this vs pre_swap_scan' guidance, no prerequisites, and no stated exclusions.

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.