Skip to main content
Glama

MagicON RF Design Engines

Run an over-the-air link budget

run_ota_link
Read-only

Compute a one-way over-the-air link budget — EIRP, free-space path loss (Friis), received power, link margin against receiver sensitivity, a closes/marginal/fails verdict, and the maximum range — using the SAME engine behind POST /api/ota-link/compute. Receiver sensitivity is reused from a prior link budget and transmit antenna gain/frequency from a prior antenna design when not given. FREE-SPACE ONLY: excludes rain, terrain, multipath and fading beyond the misc-loss and fade-margin inputs. Distance and misc loss are user assumptions, disclosed on the result. For the stage-by-stage cascade through one chain's parts (gain, noise figure, OIP3), use run_link_budget instead.

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": {
      "user_request": "<user_request>"
    },
    "name": "run_ota_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
rxNfDbNoReceiver noise figure (dB) — used to derive sensitivity when none is available.
txPowerWNoTransmit power in WATTS (pass 0.1 for 100 mW). PREFER this for W/mW inputs — the server converts to dBm. Do NOT convert yourself.
distanceMNoLink distance in METRES (pass 5000 for 5 km). USER ASSUMPTION.
rxGainDbiNoReceive antenna gain (dBi). Defaults to 0 (isotropic) — pass it when the far-end antenna is known.
txGainDbiNoTransmit antenna gain (dBi). Reused from a prior patch-antenna design if omitted.
miscLossDbNoMisc/implementation loss lump (dB): cables, connectors, pointing, polarization. USER ASSUMPTION. Default 0.
txPowerDbmNoTransmit power in dBm. Use ONLY when the user states dBm; otherwise pass txPowerW. Wins if both are given.
bandwidthHzNoReceiver noise bandwidth (Hz) — used to derive sensitivity.
fadeMarginDbNoFade margin required for the link to count as closing (dB). Default 0.
frequencyGhzNoCarrier frequency (GHz). Reused from a prior antenna design if omitted.
user_requestYesRequired: the end user's own words that prompted this call, verbatim. A figure not in them or in an earlier result is asked of the user (MCP elicitation), or refused.
requiredSnrDbNoDemodulation SNR required (dB) — used to derive sensitivity.
sensitivityDbmNoReceiver sensitivity (dBm). Reused from a prior link budget if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / user_request / description
      Previous value: -"The end user's own words that prompted this call, verbatim. Used to verify that the figures you pass were stated by your user rather than inferred. Omit it and the results will be labelled caller-asserted."New value: +"Required: the end user's own words that prompted this call, verbatim. A figure not in them or in an earlier result is asked of the user (MCP elicitation), or refused."
    • addedInput schema / required
      Added value: +[
      +  "user_request"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint=false, so the description carries most of the burden and does well: it ties the tool to the same engine as POST /api/ota-link/compute, discloses that distance and misc loss are user assumptions echoed on the result, and states that missing figures trigger elicitation or refusal. It stops short of describing result shape or how reuse is resolved if multiple priors exist.

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?

Front-loaded with the compute scope and outputs, then constraints, then the sibling route — a sensible order with no filler sentences. It is a single dense paragraph with heavy parenthetical enumeration, which costs some scannability for a 13-parameter tool.

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?

For a 13-parameter tool with no output schema, the description names the outputs the caller gets back and the verdict vocabulary, plus defaults and reuse rules for the optional inputs and the refusal path for user_request. Nothing an agent needs in order to call this correctly or interpret the result is missing.

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 100%, so the baseline is 3, but the description adds real decision value: txPowerW is preferred for W/mW inputs with server-side conversion, txPowerDbm wins if both are supplied, and sensitivity/txGain/frequency are reused when omitted. The user_request verbatim/refusal contract is also clarified as a precondition rather than a data field.

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?

States a specific verb ('Compute') and resource ('one-way over-the-air link budget') and enumerates the concrete outputs: EIRP, Friis path loss, received power, margin, verdict, max range. It explicitly names the sibling it differs from ('For the stage-by-stage cascade ... use run_link_budget instead'), so an agent can route without opening either schema.

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?

Gives explicit inclusion criteria (free-space only), explicit exclusions (no rain, terrain, multipath, fading beyond misc-loss and fade-margin), a named alternative for the cascade case, and the fallback behaviour when inputs are omitted (reuse from prior link budget / antenna design).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources