Skip to main content
Glama

Beggar Bot

defi_hacks

DeFi exploit history: recent hacks (or all incidents for a protocol/chain) with date, amount stolen, technique, bridge flag and returned funds, plus totals and top attack techniques. Protocol due-dili Paid: $0.02 USDC via x402.

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": "defi_hacks"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNowindow days (default 90)
chainNochain filter
limitNo<=50
protocolNoname filter (all-time)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and does reasonably well: it discloses the exact fields returned, the distinction between windowed and all-time results, and an operational cost ('Paid: $0.02 USDC via x402') an agent needs before invoking a paid endpoint. It does not cover pagination behavior, result caps, or data freshness, and the trailing 'Protocol due-dili' sentence is cut off mid-word, losing whatever caveat was intended.

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 core sentence is dense and front-loaded with the right information, and the pricing note is short and useful. But the description ends with a truncated fragment ('Protocol due-dili') that is pure noise and signals an incomplete definition, costing it structure points.

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?

With no output schema, the description is the only source of return-value information, and it lists the returned fields and aggregates adequately, while also flagging the per-call cost. Completeness is only slightly undercut by the chopped final sentence and the absence of any note on result limits or data recency.

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?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema by indicating that a protocol query returns all incidents rather than being bounded by the default window — an interaction between parameters the schema does not spell out. The chain and limit parameters are left to the schema's own descriptions.

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 gives a specific resource ('DeFi exploit history') and enumerates the data returned — date, amount stolen, technique, bridge flag, returned funds, totals, top attack techniques — which clearly separates it from the TVL/fee-oriented defi_* siblings. It stops short of a clean verb-first statement, but an agent can immediately tell this tool is about hacks, not protocol metrics.

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 implies two usage modes — recent hacks by default versus 'all incidents for a protocol/chain' — which maps to the days/chain/protocol parameters and is genuinely useful routing guidance. However, it names no alternative tool and states no when-not to call it, so the guidance is implied rather than explicit.

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.