Skip to main content
Glama

bonferroni_audit

Read-only

Audit crypto backtests and multi-coin screener hits for multiple-testing false positives using Bonferroni adjustment, Wilson confidence bounds, and 2x slippage friction.

Instructions

Audit any crypto backtest or multi-coin screener hit against Bonferroni multiple-testing adjustment (1 - 0.05/m), Wilson confidence lower bounds, and 2x slippage friction.

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

Input Schema

NameRequiredDescriptionDefault
payoffRNo
coinsScannedNo
holdoutTradesNo
oneWayCostBpsNo
winningTradesNo
stopDistancePctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, non-destructive, closed-world, so the safety profile is covered. The description adds real behavioral context by naming the exact statistics computed (Bonferroni 1 - 0.05/m, Wilson lower bounds, 2x slippage), but it never says what the tool returns or how a verdict is expressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence with the core action front-loaded and no filler; each clause names a distinct computed check. It is efficient, though the formula parenthetical makes it slightly dense on first read.

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

Completeness2/5

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

Six optional parameters, no output schema, and no explanation of what an audit result looks like (pass/fail, adjusted p-value, confidence interval). For a read-only computation tool this is callable, but an agent cannot predict the response shape or how to interpret inputs like payoffR.

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 0%, so the description carries the full burden. The description compensates well: it ties the six parameters to the intended metrics — Bonferroni's m maps to coinsScanned, Wilson lower bounds to winningTrades/holdoutTrades, and 2x slippage friction to oneWayCostBps. Only payoffR and stopDistancePct remain unexplained, a minor gap for a six-parameter tool.

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 verb ("Audit") and a specific resource ("any crypto backtest or multi-coin screener hit"), then names the three methodologies applied. This lets an agent distinguish it from a screener or a slippage-reproduction sibling, though it never names an alternative explicitly.

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

Usage Guidelines2/5

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

There is an implied trigger in "audit any crypto backtest or multi-coin screener hit", but no statement of prerequisites, no when-not-to-use case, and no routing to the sibling tools such as kraken_falsification_brief or reproduce_5m_slippage_info, which plausibly overlap.

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