Skip to main content
Glama

Repair and merge radio logs

repair_log
Read-onlyIdempotent

Repair and merge ADI or ADX with deterministic code. Return before and after changes, validation issues, duplicates, conflicts and paged QSOs. Safe repairs trim spaces, derive bands and fix old mode names. Missing end times stay empty unless fillEnd is true, which copies the start time. UTC shifts require explicit minutes. Conflicting or near pairs require a decision. Small clean outputs include upload ADIF and a CSV report; export payloads above 4 MB are refused. No log data is stored. Free: 500 QSOs total, two logs. Pro: unlimited counts, subject to 32 MB input per run.

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": {
      "logs": "<logs>"
    },
    "name": "repair_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
logsYes
limitNo
rulesNo
offsetNo
targetNoadif
rule_idNo
pro_codeNoPrivate Log Mender Pro code. Authorization: Bearer also works. Never put it inside saved rules.
include_exportsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses that no log data is stored, that export payloads above 4 MB are refused, and that Pro is capped at 32 MB input per run. Free-tier limits (500 QSOs, two logs) and the deterministic-repair scope are exactly the operational facts an agent needs before committing a large run.

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?

Purpose is front-loaded and each following sentence adds a distinct fact — repair rules, edge cases, outputs, limits — with no filler. The density is high and a few clauses (e.g. the pricing/limit tail) could be grouped more cleanly, but nothing is redundant.

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 an 8-parameter tool with a nested rules object and no output schema, the description covers what is returned, the safety/privacy posture, size and quota ceilings, and the decision-required edge cases. An agent has enough to call it correctly and anticipate the main failure modes.

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?

With schema description coverage at only 13%, the description carries the parameter burden and does so for most of the important ones: fillEnd, trim, inferBand ("derive bands"), fixModes ("fix old mode names"), shifts/timeShiftMinutes ("require explicit minutes"), decisions, limit/offset ("paged QSOs"), and pro_code. It leaves case, dedupe, target's specific enum values, and rule_id implicit, so it is strong but not exhaustive.

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 first sentence gives a specific verb and resource ("Repair and merge ADI or ADX") plus the key qualifier that the work is done "with deterministic code," which separates it from an interpretive checker like check_log. The list of returned artifacts (before/after changes, validation issues, duplicates, conflicts, paged QSOs) further pins down what the tool produces.

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?

The description states the conditions that select specific behaviors — fillEnd for missing end times, explicit minutes for UTC shifts, and that "conflicting or near pairs require a decision" — which tells an agent when those paths apply. It does not name sibling tools or explicitly say when to prefer check_log or save_rules instead, so routing is only implied.

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.