Skip to main content
Glama

MagicON RF Design Engines

Run a link budget

run_link_budget
Read-only

Compute a cascaded RF link budget. For the chain just designed, call with NO arguments — the server derives stages and input power from the design (after a receiver it returns that receiver's own cascade; a T/R module keeps no stage list, so it is refused). Pass stages only for a bench chain. Returns per-stage output power, cumulative gain, Friis cascaded NF, cascaded OIP3, P1dB headroom warnings and risk; with bandwidthHz also the receiver figures. For a link through the air between two antennas (EIRP, path loss, range), use run_ota_link 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_link_budget"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimsNoThe user's own figures to CHECK; each gets a row with ours, differenceDb and a verdict. Default tolerance: half the user's last digit.
stagesNoOrdered RF stages for a bench/hypothetical chain. Omit for a just-designed chain. Each stage may declare gainDB or lossDB (loss is treated as -|lossDB|), nfDB, oip3Dbm, p1dbDbm, and an authoritative outputPowerDbm that snap-seeds the cascade. Mark a mixer with mixerRole, plus nfSideband when the user or datasheet says which definition its nfDB uses.
bandwidthHzNoOptional receiver noise bandwidth in Hz; adds the thermal noise floor, MDS, SFDR and instantaneous dynamic range.
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.
inputPowerDbmNoInput power into the first stage, in dBm. Omit for a just-designed chain, or when the user states none (then output power, headroom and risk stay empty).
requiredSnrDbNoOptional SNR (dB) needed for detection. With bandwidthHz, gives sensitivity = MDS + this SNR.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / bandwidthHz / description
      Previous value: -"Optional receiver noise bandwidth in Hz. When given, the result adds the thermal noise floor, MDS, SFDR, and instantaneous dynamic range (a receiver figure of merit)."New value: +"Optional receiver noise bandwidth in Hz; adds the thermal noise floor, MDS, SFDR and instantaneous dynamic range."
    • changedInput schema / properties / claims / description
      Previous value: -"Figures the user brings to be CHECKED, each {figure, value, toleranceDb?}. The result adds a check row per claim: the engine's figure (ours), differenceDb (yours minus ours), the tolerance used and a verdict: matches, differs or not_computed. Without toleranceDb the tolerance is half the last digit the user gave (1.91 -> 0.005 dB)."New value: +"The user's own figures to CHECK; each gets a row with ours, differenceDb and a verdict. Default tolerance: half the user's last digit."
    • changedInput schema / properties / inputPowerDbm / description
      Previous value: -"Input power into the first stage, in dBm. Omit for a just-designed chain (derived from its power flow). For explicit stages, pass it ONLY when the user states one: omitted, the result gives the small-signal figures and leaves output power, P1dB headroom and risk empty."New value: +"Input power into the first stage, in dBm. Omit for a just-designed chain, or when the user states none (then output power, headroom and risk stay empty)."
    • changedInput schema / properties / requiredSnrDb / description
      Previous value: -"Optional SNR (dB) required for detection/demod. With bandwidthHz, yields receiver sensitivity = MDS + this SNR."New value: +"Optional SNR (dB) needed for detection. With bandwidthHz, gives sensitivity = MDS + this SNR."
    • changedInput schema / properties / stages / description
      Previous value: -"Ordered list of RF stages for a bench/hypothetical chain. Omit for a just-designed chain (derived server-side). Each stage may declare gainDB or lossDB (loss is treated as -|lossDB|), nfDB, oip3Dbm, p1dbDbm, and an authoritative outputPowerDbm that snap-seeds the cascade. Mark a mixer with mixerRole, plus nfSideband when the user or datasheet says which definition its nfDB uses."New value: +"Ordered RF stages for a bench/hypothetical chain. Omit for a just-designed chain. Each stage may declare gainDB or lossDB (loss is treated as -|lossDB|), nfDB, oip3Dbm, p1dbDbm, and an authoritative outputPowerDbm that snap-seeds the cascade. Mark a mixer with mixerRole, plus nfSideband when the user or datasheet says which definition its nfDB uses."
  2. Changed2 schema fields changed
    • addedInput schema / properties / claims
      Added value: +{
      +  "description": "Figures the user brings to be CHECKED, each {figure, value, toleranceDb?}. The result adds a check row per claim: the engine's figure (ours), differenceDb (yours minus ours), the tolerance used and a verdict: matches, differs or not_computed. Without toleranceDb the tolerance is half the last digit the user gave (1.91 -> 0.005 dB).",
      +  "items": {
      +    "properties": {
      +      "figure": {
      +        "enum": [
      +          "cascadedNfDB",
      +          "totalGainDB",
      +          "cascadedOip3Dbm",
      +          "finalOutputDbm",
      +          "noiseFloorDbm",
      +          "mdsDbm",
      +          "sensitivityDbm",
      +          "sfdrDb",
      +          "instantaneousDynamicRangeDb"
      +        ],
      +        "type": "string"
      +      },
      +      "toleranceDb": {
      +        "type": "number"
      +      },
      +      "value": {
      +        "type": "number"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / inputPowerDbm / description
      Previous value: -"Input power into the first stage, in dBm. Omit for a just-designed chain (derived from its power flow)."New value: +"Input power into the first stage, in dBm. Omit for a just-designed chain (derived from its power flow). For explicit stages, pass it ONLY when the user states one: omitted, the result gives the small-signal figures and leaves output power, P1dB headroom and risk empty."
  3. 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"
      +]
  4. Changed1 schema field changed
    • addedInput schema / properties / user_request / maxLength
      Added value: +4000
  5. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say readOnly/openWorld false; the description adds real behavior beyond that: the server derives stages and input power from the design, a receiver returns its own cascade, a T/R module is refused, and the result includes P1dB headroom warnings and risk. The conditional bandwidthHz behavior is also disclosed, none of which the annotations convey.

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?

Front-loaded with the core action, then the no-argument default, then the alternative tool. Every sentence carries operative information — even the nested parenthetical about receivers and T/R modules is decision-relevant, not filler.

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?

There is no output schema, and the description compensates by enumerating the returned quantities (per-stage output power, cumulative gain, Friis NF, cascaded OIP3, P1dB warnings/risk, plus receiver figures with bandwidthHz). For a six-parameter, high-complexity tool this leaves no significant gap for correct invocation.

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 already 100%, so the baseline is 3; the description still adds meaning by stating that stages are for a bench chain only and that bandwidthHz pulls in receiver figures. It does not explain the required user_request or the claims-checking block, leaving those to the 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?

Opens with a specific verb+resource: "Compute a cascaded RF link budget." It immediately distinguishes itself from the sibling chain-analysis tools by scoping to a cascaded RF chain and explicitly naming run_ota_link as the different tool for over-the-air links.

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 mode selection: call with NO arguments for a just-designed chain, pass stages only for a bench chain, and use run_ota_link for a link through the air between two antennas. It also names an exclusion case — a T/R module has no stage list and is refused — so the agent knows before calling.

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