Skip to main content
Glama
Hybrid Recursive Ladder

Hybrid Recursive Ladder

Decompose a time range

ladder_decompose
Read-onlyIdempotent

Decompose a start/end time range into contiguous month/day/hour/minute ladder segments using ISO-8601 or epoch milliseconds, so long time-series ranges can be planned as calendar segments.

Instructions

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

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

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "ladder_decompose"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
finestNominute
timezoneNoAsia/Shanghai

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds the half-open interval convention [start, end) and accepted time formats, but it omits any mention of the timezone default (Asia/Shanghai), which materially changes segmentation boundaries, and says nothing about what happens with an empty or inverted range.

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?

Two short sentences, front-loaded with the core operation and followed by the input format note. No filler, though the second sentence could have been spent on the undocumented parameters instead of only formats.

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?

An output schema exists, so return values need not be described, and the interval and format conventions are stated. The remaining holes are the undefined 'finest' semantics and the unmentioned timezone default, which are meaningful but narrow for a 4-parameter read-only tool.

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 0%, so the description must compensate. It does explain start/end input formats (ISO-8601 or epoch ms) and the granularity ladder implied by the 'finest' parameter, but it never names 'finest' explicitly nor explains what the timezone parameter does or that it defaults to Asia/Shanghai — a behaviorally significant gap.

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 description names a specific verb ('Decompose') and resource ('[start, end)') and enumerates the granularity levels produced (month/day/hour/minute), which lets an agent distinguish it from siblings like ladder_calc or ladder_sum. The term 'ladder segments' is domain jargon left undefined, so the exact output shape is only partly inferable.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus ladder_calc, ladder_sum, ladder_verify, or ladder_meta, and no stated prerequisites or exclusions. The agent must infer usage purely from the verb.

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