compute
Compute information-theoretic entropy measures. Modes: shannon (H), cross (H_cross), kl (D_KL), mutual (MI), normalized (H_norm), conditional (H_Y|X). Supports from_counts for raw integers.
Taxonomy
Linnaean classification joined from the algovigilance taxonomy index via the parent config's rank.
| Rank | Value |
|---|---|
| domain | Substrata |
| kingdom | Constructa |
| phylum | Configa |
| class | station-config |
| order | entropy |
| family | mcp-tool-config |
Characteristics:
- substrate:
config - domain:
pv - lifecycle:
continuous - authority:
read - compounding:
producer - io:
agent-request→tool-response
Input schema
modestringrequired — shannon, cross, kl, mutual, normalized, or conditionaldistribution_parrayrequired — Primary probability distribution or countsdistribution_qarray — Secondary distribution (required for cross, kl)joint_rowsinteger — Row count for joint matrix (required for mutual, conditional)basestring — Log base: bits (default), nats, hartleysfrom_countsboolean — If true, normalize raw counts to probabilities
Example call
POST /api/mcp
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "station__entropy__compute",
"arguments": {
"mode": "",
"distribution_p": []
}
}
}How to invoke from a client
From any MCP-aware client, add https://algovigilance.com/api/mcp as an MCP server, then call this tool by name. From a raw HTTP client, send the JSON-RPC body above to /api/mcp.
Agent-friendly formats
Working inside an AI assistant? Use the Copy for AI button at the top of this page (or view the raw Markdown) to paste a clean, token-budgeted version of this tool's contract into your conversation.
Related
- All tools (3059 live)
- /api/mcp — endpoint
- /AGENTS.md — agent guide
- /tools/entropy__compute/raw.md — this page's Markdown twin