Skip to main content
Glama

defi hacks

defi_hacks
Read-only

Crypto hack and exploit database: every recorded incident with date, amount stolen, chains, technique (private key leak, flash loan, reentrancy, oracle manipulation...), bridge flag and funds returned, filterable by protocol, chain and period, with totals by technique. Costs $0.003 USDC per call (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
qNoProtocol name
daysNo
chainNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, openWorldHint), and the description adds genuinely non-redundant behavior: a concrete price of $0.003 USDC per call via x402, which an agent must know before invoking. It stops short of disclosing pagination behavior or what `limit` bounds, so it is not a 5.

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?

A single dense sentence that front-loads the resource and then the record contents, filters, and cost in descending order of importance. The parenthetical technique list is the only slightly heavy element, but it earns its place by teaching the agent what technique values exist.

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 usefully enumerates the return fields (date, amount stolen, chains, technique, bridge flag, funds returned, totals by technique) and discloses cost. The remaining gap is invocation mechanics — pagination and the meaning of `limit` — for a 4-parameter, 0-required-parameter tool.

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 only 25% — only `q` is documented in the schema — so the description must carry the load, and it partially does by mapping 'protocol' to q, 'chain' to chain, and 'period' to days. It never explains `limit` or the expected format for period/chain values, leaving one of four parameters and the value syntaxes undocumented.

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?

States a specific resource (a crypto hack/exploit incident database) and enumerates exactly what each record contains — date, amount stolen, chains, technique taxonomy, bridge flag, funds returned — which no sibling (defi_protocols, defi_tvl, report_defi) covers. An agent can tell instantly that this is historical exploit data, 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?

The phrase 'filterable by protocol, chain and period' implies how to use the tool, and 'totals by technique' hints at an aggregation mode. However, there is no explicit when-to-use guidance, no mention of what happens with no filters, and no comparison to any sibling tool that might serve a related need.

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