Skip to main content
Glama

link_check

Predict whether a LoRa link between two coordinates is reachable by modeling ITM terrain path loss, Fresnel clearance, received power, and margin over sensitivity.

Instructions

Will a LoRa radio at A reach B? ITM path loss over real terrain, received power, margin over sensitivity, first Fresnel zone clearance, obstructions and a verdict: reachable (margin >= 10 dB), marginal (0-10 dB) or unreachable. The preset gives defaults; explicit parameters override them.

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "link_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
presetNoRadio preset, e.g. meshtastic/US/LONG_FAST, meshtastic/EU_868/MEDIUM_FAST, meshtastic/ANZ/LONG_FAST (Chile, Australia, NZ), lorawan/AU915/DR2, meshcore/firmware_default. Default: meshtastic/US/LONG_FAST.
freq_mhzNoOverride the preset frequency (MHz)
height_a_mNoAntenna height above ground (m)
height_b_mNoAntenna height above ground (m)
tx_power_dbmNoOverride the preset TX power (dBm)
antenna_gain_a_dbiNoAntenna gain at A (dBi); default 2
antenna_gain_b_dbiNoAntenna gain at B (dBi); default 2

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description supplies substantial behavioral detail itself: the ITM model, real-terrain analysis, calculated link metrics, Fresnel clearance, obstructions, and concrete verdict thresholds. It does not disclose the terrain-data source or resolution, accuracy limitations, or operational costs, and its read-only nature is implied rather than stated.

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 front-loads the user-facing question, then compactly covers the method, outputs, decision thresholds, and override behavior. Its wording is dense but efficient, with no filler or repeated exposition.

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

Completeness4/5

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

For a nine-parameter propagation analysis, the method, reported factors, verdict criteria, and preset behavior are sufficient for informed selection and generally correct invocation; the output schema can carry the detailed return shape. Explicit sibling routing and caveats about terrain data or the predictive nature of the verdict would make it more complete.

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

Parameters3/5

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

The schema already documents most parameters, including coordinates, antenna heights and gains, frequencies, power, and individual preset overrides. The description usefully establishes A and B as link endpoints and states a general preset-versus-explicit-parameter precedence rule, but adds only modest parameter information beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening question and following sentence clearly identify a point-to-point LoRa reachability analysis between A and B, using ITM path loss over terrain and producing a link verdict. The A-to-B scope is specific, but the description does not explicitly distinguish it from coverage, elevation_profile, or suggest_repeater.

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

Usage Guidelines4/5

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

“Will a LoRa radio at A reach B?” gives a clear situation in which to use the tool. It provides no explicit when-not guidance or routing to siblings for area coverage, terrain-only profiles, or repeater placement.

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