Skip to main content
Glama

diav_info

Returns service info and terms for stress-screening flash-loan parameters against live Base L2 pool state, checking liquidity drains and slippage spikes to issue APPROVE, REDUCE, or REJECT verdicts.

Instructions

[FREE] DIA-V - Dynamic Impact-Aware Flash Loan Validator for Base L2. Stress-screens flash-loan parameters against LIVE pool state: baseline, 30% liquidity drain, 60% drain, 3x slippage spike, and leverage-scaled scenarios. Verdicts: APPROVE (impact <2%), REDUCE (2-5%, returns max_safe_amount), REJECT (>5%). This tool returns service info and terms. The paid validation endpoint is https://agentpaystore.com/diav/api/validate (POST, bash.05 USDC via x402 on Base L2, HTTP 402 without X-Payment). Input: pool (Uniswap V3 pool on Base), borrow_asset token0|token1, borrow_amount, leverage 1-10.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "diav_info"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

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 disclosure burden and does reasonably well: it marks the tool [FREE], states the paid counterpart costs bash.05 USDC via x402 on Base L2, and warns that the paid endpoint returns HTTP 402 without X-Payment. It also documents the verdict thresholds (APPROVE <2%, REDUCE 2-5% with max_safe_amount, REJECT >5%). It stops short of saying what the info response itself contains or whether the terms are binding.

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 text is dense but not front-loaded: the actual purpose of this tool appears after the validator pitch, and roughly half the content concerns a different endpoint. Nothing is pure filler, but for a zero-parameter info call the allocation of sentences is off and should lead with what this call returns.

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 no-param info tool with no output schema, the definition covers service identity, cost model, payment protocol behavior, verdict semantics and downstream input requirements — enough for an agent to decide whether to proceed. Missing only a description of the info payload itself, which the absent output schema would otherwise have to carry.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

This tool takes zero parameters, so the baseline is 4. The description lists pool, borrow_asset, borrow_amount and leverage with useful constraints (token0|token1, leverage 1-10), but these belong to the separate paid endpoint — helpful as follow-up context, yet a mild risk that an agent tries to pass them here.

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 does state the tool's own job — "This tool returns service info and terms" — but that sentence sits in the middle of a paragraph that largely describes a different surface (the paid /validate endpoint, its verdict logic, and its inputs). The verb+resource is specific, yet the first three sentences prime the reader to think this tool performs validation. It also does not differentiate itself from the many other *_info siblings.

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 can infer this is the free discovery/metadata call before hitting the paid endpoint at https://agentpaystore.com/diav/api/validate. There is no explicit "call this first", no statement of when not to use it, and no naming of an alternative tool. The paid path is named, which is a partial form of routing guidance.

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