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.100 USDC on Base & Solana Mainnet.

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": {
      "token_address": "<token_address>"
    },
    "name": "rugshield_audit_swap_simulation_proof"
  }
}

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.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description correctly reinforces this by framing the operation as a simulation rather than a real swap. It adds genuinely new behavioral context the annotations lack: the 0.100 USDC price and the settlement chains (Base & Solana Mainnet). It omits runtime, payment mechanics, and what happens on unsupported pairs.

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 dense sentences with the capability front-loaded and cost last; nothing is filler. The $1k/$10k/$50k enumeration is arguably wasted text given amount_usd is user-supplied, which keeps it from a 5.

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?

With an output schema present it needn't explain return values, and annotations carry the safety profile, so the description is nearly complete. The remaining gap is that it never states the relationship to rugshield_pre_swap_scan or when the paid simulation is warranted over a cheaper scan.

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 coverage is 100%, so both parameters are already documented in the schema; the description's only addition is the fixed $1k/$10k/$50k enumeration. That enumeration actually tensions with the free-form amount_usd parameter, and neither token_address format nor the Base-vs-Solana scope of the input is clarified beyond the schema.

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?

Names a specific verb and resource ('Executes state-override simulation of ... swap orders on Base Mainnet') plus the computed outputs (slippage, gas overhead, MEV frontrun exposure), so the agent knows exactly what it produces. It does not distinguish itself from the closest sibling, rugshield_pre_swap_scan, which an agent could reasonably confuse with this simulation.

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 only implied – the agent must infer this is a pre-trade check – and no alternative tool is named or excluded. The cost disclosure (0.100 USDC) is a useful usage consideration, but there is no explicit 'use this when' or prerequisite guidance.

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.