shannon_hartley
Calculate maximum data rate for a given bandwidth and SNR, and validate whether throughput claims exceed the Shannon limit.
Instructions
Calculate Shannon-Hartley channel capacity and validate throughput claims.
Computes the theoretical maximum data rate C = B * log2(1 + SNR) for an AWGN channel. If a claimed throughput is provided, validates it against this limit. Any claim exceeding the Shannon limit is a physical impossibility.
Use this tool when you need to:
Calculate maximum achievable throughput for a given bandwidth and SNR
Validate whether a throughput claim is physically possible
Determine spectral efficiency limits
Check if a modulation/coding scheme claim is realistic
Returns a PhysicalViolationError dict when a claim exceeds the Shannon limit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bandwidth_hz": "<bandwidth_hz>"
},
"name": "shannon_hartley"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snr_db | No | Signal-to-noise ratio in dB. Provide this OR snr_linear. | |
| snr_linear | No | Signal-to-noise ratio (linear, not dB). Provide this OR snr_db. | |
| bandwidth_hz | Yes | Channel bandwidth in Hz (must be > 0) | |
| claimed_throughput_bps | No | Optional throughput claim to validate in bits/sec |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||