Skip to main content
Glama

evm_get_mempool_info

Monitor pending mempool transactions and detect MEV opportunities such as arbitrage, sandwich targets, and large transfers using value, sender, recipient, and gas-price filters.

Instructions

Monitor pending transactions in the mempool for MEV opportunities

Scans mempool for pending transactions with filtering and MEV detection. Identifies arbitrage opportunities, sandwich targets, and large transactions.

FEATURES:

  • Real-time pending transaction monitoring

  • Filter by value, sender, recipient, gas price

  • MEV opportunity detection

  • Transaction statistics and analysis

PARAMETERS:

  • chain: Target chain

  • filter: Optional filters (minValue, to, from, minGasPrice)

  • limit: Max transactions to return (default 100)

  • includeDetails: Include full transaction data

Returns pending transactions, statistics, and MEV opportunities.

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>"
    },
    "name": "evm_get_mempool_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
limitNo
filterNo
includeDetailsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations exist, so the description carries the whole burden, and it does disclose the return shape (pending transactions, statistics, MEV opportunities) and that this is a live scan rather than a stored query. However it says nothing about cost, rate limits, freshness/latency, node dependency, or whether the MEV flags are heuristic, which matters for a real-time scanning tool whose result set changes second to second.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Headers make it scannable and the purpose is front-loaded, but the same statement is made three times ('Monitor pending transactions...', 'Scans mempool for pending transactions...', and the closing 'Returns pending transactions, statistics, and MEV opportunities'), and the FEATURES/PARAMETERS blocks largely restate what the schema already encodes.

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?

Given no annotations, no output schema, and a nested filter object with zero schema descriptions, the definition covers the essentials: what it scans, what it detects, every parameter by name, and the three-part return shape. The remaining gaps are deeper semantics (units, freshness, heuristics) rather than anything that would block a correct first call.

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 the PARAMETERS block does gloss all four fields including the nested filter keys. But it adds no units or formats for minValue/minGasPrice (both typed as bare strings, plausibly wei), no address format guidance, and no explanation of whether the filter fields are exact-match or partial, leaving meaningful ambiguity for a nested-object parameter.

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 opening line gives a specific verb and resource ('Monitor pending transactions in the mempool') plus an explicit intent ('for MEV opportunities'), and the FEATURES block names the detectable patterns (arbitrage, sandwich targets, large transactions). No sibling in the catalog touches mempool data, so an agent can immediately place this apart from gas-price, block, or pool tools.

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 rather than stated: MEV monitoring and 'large transactions' detection tell the agent what kind of question this answers, but there is no explicit when-to-use framing, no exclusions, and no routing to alternatives such as evm_get_gas_price or evm_get_gas_oracle for plain fee lookups. The agent must infer the boundary itself.

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