Skip to main content
Glama

shannon_hartley

Calculate maximum data transmission rates using the Shannon-Hartley theorem and validate throughput claims against physical limits for communication channels.

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.

Args: bandwidth_hz: Channel bandwidth in Hz (must be > 0) snr_linear: Signal-to-noise ratio (linear, not dB). Provide this OR snr_db. snr_db: Signal-to-noise ratio in dB. Provide this OR snr_linear. claimed_throughput_bps: Optional throughput claim to validate in bits/sec

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bandwidth_hzYes
snr_linearNo
snr_dbNo
claimed_throughput_bpsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behaviors: it explains the mathematical formula used, specifies that claims exceeding the Shannon limit are 'physical impossibility', and mentions the PhysicalViolationError return for invalid claims. It doesn't cover error handling for other cases or rate limits, but provides substantial behavioral context.

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?

The description is well-structured and front-loaded with the core purpose, followed by usage guidelines and parameter explanations. Every sentence earns its place by providing essential information without redundancy, making it efficient for an AI agent to parse.

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

Completeness5/5

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

Given the tool's mathematical nature, 4 parameters with 0% schema coverage, no annotations, but with an output schema mentioned, the description is complete. It explains the tool's purpose, usage, parameters, and even hints at output behavior (PhysicalViolationError), leaving the output schema to handle return value details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by explaining all parameters: bandwidth_hz ('Channel bandwidth in Hz'), snr_linear and snr_db (clarifying linear vs dB units and their mutual exclusivity), and claimed_throughput_bps ('Optional throughput claim to validate'). It adds crucial meaning beyond the bare schema.

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?

The description clearly states the tool's purpose with specific verbs ('Calculate Shannon-Hartley channel capacity', 'validate throughput claims') and distinguishes it from sibling tools like 'noise_floor' or 'rf_link_budget' by focusing on channel capacity calculations rather than noise analysis or link budgeting.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool through a bulleted list ('Calculate maximum achievable throughput', 'Validate whether a throughput claim is physically possible', etc.), clearly differentiating its use cases from potential alternatives without needing to name specific siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JonesRobM/physbound'

If you have feedback or need assistance with the MCP directory API, please join our Discord server