Skip to main content
Glama

evm_send_private_transaction

Send EVM transactions through a private mempool to prevent frontrunning, sandwich attacks, and other MEV exploitation.

Instructions

Send transaction through private mempool to prevent MEV attacks

Protects against frontrunning, sandwich attacks, and other MEV exploitation. Uses Flashbots on Ethereum, alternative strategies on other chains.

MEV PROTECTION:

  • Ethereum: Full Flashbots bundle support

  • Other chains: Quick inclusion with high gas strategy

  • Prevents transaction from appearing in public mempool

  • Simulates bundle before submission

PARAMETERS:

  • chain: Target EVM chain

  • transaction: Transaction details (to, value, data, gas params)

  • privateKey: Private key for signing

  • targetBlock: Target block for inclusion (optional)

  • maxBlockNumber: Maximum block for inclusion (optional)

Returns bundle hash, simulation results, and MEV protection status.

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>",
      "transaction": "<transaction>",
      "privateKey": "<privateKey>"
    },
    "name": "evm_send_private_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
hintsNo
privateKeyYes
targetBlockNo
transactionYes
minTimestampNo
maxBlockNumberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the per-chain strategy split (Flashbots on Ethereum, high-gas quick inclusion elsewhere), that the transaction never hits the public mempool, and that the bundle is simulated before submission. Gaps remain: no mention of what happens on simulation failure, whether it waits for inclusion, or that a raw private key is transmitted to the service.

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?

Front-loaded with the one-line purpose, then structured sections for MEV protection and parameters, so an agent can scan it quickly. Minor redundancy: the opening "Protects against frontrunning, sandwich attacks..." largely repeats the MEV PROTECTION bullets and "prevents transaction from appearing in public mempool."

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 7-parameter, no-annotation, no-output-schema mutation tool, the definition covers the strategy per chain, the return payload (bundle hash, simulation results, protection status) and most parameters. It falls short on the two undocumented optional parameters and on failure/edge-case behavior, which matter for a signing operation.

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 0%, so the description must compensate and it only partly does — it names chain, transaction, privateKey, targetBlock and maxBlockNumber, but omits the hints and minTimestamp parameters entirely. Even for the covered ones it adds little beyond restatement ("chain: Target EVM chain") and gives no formats, e.g. whether value/fees are wei strings or that privateKey must be 0x-prefixed.

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?

States a concrete verb+resource ("Send transaction through private mempool") plus the mechanism (Flashbots / private mempool), which meaningfully separates it from the plain send siblings. It never names those siblings, so the agent must infer that evm_send_transaction or evm_send_contract_transaction is the public-mempool alternative.

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 purpose line gives an implied when-to-use ("to prevent MEV attacks", protect against frontrunning/sandwiching), which is a real selection signal. There is no explicit exclusion or routing guidance — nothing says when NOT to use it (e.g., chains without Flashbots, cost/latency tradeoffs, or when a normal public send is preferable).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools