Skip to main content
Glama

suggest_repeater

Find ranked repeater sites when two LoRa endpoints can't reach each other: search high points around the path and compare both hops with margins and verdicts.

Instructions

When A can't reach B: search high points around the path and return the best repeater sites, ranked by the weaker of the two hops (A->repeater, repeater->B), each with its margin and verdict.

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": "suggest_repeater"
  }
}

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.
height_a_mNoAntenna height above ground (m)
height_b_mNoAntenna height above ground (m)
max_resultsNo
search_radius_kmNoHow far from the A-B path to search (km); default ~half the link length, 2-20 km
repeater_height_mNoAntenna height above ground (m)

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 supplied, the description carries the burden and does reasonably well: it discloses that the search is localized around the A-B path, that results are ranked by the weaker hop, and that each result carries a margin and verdict. It leaves unstated that the operation is purely read-only/non-mutating and says nothing about cost or determinism of terrain lookups.

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?

A single dense sentence that front-loads the failure scenario and then the action and result format. No filler, no restatement of the title or name.

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 an 8-parameter analysis tool with an output schema, the description covers the purpose, search strategy, and ranking logic well enough to invoke correctly. It does not explain what a "margin" or "verdict" threshold means, but the output schema is present to absorb that detail.

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?

Schema description coverage is 63%, so most parameters are already documented in the schema. The description adds only indirect meaning ("search high points around the path" gestures at search_radius_km) and says nothing about preset, antenna heights, or repeater_height_m, so the baseline of 3 is appropriate.

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?

States a specific verb and resource ("search high points around the path and return the best repeater sites") and even explains the ranking criterion (weaker of the two hops). The framing "When A can't reach B" implicitly separates it from link_check, but no sibling is named explicitly, keeping it short of a 5.

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?

Opens with an explicit situational trigger: use this when a direct link between A and B fails. It gives no when-not guidance and does not name link_check as the tool to run first, so the agent must infer the ordering in the workflow from the scenario alone.

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