entropy-compute
normalized or conditional entropy from probability distributions or counts.
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
basestringrequireddistribution_parrayrequired — Primary probability distribution P (required for all modes). For "mutual" and "conditional", this is a flattened joint distribution matrix in row-major order.distribution_qarrayfrom_countsbooleanrequiredjoint_rowsintegermodestringrequired — Computation mode - "shannon": Shannon entropy H(X) from distribution P - "cross": Cross-entropy H(P,Q) from two distributions - "kl": KL divergence D_KL(P||Q) - "mutual": Mutual information I(X;Y) from joint distribution - "normalized": Normalized entropy H(X)/H_max in [0,1] - "conditional": Conditional entropy H(Y|X) from joint distribution
Example call
POST /api/mcp
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "station__entropy-calc__entropy-compute",
"arguments": {
"base": "",
"distribution_p": [],
"from_counts": false,
"mode": ""
}
}
}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-calc__entropy-compute/raw.md — this page's Markdown twin