Skip to main content
Glama
Hybrid Recursive Ladder

Hybrid Recursive Ladder

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HL_PG_DSNNoPostgreSQL connection string for the local point store.
HL_SOURCENoSelects the data source for the MCP server, for example "thingsboard". With no configuration the server serves demo data.
HL_TB_URLNoThingsBoard server URL used when configuring the ThingsBoard source.
HL_TB_TOKENNoThingsBoard authentication token used with HL_TB_URL.
HL_VERIFY_ON_READNoControls verification of covered ranges on mixed reads. Set to 0 to disable verification-on-read.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ladder_metaB

Return version, configuration, source/store type and demo range.

ladder_decomposeB

Decompose [start, end) into month/day/hour/minute ladder segments.

    Times accept ISO-8601 (``2026-01-01T00:00:00``) or epoch milliseconds.
    
ladder_sumB

Sum time series over a range.

    ``series`` items use ``{"entity": "...", "key": "...", "name": "..."}``
    (``device_id``/``device_name`` are accepted as aliases).  ``mode`` is
    ``tb`` (source only), ``mixed`` (local first) or ``local`` (offline).
    With no series, the built-in demo series are used.
    
ladder_verifyC

Compare the authoritative source with the local store.

    Returns per-segment differences and, for the first ``drill_limit``
    differing segments, point-level added/removed/changed counts.
    
ladder_calcA

Bucket [start, end) and compute one value per bucket.

    ``dimension`` is the bucket size (minute/hour/day/month, both edges
    must align to it) and ``rule`` is one of:

    * ``sum`` — bucket sum;
    * ``avg`` — bucket mean of sums/counts, row totals are means of means;
    * ``meter_delta`` — next bucket's first reading minus this bucket's;
      the last bucket reads one bucket past ``end``; missing anchors,
      repeated readings and meter resets come back as ``anomaly`` codes
      (``no_current_reading``, ``no_next_reading``, ``same_reading``,
      ``negative_delta``, ``non_numeric``) instead of values.

    ``mode`` is ``tb`` (source only), ``mixed`` (local first) or
    ``local`` (offline).
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 5 tools

Disambiguation3/5

ladder_verify, ladder_meta and ladder_decompose are clearly distinct, but ladder_sum and ladder_calc overlap heavily: calc with rule='sum' performs bucket sums over the same ranges, so 'sum my series' is genuinely ambiguous. The detailed descriptions (whole-range total vs per-bucket rules) mitigate this but don't eliminate the risk of misselection.

Naming Consistency4/5

All five tools share a clean ladder_ prefix with short action/role suffixes (meta, sum, decompose, verify, calc). The suffixes mix a noun (meta) with verbs, but the convention is readable and predictable.

Tool Count5/5

Five focused tools sits comfortably in the well-scoped range, each covering a distinct lifecycle stage of ladder aggregation: metadata, segmentation, summation, bucketed computation and source-vs-store verification.

Completeness3/5

Core computation and verification are covered, but there is no way to discover which entities/series exist (no list-series or entity enumeration tool), and verify reports drift with no corresponding sync/repair operation. These gaps force agents to guess series identifiers, a notable dead end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues