Skip to main content
Glama

MEV & Market-Abuse Compliance Screen

dcl_evaluate_mev

Screens LLM or agent response text for market-abuse indicators like front-running, wash trading, and rug-pull language. Issues NO_COMMIT verdicts with confidence scores and regulatory references to prevent risky actions.

Instructions

POST-ACTION MEV & Market-Abuse Compliance Screen ($0.03). Text-level screen (not a mempool/transaction analyzer) for front-running/sandwich-attack language, wash trading/layering/spoofing, KYC/AML red flags (mixers, structuring, obscuring fund origin), and pump-and-dump/rug-pull language. Any critical-severity finding, or two or more major-severity findings, returns NO_COMMIT; a single major-severity finding is also returned as NO_COMMIT but with a distinctly higher confidence (~0.55 vs ~0.05-0.2 for harder violations) so downstream callers can tell a soft single flag apart from a hard multi-finding block. Each finding includes an illustrative regulatory_reference tag (MiFID II, FCA, or an EU AI Act article).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesIdentifier of the agent that produced the response.
responseYesThe agent or LLM response text describing or proposing an on-chain/trading action, to screen for MEV and market-abuse language.
payment_idNoOptional payment identifier returned by a previous call when payment is required

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tx_hashYesHash of this record in the tamper-evident audit chain.
verdictYesCOMMIT if the response passed the MEV/compliance screen, otherwise NO_COMMIT.
findingsYesAll matched patterns. Empty list if verdict is COMMIT.
timestampYesUnix timestamp when this record was sealed.
confidenceYesConfidence score of the verdict, from 0.0 to 1.0.
input_hashYesHash of the screened text (raw content is never stored).
chain_indexYesSequential index of this record in the audit chain.
Behavior4/5

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

Annotations are minimal (all false), so the description carries the burden of behavioral disclosure. It adds valuable context: cost ($0.03), decision thresholds (NO_COMMIT for critical or 2+ major findings), confidence nuances (~0.55 vs ~0.05-0.2), and the inclusion of regulatory_reference tags. This goes beyond the annotations and provides meaningful operational detail.

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?

The description is detailed yet tightly packed with actionable information. Every sentence contributes unique value: scope, cost, decision logic, confidence semantics, and regulatory tags. It is front-loaded with the tool name and cost, making it easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a compliance-screening tool with nuanced decision logic, the description is remarkably complete. It covers scope, exclusions, cost, severity thresholds, confidence interpretation, and output tags. Since an output schema exists, the absence of explicit return-value descriptions is acceptable. The description fully equips an agent to decide when and how to invoke the tool correctly.

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 the schema already documents all three parameters. The description does not add significant parameter-level detail beyond what is already in the schema, but it does clarify the purpose of the 'response' parameter (screen for MEV/market-abuse language). This is baseline adequate with high schema coverage.

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 description uses a specific verb ('screen') and resource ('MEV & Market-Abuse') and clearly distinguishes itself from sibling evaluation tools by focusing on market-abuse language. It also specifies the tool's text-level scope, immediately differentiating it from transaction-level analyzers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use the tool (post-action screening of agent responses proposing on-chain/trading actions) and explicitly states what it is not ('not a mempool/transaction analyzer'). However, it does not name alternative sibling tools, so it misses the full 'alternatives' criterion.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fronesis-Labs/dcl-webhook'

If you have feedback or need assistance with the MCP directory API, please join our Discord server