Skip to main content
Glama

victim_flow

Requires a ChainHelix API key as bearer token, or 1 cent per call paid over Binance b402 in USDT, USDC, USD1 or U on BNB Smart Chain, or over x402 in USDC on the Base network. The order flow that was extracted on one chain, newest first: every detected victim transaction with its hash, the attacker and its transaction, the pool and protocol, block and position, the victim and attacker gas prices, the attacker gas price over the median gas price of the block, and the profit where measured. Filter by pool and by type (sandwich, backrun, frontrun, jit). window in minutes, default 60, max 1440; limit default 50, max 500. Every hash re-derives from a public RPC. Chains covered: bnb, ethereum, polygon, avalanche

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
poolNo
typeNo
chainNo
limitNo
windowNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaNo
poolNo
typeNo
chainNo
countNo
errorNo
rulesNo
sourceNo
receiptNo
victimsNo
generatedNo
latestEventAtNo
windowMinutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / victims / items / properties / spreadPct
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
  2. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"a1c2e10fd3177d6b4d59ca78693e8fb36880165cf0f735f680dd86a510411178"New value: +"e5b4290024a229f2bdf97f8fc6a0079c3fe13b77267f41fdcffeb8b26aa1c41e"
  3. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"1eeb782ee15fe69fc80776948e0556fa6b795e210e6305935b2c97b73d955cda"New value: +"a1c2e10fd3177d6b4d59ca78693e8fb36880165cf0f735f680dd86a510411178"
  4. Changed1 schema field changed
    • changedInput schema / x-lexicon / bundleSha256
      Previous value: -"c014292cad7497ce9fd68c33345ac32cb42b672c8e77d6c749c26e162cc207e4"New value: +"1eeb782ee15fe69fc80776948e0556fa6b795e210e6305935b2c97b73d955cda"
  5. Changed3 schema fields changed
    • addedInput schema / x-aliases
      Added value: +{
      +  "limit": [
      +    "Limit",
      +    "limits",
      +    "$limit",
      +    "_limit",
      +    "Limits"
      +  ],
      +  "pool": [
      +    "pools",
      +    "_pool"
      +  ],
      +  "type": [
      +    "Type",
      +    "_type",
      +    "type_"
      +  ]
      +}
    • addedInput schema / x-lexicon
      Added value: +{
      +  "bundleSha256": "c014292cad7497ce9fd68c33345ac32cb42b672c8e77d6c749c26e162cc207e4",
      +  "name": "ChainHelix Agentic Lexicon",
      +  "resolve": "lexicon_resolve",
      +  "spec": "lexicon_spec",
      +  "version": "0.1.0"
      +}
    • addedInput schema / x-vocab
      Added value: +{
      +  "chain": "onchain.chain",
      +  "limit": "data.limit",
      +  "pool": "defi.pool",
      +  "type": "data.type",
      +  "window": "market.window"
      +}
  6. Added

TDQS

A4.1/5.0
Behavior5/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 so well: it discloses the authentication model (ChainHelix API key or per-call microroyalty over Binance b402/x402), the hard caps (window max 1440, limit max 500), the covered chains, and even that every hash re-derives from a public RPC. This is unusually rich behavioral disclosure for a read endpoint.

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?

The middle sentence enumerates every returned field in a single sprawling clause, and the payment preamble leads before the purpose. It is dense and slightly disorganized, though nothing is strictly wasted given the auth and limit details.

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 field-by-field enumeration is partly redundant, yet the description still covers auth, filters, chain coverage and limits. Adequate for an agent to invoke correctly, with mild over-explanation of return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 does: pool filtering, the four type enum values, the chain set, window units (minutes) with default 60 and max 1440, and limit default 50 with max 500. Defaults and bounds are not present in the schema at all, so the description adds real meaning.

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 clearly states the resource: the extracted MEV victim order flow for one chain, newest first, including victim/attacker hashes, pool, gas and profit. That is specific and distinct from generic siblings like mev_pressure or market_state. It stops short of explicitly naming which sibling to prefer, so it is clear but not fully differentiated.

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?

It tells the agent it can filter by pool and by type (sandwich, backrun, frontrun, jit), and documents the window/limit bounds, which implies the calling context. However there is no explicit when-to-use or when-not-to-use guidance, and no alternative sibling is named.

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