Skip to content

Deprecate default_val in property/explain answers: MikroTik does not publish defaults #267

Backlog

Description

@mobileskyfi

Part of the alignment umbrella (see sub-issue parent). Maintainer decision, 2026-12-01.

Why

MikroTik has said it doesn't plan to document RouterOS default values. routeros_lookup_property (and explain_command, which shares the path) still returns a default_val field:

  • Prose rows parsed Default: out of the old property tables, and those tables are disappearing. Table-linked prose properties went 3,357 (Sept) → 1,763 (0.12.1) → about 1,414 in the next build: the Bridging and CAPsMAN pages lost theirs on 2026-11-30/12-01.
  • CLI Reference rows always return default_val: null (src/query.ts, lookupCliRefProperty). When the CLI Reference states a default at all, it is free text inside the description (e.g. ageing-time … "Default: 00:05:00.").

A field that is almost always null wastes tokens and implies a value is missing that MikroTik never promised. Agents then spend effort explaining or chasing it.

Proposed

  • Deprecate default_val in the MCP/TUI property and explain answers. Omit it when null and say in the tool description that MikroTik does not publish defaults, so a default stated inside a description is verbatim prose, not a contract. Follow tool-surface-change / mcp-tool-descriptions (snapshots, TUI parity), and add a CHANGELOG Deprecated bullet.
  • Decide whether to remove the column from properties in a later schema bump or keep it for export consumers. Check rosetta export consumers first.
  • Do not parse Default: out of CLI Reference descriptions. That would turn incidental prose into a contract MikroTik declined to make. If observed defaults are wanted, they come from the research issue (CHR-observed, per version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions